Skip to content

ci(codecov): add coverage receipt artifact#1606

Merged
EffortlessSteven merged 1 commit into
mainfrom
chore/codecov-receipt
May 8, 2026
Merged

ci(codecov): add coverage receipt artifact#1606
EffortlessSteven merged 1 commit into
mainfrom
chore/codecov-receipt

Conversation

@EffortlessSteven
Copy link
Copy Markdown
Member

Summary

Adds step 5 of the diffguard Codecov rollout: coverage receipt artifact and step summary for durable proof and artifact reporting.

CI economics

  • Default PR LEM impact: None; adds a step to the coverage job.
  • Workflow touched: Updates .github/workflows/coverage.yml to include receipt generation and step summary.
  • Branch protection impact: None; adds reporting, not requirements.
  • Failure mode caught: Detects when coverage artifacts are missing or incomplete.
  • Cheaper signal considered: Receipt is a few KiB of JSON; cheaper than uploading raw reports externally.
  • Rollback path: Remove the receipt generation and summary steps; Codecov still works normally.

Claim boundary

Codecov coverage is Rust execution-surface evidence only. It does not prove:

  • diff parser correctness
  • rule evaluation correctness
  • inline suppression correctness
  • renderer completeness (SARIF, JUnit, Checkstyle, GitLab, CSV, TSV, sensor)
  • LSP diagnostic correctness
  • false-positive baseline or trend correctness
  • mutation adequacy
  • fuzz robustness
  • release readiness

Those are separate proof lanes (test, conformance, golden, mutation, fuzz).

Enhancements

  1. Coverage receipt: target/coverage/coverage-receipt.json

    • Documents the claim boundary explicitly
    • Lists which artifacts were generated
    • Schema version for future evolution
  2. Artifact updates:

    • Includes coverage-receipt.json in the uploaded artifacts
    • 14-day retention for analysis and troubleshooting
  3. Step summary:

    • GitHub Actions native artifact reporting via $GITHUB_STEP_SUMMARY
    • Clear table of artifact status
    • Explicit claim boundary inline

Validation

  • receipt generation is idempotent and JSON-valid
  • receipt includes all required fields (schema_version, repo, lane, tool, flag, claim_boundary)
  • step summary renders correctly in GitHub UI
  • artifacts are uploaded with correct paths
  • no trailing whitespace or formatting issues

Generated by Claude Code

Enhances .github/workflows/coverage.yml with:

1. Coverage receipt generation: target/coverage/coverage-receipt.json
   - Documents claim boundary explicitly
   - Lists which artifacts were generated
   - Schema version for future evolution

2. Artifact updates:
   - Includes coverage-receipt.json in the artifact upload
   - 14-day retention for analysis and troubleshooting

3. Step summary:
   - GitHub Actions native artifact reporting
   - Clear table showing which artifacts are present
   - Explicit claim boundary in summary

The receipt is a durable proof object that documents what Codecov
execution-surface evidence does and does not claim.

Codecov claim boundary: Rust execution-surface evidence only.
Does not prove diff parser, rule evaluation, suppression, renderer, LSP,
baseline, mutation, fuzz, or release correctness.

https://claude.ai/code/session_01VboXJ243Rjf8hJFzcdVJWE
@gemini-code-assist
Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented May 7, 2026

Warning

Rate limit exceeded

@EffortlessSteven has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 3 minutes and 58 seconds before requesting another review.

You’ve run out of usage credits. Purchase more in the billing tab.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: ASSERTIVE

Plan: Pro

Run ID: 1fc9058d-54b8-4849-b8b3-86d3511705d5

📥 Commits

Reviewing files that changed from the base of the PR and between 3e1d9e1 and a2401bf.

📒 Files selected for processing (1)
  • .github/workflows/coverage.yml
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch chore/codecov-receipt

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@EffortlessSteven EffortlessSteven marked this pull request as ready for review May 8, 2026 00:16
@gemini-code-assist
Copy link
Copy Markdown

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.
To continue using code reviews, add credits to your account and enable them for code reviews in your settings.

@EffortlessSteven EffortlessSteven merged commit 3259f87 into main May 8, 2026
11 checks passed
@EffortlessSteven EffortlessSteven deleted the chore/codecov-receipt branch May 8, 2026 00:19
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