|
| 1 | +--- |
| 2 | +paths: |
| 3 | + - .github/workflows/test-smokes.yml |
| 4 | + - .github/workflows/test-smokes-built.yml |
| 5 | + - .github/workflows/test-smokes-parallel.yml |
| 6 | + - .github/workflows/test-ff-matrix.yml |
| 7 | + - .github/workflows/update-test-timing.yml |
| 8 | + - src/tools/github.ts |
| 9 | + - tests/test.ts |
| 10 | + - tests/gha-grouping.ts |
| 11 | + - tests/integration/playwright-tests.test.ts |
| 12 | + - tests/tools/check-gha-log.ts |
| 13 | + - tests/unit/check-gha-log.test.ts |
| 14 | + - tests/unit/gha-grouping.test.ts |
| 15 | + - tests/unit/github-actions-reporting.test.ts |
| 16 | + - tests/unit/harness-failure-reporting.test.ts |
| 17 | + - tests/unit/harness-reporting-fixture.ts |
| 18 | +--- |
| 19 | + |
| 20 | +# GitHub Actions test reporting |
| 21 | + |
| 22 | +`llm-docs/github-actions-test-reporting.md` is the deep dive. Read only the |
| 23 | +sections relevant to the edit: |
| 24 | + |
| 25 | +- Workflow ownership or environment wiring: "Ownership" and "Workflow contract". |
| 26 | +- Group opening, closing, or log validation: "Log grouping" and "Verification". |
| 27 | +- Annotations, labels, excerpts, or step summaries: "Failure reporting" and |
| 28 | + "Annotation budget and labels". |
| 29 | + |
| 30 | +For a trivial edit, the invariants below are sufficient. |
| 31 | + |
| 32 | +Keep these invariants: |
| 33 | + |
| 34 | +- A step has one group and annotation owner. Bucket loops set |
| 35 | + `QUARTO_TESTS_GHA_ORCHESTRATED=1`; otherwise the harness owns them. |
| 36 | +- Step-summary entries are emitted in both paths. |
| 37 | +- Failure lines and Deno's final failure sections remain outside groups. |
| 38 | +- The annotation count is step-wide; Deno module state is only per test file. |
| 39 | +- Every reusable-workflow call passes a `label-tag` that distinguishes same-OS |
| 40 | + jobs in the run summary. |
| 41 | +- Do not enable parallel test-file execution without redesigning grouping. |
0 commit comments