Skip to content

TS-45056 Class hot reloading detected and coverage dump fixed #881

Merged
DreierF merged 13 commits intomasterfrom
ts/45056_class_hot_reload_coverage_issue
Apr 15, 2026
Merged

TS-45056 Class hot reloading detected and coverage dump fixed #881
DreierF merged 13 commits intomasterfrom
ts/45056_class_hot_reload_coverage_issue

Conversation

@stahlbauer
Copy link
Copy Markdown
Contributor

@stahlbauer stahlbauer commented Apr 8, 2026

Addresses issue TS-45056

  • Changes are tested adequately
  • CHANGELOG.md updated

Please respect the vote of the Teamscale bot or flag irrelevant findings as tolerated or false positives. If you feel that the Teamscale config needs adjustment, please state so in a comment and discuss this with your reviewer.

Copy link
Copy Markdown
Contributor

@DreierF DreierF left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The approach looks good on the surface, but has some serious problems in some cases. I think we either need to more specifically detect the reload for individual jar files or at least ensure that if no duplicates is set, that the default warn does not crash the report generation, but just warn about the issue.

Comment thread agent/src/main/java/com/teamscale/jacoco/agent/Agent.java Outdated
Comment thread agent/src/main/java/com/teamscale/jacoco/agent/Agent.java Outdated
Comment thread agent/src/main/java/com/teamscale/jacoco/agent/Agent.java Outdated
@stahlbauer
Copy link
Copy Markdown
Contributor Author

@DreierF Thanks for the review. I guess these are the pitfalls of Agentic Coding. Now a variant where primarily the duplication-detection is kept alive by sharing the visitor instance.

Comment thread README.md Outdated
Comment thread agent/src/main/java/com/teamscale/jacoco/agent/Agent.java
Comment thread README.md
Comment thread CLAUDE.md
Comment thread agent/src/main/java/com/teamscale/jacoco/agent/Agent.java
@DreierF DreierF merged commit 0f0581f into master Apr 15, 2026
8 checks passed
@DreierF DreierF deleted the ts/45056_class_hot_reload_coverage_issue branch April 15, 2026 08:20
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