Skip to content

TS-46135: Fix coverage aggregation skipped when tests fail#885

Open
DreierF wants to merge 1 commit intomasterfrom
ts/46135_coverage_aggregation_test_fail
Open

TS-46135: Fix coverage aggregation skipped when tests fail#885
DreierF wants to merge 1 commit intomasterfrom
ts/46135_coverage_aggregation_test_fail

Conversation

@DreierF
Copy link
Copy Markdown
Contributor

@DreierF DreierF commented Apr 22, 2026

Remove explicit dependsOn(buildDependencies) calls from CompactCoverageAggregationPlugin. The implicit dependency through @InputFiles on executionData/classDirectories is sufficient for task ordering and, unlike explicit dependsOn, does not block the aggregation task when a test task fails with --continue.

This matches the pattern used by Gradle's official jacoco-report-aggregation plugin.

Addresses issue TS-46135

  • Changes are tested adequately
  • Teamscale documentation updated in case of user-visible changes
  • CHANGELOG.md updated
  • Present new features in N&N
  • TGA Tutorial updated
  • TIA Tutorial 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.

…tinue

Remove explicit dependsOn(buildDependencies) calls from
CompactCoverageAggregationPlugin. The implicit dependency through
@InputFiles on executionData/classDirectories is sufficient for task
ordering and, unlike explicit dependsOn, does not block the aggregation
task when a test task fails with --continue.

This matches the pattern used by Gradle's official
jacoco-report-aggregation plugin.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@DreierF DreierF force-pushed the ts/46135_coverage_aggregation_test_fail branch from ec349b1 to 9022074 Compare April 22, 2026 15:24
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.

1 participant