Skip to content

fix: restore Codecov slug to fix Repository not found error#3125

Merged
PierreBrisorgueil merged 1 commit intomasterfrom
fix/codecov-slug
Feb 18, 2026
Merged

fix: restore Codecov slug to fix Repository not found error#3125
PierreBrisorgueil merged 1 commit intomasterfrom
fix/codecov-slug

Conversation

@PierreBrisorgueil
Copy link
Contributor

Fix

Restores slug: pierreb-devkit/Node in the Codecov step.

Without it, codecov-action@v5 cannot resolve the repository and throws:
```
Upload failed: {"message":"Repository not found"}
```

Copilot AI review requested due to automatic review settings February 18, 2026 07:26
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR restores the slug parameter to the Codecov upload step in the CI workflow. The parameter is required by codecov-action@v5 to properly identify the repository when uploading coverage reports, preventing "Repository not found" errors.

Changes:

  • Adds slug: pierreb-devkit/Node to the Codecov upload configuration

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +34 to +38
- name: Upload coverage reports to Codecov
uses: codecov/codecov-action@v5
with:
token: ${{ secrets.CODECOV_TOKEN }}
slug: pierreb-devkit/Node
Copy link

Copilot AI Feb 18, 2026

Choose a reason for hiding this comment

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

The Codecov upload step is missing a condition to run only for Node 22.x. According to the codebase convention (see .github/workflows/CI.yml:13-38 in memory), coverage reports should be uploaded only for the Node 22.x run to avoid duplicate uploads from the matrix build. Add an if: matrix.node-version == '22.x' condition before the uses statement.

Copilot uses AI. Check for mistakes.
@PierreBrisorgueil PierreBrisorgueil merged commit 6f29519 into master Feb 18, 2026
17 checks passed
@codecov
Copy link

codecov bot commented Feb 18, 2026

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

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.

1 participant

Comments