Repository navigation
Expand file tree
/
Copy pathstatus_json_reference.jsonc
More file actions
295 lines (282 loc) · 15 KB
/
Copy pathstatus_json_reference.jsonc
File metadata and controls
295 lines (282 loc) · 15 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
// Reference layout for status.json v2.
// NOTE: This file is a human-readable spec and contains `//` comments. The
// real status.json emitted by Quartz is strict JSON with comments stripped.
//
// Conventions:
// - Status values everywhere: "in_progress" | "success" | "failure" | "cancelled" | "skipped"
// - Quartz writes this file; TheRock workflows push events via notify_quartz.py.
// - Placeholders are a SUMMARY-only concept. In "summary", an expected-but-
// unreported pipeline is rendered as "in_progress" while the release is live
// (from creation until the platform orchestrator reports finished; see the
// producer's _unstarted_pipeline_status). This placeholder also feeds the
// platform worst-of, so a platform never reads e.g. "success" while a pipeline
// it will still run is pending below it. Once the platform is finalized, a
// pipeline that never reported is dropped from the summary - it did not run
// this release.
// - The "pipelines" detail below carries only actually-reported entries: a phase
// appears there after it emits its first notify event, and is simply absent
// otherwise (no nulls, no "pending" placeholders, no injected in_progress).
// - Tarball URLs are not enumerated; consumers use the Quartz Python helper
// to construct per-arch tarball filenames from the base URL + version.
{
"schema_version": "2.3",
"release_type": "nightly", // "nightly" | "rc" | "dev"
"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
"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
"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
"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
"trigger_workflow_run_id": 12340000, // run_id of the orchestrator (multi_arch_ci)
"trigger_repository": "ROCm/rockrel", // (schema 2.3) GitHub owner/repo that runs trigger_workflow_run_id; set together with the run ID, and added when any event upgrades an older document to 2.3. Present in every 2.3 document; absent before 2.3, where all runs are in ROCm/rockrel
"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
"created_at": "2026-04-08T06:00:00Z",
"completed_at": null, // set when orchestrator emits run_phase=completed
"orchestrator_conclusion": null, // top-level orchestrator's own terminal conclusion ("success"|"failure"|"cancelled"); folded into summary.overall_status so an aborted/failed release is never reported as success
"pytorch_enabled": true, // whether this release's dispatch built the PyTorch pipeline. Disable-only: absent means enabled (true)
"jax_enabled": true, // whether this release's dispatch built the JAX pipeline (linux only). Disable-only: absent means enabled (true)
"status_json_created": "2026-04-08T06:05:00Z",
"status_json_last_updated": "2026-04-08T14:30:00Z",
// ---------------------------------------------------------------------
// SUMMARY: Quartz-computed rollup. Per-platform view of overall progress.
// ---------------------------------------------------------------------
"summary": {
"overall_status": "in_progress", // worst-of across platforms
"linux": {
"status": "in_progress", // worst-of across this platform's pipelines
"architectures": [ // requested arches for this platform (set once at creation)
"gfx942",
"gfx1101",
"gfx1200",
"gfx1201"
],
"urls": { // platform-level artifact locations (NOT per-arch); populated once the setup step runs, even before the build finishes
"tarballs": "https://rocm.nightlies.amd.com/tarball-multi-arch/", // base URL; use Quartz helper to build per-arch names
"wheels": "https://rocm.nightlies.amd.com/whl-multi-arch/",
"rpm": "https://rocm.nightlies.amd.com/packages-multi-arch/rpm/20260408-12340000/",
"deb": "https://rocm.nightlies.amd.com/packages-multi-arch/deb/20260408-12340000/",
"artifacts": "https://therock-nightly-artifacts.s3.amazonaws.com/12340000-linux/index.html"
},
// Per-pipeline rollup. Build phases carry a worst-of {status}; the
// pytorch / jax build also carries counters, one per py x framework
// version build. Test phases carry counters: one count per matrix entry,
// NOT one per arch.
"rocm": {
"build": { "status": "success" },
"test": { "success": 1, "failure": 1, "in_progress": 1, "cancelled": 0, "skipped": 0 } // counts of matrix entries across all arches
},
"pytorch": {
"build": { "status": "success", "success": 2, "failure": 0, "in_progress": 0, "cancelled": 0, "skipped": 0 }, // per-build detail is in pipelines.pytorch.build.linux.variants
"test": { "success": 0, "failure": 0, "in_progress": 3, "cancelled": 0, "skipped": 0 },
// Present ONLY when the full PyTorch suite (test_pytorch_wheels_full) ran;
// omitted otherwise. Same counter shape as "test"; kept separate so the
// full suite and the smoke "test" phase don't clobber each other.
"test_full": { "success": 0, "failure": 0, "in_progress": 1, "cancelled": 0, "skipped": 0 }
},
"jax": { // linux-only pipeline;
"build": { "status": "in_progress" },
"test": { "success": 0, "failure": 0, "in_progress": 0, "cancelled": 0, "skipped": 0 }
},
"native_packages": { // linux-only pipeline; rpm/deb are platform-wide (not per-arch)
"rpm": { "status": "success" },
"deb": { "status": "in_progress" }
}
},
"windows": {
"status": "in_progress",
"architectures": ["gfx1100"],
"urls": { // populated once the setup step runs, even before the build finishes (empty/absent until then)
"tarballs": "https://rocm.nightlies.amd.com/tarball-multi-arch/", // base URL; use Quartz helper to build per-arch names
"wheels": "https://rocm.nightlies.amd.com/whl-multi-arch/",
"artifacts": "https://therock-ci-artifacts.s3.amazonaws.com/12340000-windows/index.html"
// rpm/deb omitted - native_packages is linux-only
},
"rocm": {
"build": { "status": "in_progress" },
"test": { "success": 0, "failure": 0, "in_progress": 1, "cancelled": 0, "skipped": 0 }
},
"pytorch": {
"build": { "status": "in_progress", "success": 0, "failure": 0, "in_progress": 1, "cancelled": 0, "skipped": 0 },
"test": { "success": 0, "failure": 0, "in_progress": 1, "cancelled": 0, "skipped": 0 }
}
// jax, native_packages omitted - not supported on windows
}
},
// ---------------------------------------------------------------------
// PIPELINES: per-pipeline / per-phase detail. Tree depth varies per
// (pipeline, phase) based on the actual workflow granularity:
// - Build phases run once per platform -> entry at .<platform>
// - Test phases fan out per arch -> entry at .<platform>.<arch>
// - native_packages.{rpm,deb} run once on linux -> entry at .<rpm|deb>
// Entry shape: { run_id, run_attempt, status, started_at, completed_at }
// Pipelines with a matrix on extra dimensions (pytorch py x torch,
// jax py x jax_version) carry an additional "variants" array on the entry.
// ---------------------------------------------------------------------
"pipelines": {
"rocm": {
// rocm.build: single workflow run builds all arches together (matrix only on math-libs stage).
"build": {
"linux": {
"run_id": 12345678,
"run_attempt": 1,
"status": "success",
"started_at": "2026-04-08T06:00:00Z",
"completed_at": "2026-04-08T08:45:00Z"
},
"windows": {
"run_id": 12347000,
"run_attempt": 1,
"status": "in_progress",
"started_at": "2026-04-08T06:30:00Z",
"completed_at": null
}
},
// rocm.test: one workflow run per arch.
"test": {
"linux": {
"gfx942": {
"run_id": 12345700,
"run_attempt": 2,
"status": "failure",
"started_at": "2026-04-08T09:00:00Z",
"completed_at": "2026-04-08T10:30:00Z"
},
"gfx1101": {
"run_id": 12346100,
"run_attempt": 1,
"status": "success",
"started_at": "2026-04-08T09:00:00Z",
"completed_at": "2026-04-08T10:00:00Z"
},
"gfx1201": {
"run_id": 12346500,
"run_attempt": 1,
"status": "in_progress",
"started_at": "2026-04-08T12:00:00Z",
"completed_at": null
}
},
"windows": {
"gfx1100": {
"run_id": 12347100,
"run_attempt": 1,
"status": "in_progress",
"started_at": "2026-04-08T07:00:00Z",
"completed_at": null
}
}
}
},
"pytorch": {
// pytorch.build: matrix on (py x torch), each cell is its own reusable-workflow
// call -> its own run_id. Each variant builds for all arches internally, so
// there is no per-arch dimension. Platform entry carries only the rolled-up status.
"build": {
"linux": {
"status": "success", // worst-of across variants
"variants": [
{ "py": "3.10", "torch": "release/2.10", "run_id": 12345800, "run_attempt": 1, "status": "success", "started_at": "2026-04-08T09:00:00Z", "completed_at": "2026-04-08T11:00:00Z" },
{ "py": "3.12", "torch": "release/2.10", "run_id": 12345801, "run_attempt": 1, "status": "success", "started_at": "2026-04-08T09:00:00Z", "completed_at": "2026-04-08T11:05:00Z" }
]
},
"windows": {
"status": "in_progress",
"variants": [
{ "py": "3.10", "torch": "release/2.10", "run_id": 12347200, "run_attempt": 1, "status": "in_progress", "started_at": "2026-04-08T08:00:00Z", "completed_at": null }
]
}
},
// pytorch.test: per-arch run with variants (py x torch) inside each.
"test": {
"linux": {
"gfx942": {
"run_id": 12345900,
"run_attempt": 1,
"status": "in_progress",
"started_at": "2026-04-08T11:30:00Z",
"completed_at": null,
"variants": [
{ "py": "3.10", "torch": "release/2.10", "run_id": 12345900, "run_attempt": 1, "status": "success", "started_at": "2026-04-08T11:30:00Z", "completed_at": "2026-04-08T12:15:00Z" },
{ "py": "3.12", "torch": "release/2.10", "run_id": 12345900, "run_attempt": 1, "status": "in_progress", "started_at": "2026-04-08T11:30:00Z", "completed_at": null }
]
},
"gfx1101": {
"run_id": 12346300,
"run_attempt": 1,
"status": "in_progress",
"started_at": "2026-04-08T11:00:00Z",
"completed_at": null,
"variants": [
{ "py": "3.10", "torch": "release/2.10", "run_id": 12346300, "run_attempt": 1, "status": "in_progress", "started_at": "2026-04-08T11:00:00Z", "completed_at": null }
]
}
// gfx1201 omitted - pytorch.test not yet dispatched for this arch
},
"windows": {
"gfx1100": {
"run_id": 12347300,
"run_attempt": 1,
"status": "in_progress",
"started_at": "2026-04-08T09:00:00Z",
"completed_at": null,
"variants": [
{ "py": "3.10", "torch": "release/2.10", "run_id": 12347300, "run_attempt": 1, "status": "in_progress", "started_at": "2026-04-08T09:00:00Z", "completed_at": null }
]
}
}
},
// pytorch.test_full: the full PyTorch suite (test_pytorch_wheels_full).
// Same per-arch (+ variants) shape as "test"; present ONLY when the full
// suite ran (dispatched on a cadence, e.g. nightly gfx94X-dcgpu py3.12).
// Kept separate from "test" so smoke and full results don't overwrite
// each other on the shared linux/pytorch leaf.
"test_full": {
"linux": {
"gfx942": {
"run_id": 12346900,
"run_attempt": 1,
"status": "in_progress",
"started_at": "2026-04-08T13:00:00Z",
"completed_at": null,
"variants": [
{ "py": "3.12", "torch": "release/2.10", "run_id": 12346900, "run_attempt": 1, "status": "in_progress", "started_at": "2026-04-08T13:00:00Z", "completed_at": null }
]
}
}
}
},
// jax is linux-only. Commented out: multi-arch implementation TBD; revisit once
// TheRock workflows for multi-arch jax build/test land and the entry shape is known.
// "jax": {
// "build": {
// "linux": {
// "run_id": 12346700,
// "run_attempt": 1,
// "status": "in_progress",
// "started_at": "2026-04-08T10:00:00Z",
// "completed_at": null,
// "variants": [
// { "py": "3.11", "jax_version": "0.9.1", "status": "in_progress" },
// { "py": "3.12", "jax_version": "0.9.1", "status": "in_progress" }
// ]
// }
// }
// },
// native_packages is linux-only (no platform level). Each package type runs as
// a single workflow building all arches in one job step. No per-arch granularity.
"native_packages": {
"rpm": {
"run_id": 12345750,
"run_attempt": 1,
"status": "success",
"started_at": "2026-04-08T09:00:00Z",
"completed_at": "2026-04-08T09:45:00Z"
},
"deb": {
"run_id": 12345760,
"run_attempt": 1,
"status": "in_progress",
"started_at": "2026-04-08T09:00:00Z",
"completed_at": null
}
}
}
}