You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit a162b63
Browse filesBrowse the repository at this point in the historyBrowse files
feat: per-cell build counters on PyTorch/JAX status.json summary (#125)
## Motivation
Closes#124. PyTorch and JAX build each Python x framework version as a
separate matrix cell. The `summary` build only carried a worst-of
`status`, so one failed cell hid how many of the others had built.
`test` already carries per-status counters; the PyTorch and JAX `build`
now carries them too.
## Technical Details
- The PyTorch and JAX `summary.<platform>.<pipeline>.build` carries
`success`, `failure`, `in_progress`, `cancelled` and `skipped` counts,
one per matrix cell, next to the existing worst-of `status` (unchanged).
They are computed by `_build_rollup` and stored as optional fields on
`BuildRollup`.
- `rocm` and `native_packages` are single builds, so their `build` stays
a bare `status` with no counters.
- The counters are optional. Consumers must handle their absence,
because documents written before schema 2.2 do not have them.
- `schema_version` goes from 2.1 to 2.2. This is a backward-compatible
minor addition. Existing 2.x documents are restamped to 2.2 on the next
write, using the migration already in place since 2.1.
- All five counters are kept for parity with `test`. In practice
`skipped`, and usually `cancelled`, stay 0: a fully skipped matrix
records no cells, so it shows up only in the build's `status`.
- Docs: the `README.md` overview, `status_json_reference.jsonc` and the
changelog describe the counters and that they are optional.
## Test Plan
Unit tests in `therock_summary_test.py`:
- per-cell counts for PyTorch and JAX, covering all five statuses
- the exact on-disk dict
- rocm, native packages and unreported placeholders carry no counters
## Test Result
Tests pass.
## Submission Checklist
- [ ] Look over the contributing guidelines at
https://github.com/ROCm/TheRock/blob/main/GOVERNANCE.md#pull-requests.
---------
Co-authored-by: Laura Promberger <laura.promberger@amd.com>
"rocm_version": "7.13.0a20260408", // the release version; an ASAN document keeps its `.asan` / `+asan` package marker (e.g. "7.13.0a20260408+asan") but is filed under the same folder as the release build
25
25
"build_date": "20260408", // the date the owning release orchestrator run was created (a newer run taking over the document restamps it; later child runs never move it); for nightly-bkc this is the bkc run date, not the nightly date the build was cut from
0 commit comments