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 65cda64
Browse filesBrowse the repository at this point in the historyBrowse files
## Motivation
Closes#108.
Merge only after rockrel/TheRock are wired
ASAN releases currently have nowhere to land. Since #77 they are
recognised and
then deliberately dropped, so an ASAN nightly produces no published
status at
all. PR depends and is based on top of #102
This gives every build variant its own document and its own pointers, so
ASAN
results are published without a release build and an ASAN build ever
being able
to overwrite one another.
## Technical Details
**Per-variant documents.** `_StatusDocumentKind` keys a document by
build
variant, with the member value doubling as the filename suffix (`""` for
`release`, `"-asan"` for ASAN).
**Per-variant pointers.** `_pointer_filename` applies the same suffix to
every
`latest` / `latest_good` pointer, across nightly, nightly-bkc (including
the
top-level cross-version pointers) and prerelease. The resulting tree is
the one
in the issue.
**Finalization.** `FINALIZING_PHASES` now includes `release-asan`, so
the ASAN
orchestrator owns and finalizes its own document.
**Tracking id.** `quartz_tracking_id` is extended to
`<run_id>;<release_type>;<build_variant>`.
`build_pytorch: false` and `build_jax: false` *are* passed to the
setup job, so PyTorch and JAX alreadyrender `skipped` and will
not hold the ASAN rollup at `in_progress`.
## Test Plan
- 16 new tests covering document selection per variant, pointer naming
across
all three release tiers, independent finalization of the release and
ASAN
documents, rejection of unregistered sanitizer families, rejection of
ASAN
leaves against a normally-owned document, and the publication gate.
## Test Result
580 passed
## Submission Checklist
- [ ] Look over the contributing guidelines at
https://github.com/ROCm/TheRock/blob/main/GOVERNANCE.md#pull-requests.
Copy file name to clipboardExpand all lines: docs/status-json/README.md
+45-26Lines changed: 45 additions & 26 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -52,6 +52,7 @@ directly to keys in the document:
52
52
|**architecture**| A GPU target, for example `gfx942` or `gfx1201` (the same identifiers ROCm uses). |
53
53
|**pipeline**| One product built from a release: `rocm` (the ROCm stack itself), `pytorch`, `jax`, and `native_packages`. A release can produce several. |
54
54
|**phase**| A stage of a pipeline: `build` and `test`. For `native_packages`, `rpm` or `deb` instead. |
55
+
|**build variant**| The release flavor, `release` or `asan-debug`. It selects the document: `status.json` for `release`, `status_<build_variant>.json` otherwise. |
55
56
|**variant**| For PyTorch/JAX, one cell of the version matrix (for example Python 3.12 with a given Torch branch). Relevant only to consumers of PyTorch/JAX detail. |
56
57
57
58
Not every pipeline runs on every platform, and `native_packages` is a special
@@ -70,36 +71,53 @@ below.
70
71
71
72
## Endpoints
72
73
73
-
Quartz publishes one `status.json` per release build (nightly/nightly-bkc/prerelease), plus stable pointers to the
|`nightly/<date>/status.json`| A specific nightly, for example `nightly/20260707/status.json`|
79
-
|`nightly/latest.json`| The most recent nightly (any result, including still in progress) |
80
-
|`nightly/latest_good.json`| The most recent fully-passing nightly |
81
-
|`nightly-bkc/<nightly-version>/<bkc-date>/status.json`| A specific bkc nightly, for example `nightly-bkc/10.1.0a20260825/20260831/status.json`|
82
-
|`nightly-bkc/<nightly-version>/latest.json`| The most recent bkc nightly for that nightly version (any result, including still in progress) |
83
-
|`nightly-bkc/<nightly-version>/latest_good.json`| The most recent fully-passing bkc nightly for that nightly version |
84
-
|`nightly-bkc/latest.json`| The most recent build of the highest bkc nightly version (by version number, not build date) |
85
-
|`nightly-bkc/latest_good.json`| The highest-versioned fully-passing bkc build (may trail `latest.json` when the highest nightly version is not green) |
86
-
|`prerelease/<major.minor>/<full>/status.json`| A specific prerelease, for example `prerelease/7.14/7.14.0rc1/status.json`|
87
-
|`prerelease/latest.json`| The highest-versioned prerelease across all release lines (by version number, not build date) |
88
-
|`prerelease/<major.minor>/latest.json`| The highest-versioned prerelease in one release line, e.g. `prerelease/7.14/latest.json`|
74
+
Quartz publishes one document per build variant, all sharing the same schema:
75
+
`status.json` for the release build and `status_asan-debug.json` for the ASAN
76
+
build. Each variant has its own `latest` / `latest_good` pointers (for example
77
+
`latest.json` and `latest_asan-debug.json`) to its most recent runs, so a build
78
+
of one never moves the other's.
79
+
80
+
Below, `<v>` stands for the variant suffix: empty for the release build,
81
+
`_asan-debug` for ASAN. So `status<v>.json` is either `status.json` or
82
+
`status_asan-debug.json`.
83
+
84
+
The ASAN build is filed under the same version and date as the release build
85
+
it was cut alongside, but its `rocm_version` keeps the `.asan` / `+asan` marker
86
+
its packages carry (for example `10.2.0a20261005+asan` in
87
+
`nightly/20261005/status_asan-debug.json`).
88
+
89
+
> **Note:** ASAN documents are not produced yet. Until the ASAN `rocm_version`
90
+
> scheme is settled, only `status.json` and its `latest.json` /
91
+
> `latest_good.json` pointers are written; the `_asan-debug` files described
"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 this build is filed under; for nightly-bkc it is the bkc run date from the version's `+bkc.<date>` suffix, not the nightly date the build was cut from
26
-
"build_variant": "release", // (schema 2.1) build flavor: "release" | "asan" | ... ; "" when present but no signal yet (before the setup run reports); key absent entirely in pre-2.1 documents
26
+
"build_variant": "release", // (schema 2.1) build flavor: "release" (status.json) | "asan-debug" (status_asan-debug.json); "" when present but no signal yet (before the setup run reports); key absent entirely in pre-2.1 documents
27
27
"therock_commit": "db2fd412ed7fcadf306cdcf19f09cdd998544197", // (schema 2.1) 40-hex TheRock commit the release was built from; "" until the setup run resolves it; key absent entirely in pre-2.1 documents
28
28
"trigger_workflow_run_id": 12340000, // run_id of the orchestrator (multi_arch_ci)
29
29
"trigger_run_attempt": 1, // attempt of the owning orchestrator run; ownership is the (trigger_workflow_run_id, trigger_run_attempt) pair, so a GitHub re-run (same run id, higher attempt) supersedes the run before it
0 commit comments