Skip to content

TS-38628 Codebase Cleanup#912

Merged
DreierF merged 10 commits into
masterfrom
ts/38628_kotlin_refactor
Jun 8, 2026
Merged

TS-38628 Codebase Cleanup#912
DreierF merged 10 commits into
masterfrom
ts/38628_kotlin_refactor

Conversation

@Avanatiker

Copy link
Copy Markdown
Member

DEFAULT_EXCLUDES — added com.teamscale.:kotlin. to prevent agent self-instrumentation
locationIncludeFilter — computed getter → by lazy (was recompiling WildcardMatcher on every access)
ClasspathWildcardIncludeFilter.getClassName() — cached Regex, JavaNames, and results via ConcurrentHashMap
AgentResource / TestwiseCoverageResource / ResourceBase — mutable companion object state → constructor injection
RevisionInfo / ERevisionType — enum + nullable field → sealed class with Commit/Revision variants
ITestDescriptorResolver — Optional return types → String? throughout 10 files
TeamscaleCredentials, FileCoverage, PathCoverage — class → data class
Gradle plugin — suppressed deprecation warnings, added missing jacoco.core dependency
Kotlin version — 2.3.21 → 2.3.20 (matches Gradle's embedded version)

@Avanatiker Avanatiker changed the title Ts/38628 kotlin refactor TS-38628 Codebase Cleanup May 28, 2026
@Avanatiker Avanatiker requested a review from DreierF May 28, 2026 14:13
Comment thread gradle/libs.versions.toml Outdated
Comment thread agent/src/main/kotlin/com/teamscale/jacoco/agent/LenientCoverageTransformer.kt Outdated
@Avanatiker Avanatiker requested a review from DreierF June 6, 2026 00:48
@DreierF DreierF enabled auto-merge June 8, 2026 06:22
@DreierF DreierF merged commit bce3722 into master Jun 8, 2026
3 of 4 checks passed
@DreierF DreierF deleted the ts/38628_kotlin_refactor branch June 8, 2026 07:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants