Skip to content

fix: correct Codecov configuration for full module coverage#486

Merged
edeandrea merged 2 commits into
docling-project:mainfrom
edeandrea:fix-codecov-config
May 5, 2026
Merged

fix: correct Codecov configuration for full module coverage#486
edeandrea merged 2 commits into
docling-project:mainfrom
edeandrea:fix-codecov-config

Conversation

@edeandrea

Copy link
Copy Markdown
Contributor

Summary

  • Fix wrong path for docling-version-tests project status (docling/testing/...docling-testing/...) which prevented Codecov from mapping coverage to this module
  • Remove overly broad ignore rules that excluded docling-testcontainers/** and docling-testing/** from all coverage analysis, conflicting with their project status entries
  • Add after_n_builds: 3 so Codecov waits for all 3 Java version uploads before computing coverage, preventing fluctuating coverage numbers across commits
  • Define java17/java21/java25 flags with carryforward: true for per-Java-version coverage tracking on the dashboard and in PR comments

Test plan

  • Verify CI passes and all 3 prepare-test-reports jobs upload coverage successfully
  • Check Codecov dashboard shows all 5 modules: docling-core, docling-serve-api, docling-serve-client, docling-testcontainers, docling-version-tests
  • Verify PR comment includes per-flag (java17/java21/java25) coverage breakdown
  • Confirm the "error processing coverage reports" message no longer appears
  • Monitor subsequent commits to verify coverage no longer fluctuates

Copilot AI review requested due to automatic review settings May 5, 2026 16:47
@edeandrea edeandrea force-pushed the fix-codecov-config branch from e25395d to 51b85c9 Compare May 5, 2026 16:49
@edeandrea edeandrea changed the title fix(ci): correct Codecov configuration for full module coverage fix: correct Codecov configuration for full module coverage May 5, 2026
edeandrea added 2 commits May 5, 2026 12:51
- Fix wrong path for docling-version-tests (docling/testing → docling-testing)
- Remove overly broad ignore rules that excluded docling-testcontainers
  and docling-testing from all coverage analysis
- Add after_n_builds: 3 to wait for all Java version uploads before
  computing coverage, preventing fluctuating coverage numbers
- Define java17/java21/java25 flags with carryforward support for
  per-Java-version coverage tracking on the dashboard

Assisted-By: Claude Code <noreply@anthropic.com>
Signed-off-by: Eric Deandrea <eric.deandrea@ibm.com>
Assisted-By: Claude Code <noreply@anthropic.com>
Signed-off-by: Eric Deandrea <eric.deandrea@ibm.com>
@edeandrea edeandrea force-pushed the fix-codecov-config branch from 51b85c9 to f18b396 Compare May 5, 2026 16:52
@edeandrea edeandrea enabled auto-merge (squash) May 5, 2026 16:52
@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown

:java_duke: JaCoCo coverage report

Overall Project 47.33% 🔴

There is no coverage information present for the Files changed

@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown
TestsPassed ✅SkippedFailed
Gradle Test Results (all modules & JDKs)1002 ran1002 passed0 skipped0 failed
TestResult
No test annotations available

@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown

HTML test reports are available as workflow artifacts (zipped HTML).

• Download: Artifacts for this run

@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown

HTML test reports are available as workflow artifacts (zipped HTML).

• Download: Artifacts for this run

@edeandrea edeandrea merged commit bbdf980 into docling-project:main May 5, 2026
21 checks passed
@github-actions

github-actions Bot commented May 5, 2026

Copy link
Copy Markdown

HTML test reports are available as workflow artifacts (zipped HTML).

• Download: Artifacts for this run

@edeandrea edeandrea removed the request for review from Copilot May 5, 2026 17:21
@docling-java-ops

Copy link
Copy Markdown
Contributor

🎉 This issue has been resolved in v0.5.3 (Release Notes)

@docling-java-ops docling-java-ops Bot added the released Issue has been released label Jun 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

released Issue has been released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant