Yicong-Huang opened a new pull request, #5207:
URL: https://github.com/apache/texera/pull/5207
### What changes were proposed in this PR?
Enable Codecov Test Analytics for every stack we already upload coverage
from. Each stack now emits JUnit-XML alongside its existing coverage report,
and a second `codecov/codecov-action` step per job uploads it with
`report_type: test_results`.
- ScalaTest: `ThisBuild / Test / testOptions += -u target/test-reports` in
the root `build.sbt`.
- Vitest unit + browser configs: `reporters: ["default", ["junit", {
outputFile: ... }]]`.
- pytest (`python` job + `amber-integration` Python step): `--junit-xml=...`.
- `bun test` (`agent-service`): `--reporter=junit
--reporter-outfile=junit.xml`.
Test Analytics ingestion is independent of coverage and shares the same
`CODECOV_TOKEN`. Once landed, Codecov will start posting failing-test stack
traces on PRs, flagging tests that have gone flaky on `main`, and tracking
per-test runtime / failure-rate over time.
### Any related issues, documentation, discussions?
Closes #5206.
### How was this PR tested?
Ran `sbt scalafmtCheckAll` and `prettier --check` on the two modified
`vitest.*.config.ts` files locally; both pass.
### 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]