Yicong-Huang opened a new pull request, #4646: URL: https://github.com/apache/texera/pull/4646
### What changes were proposed in this PR? Wire each Build stack up to Codecov so every PR and main push shows a coverage report. Phase 1: tokenless upload only — no PR comments, no status check, no quality gates yet. Per-stack changes in `build.yml`: | stack | test command change | report uploaded | |---|---|---| | frontend | `yarn test:ci --code-coverage` | `./frontend/coverage/**/lcov.info` (ubuntu only) | | scala | `sbt coverage test coverageReport` (was `sbt test`) | `./**/scoverage-report/scoverage.xml` | | python | `pytest --cov=. --cov-report=xml -sv` | `./amber/src/main/python/coverage.xml` (3.12 only) | | agent-service | `bun test --coverage --coverage-reporter=lcov` | `./agent-service/coverage/lcov.info` (ubuntu only) | `project/plugins.sbt`: add `sbt-scoverage` 2.0.12 (Scala-native coverage; emits Cobertura XML). `pytest-cov` is installed after the LICENSE-binary `pip-licenses` snapshot step, so it does not appear in the python license check. Adding it to `amber/requirements.txt` would have failed the binding license check. Each upload uses `codecov/codecov-action` pinned to v5.5.4 (`75cd11691c0faa626561e295848008c8a7dddffe`) per the [ASF GitHub Actions policy](https://infra.apache.org/github-actions-policy.html) on third-party actions, and `fail_ci_if_error: false` so a transient Codecov outage does not turn the Build red. ### Any related issues, documentation, discussions? Closes #4645. Phase 2 (separate task, deferred) opens an INFRA ticket to add `CODECOV_TOKEN`, which unlocks PR diff-coverage comments, commit status, and `codecov.yml` quality-gate enforcement. Other ASF projects using this pattern: [apache/airflow](https://app.codecov.io/gh/apache/airflow/branch/main) (with self-fork [`apache/airflow-codecov-action`](https://github.com/apache/airflow-codecov-action)), [NIFI-13210](https://issues.apache.org/jira/browse/NIFI-13210), [INFRA-21474 (Superset)](https://issues.apache.org/jira/browse/INFRA-21474), [INFRA-19493](https://issues.apache.org/jira/browse/INFRA-19493). ### How was this PR tested? Will be exercised by this PR's own scala/python/frontend/agent-service matrix on CI. The first run on `main` after merge will populate the Codecov baseline; subsequent PRs auto-compare and post a diff in the dashboard at https://app.codecov.io/gh/apache/texera (after the org/repo is registered there — Codecov auto-onboards public repos on first upload). ### Was this PR authored or co-authored using generative AI tooling? Generated-by: Claude Opus 4.7 -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
