The GitHub Actions job "Release Auditing" on texera.git/main has succeeded.
Run started by GitHub user Yicong-Huang (triggered by Yicong-Huang).

Head commit for run:
1780287a6f5bfa3243cd0c192b1c933c3b834ca9 / Yicong Huang 
<[email protected]>
fix(ci): wire CODECOV_TOKEN to coverage uploads (Phase 2 of #4645) (#4666)

### What changes were proposed in this PR?

Phase 2 of #4645. Pass `token: ${{ secrets.CODECOV_TOKEN }}` to all four
`codecov/codecov-action` invocations in `.github/workflows/build.yml`
(frontend, scala, python, agent-service).

```diff
       - name: Upload <stack> coverage to Codecov
         uses: codecov/codecov-action@75cd11691c0faa626561e295848008c8a7dddffe 
# v5.5.4
         with:
+          token: ${{ secrets.CODECOV_TOKEN }}
           files: ...
           flags: <stack>
           fail_ci_if_error: false
```

The token has been added as a repo secret. Phase 1 deferred this on the
assumption that the tokenless flow was sufficient; in practice Codecov
rejects tokenless uploads on protected default branches
(`{"message":"Token required because branch is protected"}`), which has
been silent because `fail_ci_if_error: false`.

### Any related issues, documentation, discussions?

Closes #4665. Follow-up to #4645.

### How was this PR tested?

Will be verified post-merge: a new commit on `main` should appear at
https://app.codecov.io/gh/apache/texera/branch/main with a coverage
report (currently 404 — no main commit has ever produced a report).

### Was this PR authored or co-authored using generative AI tooling?

Generated-by: Claude Code (Opus 4.7, 1M context)

Co-authored-by: Yicong Huang <[email protected]>
Co-authored-by: Claude Opus 4.7 (1M context) <[email protected]>

Report URL: https://github.com/apache/texera/actions/runs/25247867737

With regards,
GitHub Actions via GitBox

Reply via email to