Skip to content

fix: restore coverage uploads and large PR reviews - #406

Merged
Troublor merged 2 commits into
mainfrom
william/ci/codecov-oidc
Oct 21, 2026
Merged

Troublor merged 2 commits into
mainfrom
william/ci/codecov-oidc

Conversation

@Troublor

@Troublor Troublor commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Coverage jobs currently pass even though Codecov rejects uploads with Token required because branch is protected: CODECOV_TOKEN is absent. Authenticate the coverage upload with GitHub OIDC, grant ID-token permission only to the coverage job, and fail the job when upload fails. Disable checkout credential persistence in that job.

Review preparation also fails with HTTP 406 for PRs above GitHub's 300-file diff limit. Pin the review action to megaeth-labs/.github#48, which adds a complete Git diff fallback and forwards the configured App identity to analysis. Pin the verified App-token action revision supporting client-id.

Validation

  • actionlint with ShellCheck errors enabled and git diff --check passed for both modified workflows.
  • Verified the pinned App action accepts client-id and the shared review fix has passing CI.
  • Coverage passed: GitHub OIDC authentication succeeded, Codecov accepted the upload with HTTP 200, and both Codecov project/patch checks passed.
  • The pinned review action completed successfully.
  • Build/test, Rust lint, no_std, documentation lint, labels, and mutation checks passed. Actions/Python CodeQL passed; Rust CodeQL is still running.

No repository or organization secrets/variables need to be added or changed. Existing publish-environment CARGO_REGISTRY_TOKEN and GCP_AUTH_KEY remain required for releases; credential validity has not been rehearsed here.

Copilot AI balanced review requested due to automatic review settings October 21, 2026 13:13
@Troublor Troublor added spec:unchanged No change to any `mega-evm`'s behavior comp:misc Changes to the miscellaneous part of this repo api:unchanged No change to the public interface or API labels Oct 21, 2026
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-21T13:15:25.969549Z 0f13634 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@mega-maxwell

mega-maxwell Bot commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

Claude review status

Living comment — rewritten in place. The review workflow keeps this single comment up to date instead of posting a new one each round, so it always describes the latest reviewed commit and the earlier text is intentionally gone. No reply is needed here; reply to a finding in its own review thread, and answer an open question in a reply on this PR. The next review round reconciles your answer.

✅ Review clean

Last reviewed: head 0f136348 · updated 2026-10-21T13:17:26+00:00

New this round: 0 finding(s), 0 question(s) · Resolved this round: 0 · Open questions: 0

@github-actions

Copy link
Copy Markdown

🧬 Mutation testing — ✅ PASS

Nothing to test — no mutants were generated on the changed lines.

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

🟢 Approval recommended

No blocking issues were identified, and the action interfaces support these changes; workflow execution remains pending.

No open issues 🎉

What changed in this PR

Restores authenticated coverage uploads and enables automated reviews for PRs exceeding GitHub’s 300-file diff limit.

Changes:

  • Uses Codecov OIDC with job-scoped permissions, fails on upload errors, and disables checkout credential persistence.
  • Pins the review and App-token actions to verified revisions.
File Description
.github/​workflows/​coverage.yml Configures OIDC authentication and strict upload failure handling.
.github/​workflows/​claude.yml Pins actions supporting large-PR diffs and App identity forwarding.

Review effort: Balanced

@github-actions

Copy link
Copy Markdown

🧬 Mutation testing

No results at target/mutants/mutants.out — nothing was mutated (e.g. no mutatable changes).

@Troublor
Troublor merged commit 821577d into main Oct 21, 2026
46 checks passed
@Troublor
Troublor deleted the william/ci/codecov-oidc branch October 21, 2026 13:39
RealiCZ pushed a commit that referenced this pull request Oct 22, 2026
(cherry picked from commit 821577d)

Conflict resolution:
- .github/workflows/claude.yml: main's version, unchanged.
- .github/workflows/coverage.yml: this branch's version, which already
  uploads over OIDC with fail_ci_if_error, continue-on-error and a
  warning step, and triggers on satin; main's persist-credentials: false
  is added to its checkout step.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

api:unchanged No change to the public interface or API comp:misc Changes to the miscellaneous part of this repo spec:unchanged No change to any `mega-evm`'s behavior

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants