Skip to content

ci: authenticate Codecov uploads with action v7 - #722

Merged
gjbkz merged 3 commits into
mainfrom
fix/codecov-token-upload
Oct 11, 2026
Merged

gjbkz merged 3 commits into
mainfrom
fix/codecov-token-upload

Conversation

@gjbkz

@gjbkz gjbkz commented Oct 11, 2026 •

Copy link
Copy Markdown
Member

Codecov's tokenless v3 uploads return HTTP 429 while the action exits successfully. Upgrade only the upload step to codecov/codecov-action@v7 and pass secrets.CODECOV_TOKEN, matching nlibjs/changelog.

Coverage generation, all other steps, and the Node/OS matrix are unchanged. Stacked on #720; merge after #713 → #714 → #720.

Validation: latest PR CI passed all 10 jobs (lint and the Linux/macOS/Windows × Node 22/24/26 test matrix). After CODECOV_TOKEN was configured, all nine test-job upload logs confirm the upload was queued for processing, with no HTTP 429 or upload failure. Coverage maps back to the original .mts sources.

Codecov posted a PR report showing 95.00% coverage across eight files; codecov/project and codecov/patch both pass. The report notes that the stack's base commit (#720) has no uploaded baseline, so a before/after coverage comparison is unavailable.

A commit with the same tree retriggered the full CI matrix after secret configuration; the PR's file diff remains limited to the specified Codecov upload step.

Closes #721

@codecov

codecov Bot commented Oct 11, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.00%. Comparing base (4a68f67) to head (68a0a48).
⚠️ Report is 4 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #722   +/-   ##
=======================================
  Coverage   95.00%   95.00%           
=======================================
  Files           8        8           
  Lines         260      260           
  Branches       42       42           
=======================================
  Hits          247      247           
  Misses         12       12           
  Partials        1        1           

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Base automatically changed from deps/consolidate-renovate-packages to main October 11, 2026 14:34
@gjbkz
gjbkz enabled auto-merge October 11, 2026 14:35
@gjbkz
gjbkz merged commit 6f4e7ef into main Oct 11, 2026
22 checks passed
@gjbkz
gjbkz deleted the fix/codecov-token-upload branch October 11, 2026 14:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

ci: upload coverage to Codecov with the repository token

1 participant