feat(#4267): improve scorecard code-coverage module - #4271
feat(#4267): improve scorecard code-coverage module#4271fullsend-ai-coder[bot] wants to merge 1 commit into
Conversation
Missing ChangesetsThe following package(s) are changed by this PR but do not have a changeset:
See CONTRIBUTING.md for more information about how to add changesets. Changed Packages
|
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #4271 +/- ##
=======================================
Coverage 61.38% 61.38%
=======================================
Files 2520 2520
Lines 100936 100936
Branches 28304 28304
=======================================
Hits 61958 61958
Misses 38427 38427
Partials 551 551
*This pull request uses carry forward flags. Click here to find out more. Continue to review full report in Codecov by Harness.
🚀 New features to boost your workflow:
|
|
/fs-fix rebase and resolve conflicts |
|
🤖 Finished Fix · ✅ Success · Started 6:37 PM UTC · Completed 6:42 PM UTC Commit: |
Add documentation, demo data, and e2e tests for the scorecard code-coverage module. - Add "Importing data" section to the module README with curl examples for Cobertura XML and LCOV formats - Create examples/code-coverage/ with a demo Cobertura XML report and an import.sh script for one-command data seeding - Add Playwright e2e tests verifying all 8 code-coverage metrics (line/branch percentage, available, covered, missed) display correctly, metric values match mocked data, and empty state renders when no metrics are available - Add code-coverage metric provider schedule to app-config.yaml Backend-to-backend authentication was already implemented in #3476 using AuthService.getOwnServiceCredentials() and getPluginRequestToken(), verified by existing unit tests. E2e tests use route-intercepted mock responses (the standard pattern in this workspace) rather than live data import. The demo data in examples/code-coverage/ is available for manual import into a running Backstage instance. Closes #4267
🔧 Fix agent — iteration 1 (human-triggered)Rebased branch onto origin/main (46 new commits from main). Resolved one merge conflict in workspaces/scorecard/app-config.yaml by keeping both the catalog.requiredAttributes provider from main and the codeCoverage.coverageReport provider from this PR. Fixed (1):
Tests: passed Updated by fullsend fix agent |
929203b to
7828d90
Compare
|



Add documentation, demo data, and e2e tests for the scorecard code-coverage module.
examples for Cobertura XML and LCOV formats
and an import.sh script for one-command data seeding
(line/branch percentage, available, covered, missed) display
correctly, metric values match mocked data, and empty state
renders when no metrics are available
Backend-to-backend authentication was already implemented in #3476 using AuthService.getOwnServiceCredentials() and getPluginRequestToken(), verified by existing unit tests.
E2e tests use route-intercepted mock responses (the standard pattern in this workspace) rather than live data import. The demo data in examples/code-coverage/ is available for manual import into a running Backstage instance.
Closes #4267
Post-script verification
agent/4267-improve-code-coverage-module)71104e89659ff72714a434d7728f9e053c33885f..HEAD)