Skip to content

Commit b82fc3c

Browse files
committed
Docs: Clarify bindings release verification steps
1 parent 3b24247 commit b82fc3c

1 file changed

Lines changed: 31 additions & 59 deletions

File tree

‎.agents/docs/bindings-release-verification.md‎

Lines changed: 31 additions & 59 deletions
Original file line numberDiff line numberDiff line change
@@ -16,40 +16,39 @@ the [tag lifecycle](version-lifecycle.md) for tag handling.
1616

1717
1. Resolve the candidate ref to its full commit SHA, whether it comes from
1818
`main` or a stabilization branch. Identify the previous published release
19-
in the same series and compare it with the candidate. Verify that the
20-
selected changes and backports are present, flag unexpected user-visible
21-
changes or API/ABI breaks, and look for changes missing from the notes.
19+
in the same series and compare it with the candidate. Confirm that the
20+
candidate contains the changes agreed for this release. Flag unexpected
21+
user-visible changes or API/ABI breaks, and look for changes missing from
22+
the notes.
2223
2. Read `ci/versions.yml` and the package metadata at the candidate SHA.
23-
Confirm the selected bindings root, Toolkit pin, and supported Python
24-
versions. Check the metapackage dependency constraints and ensure both
25-
components have substantive notes for the target version under the
26-
repository's release-note policy.
27-
3. Inspect the candidate CI run and evidence for any targeted checks. Record
28-
the intended tag, source ref and SHA, package root, Toolkit pin, and
29-
workflow ref and SHA. Confirm that the release workflow understands the
30-
source's registry and artifact layout. For an older layout, use the
31-
[compatible historical workflow](../../.github/RELEASE-bindings.md#older-release-layouts)
32-
and verify the available checks on that ref.
24+
Confirm the selected bindings root and Toolkit pin. Check `cuda-python`'s
25+
dependency constraints and ensure both components have substantive notes
26+
for the target version under the repository's release-note policy.
27+
3. Inspect the candidate CI run and evidence for any targeted checks. In the
28+
release checklist issue, record the intended tag, source ref and SHA,
29+
bindings root, Toolkit pin, and workflow ref and SHA.
3330

3431
## Verify the exact tag and release runs
3532

3633
1. Resolve `refs/tags/vX.Y.Z` to its commit and compare it with the approved
3734
candidate SHA. Record the successful exact-tag CI run. Check that the
3835
tag-triggered run selected the intended bindings root and that its builds,
39-
tests, and artifact uploads cover the expected platform and Python matrix.
40-
Take the matrix from the tagged configuration and workflow.
36+
tests, and artifact uploads cover the platform and Python matrix from the
37+
tagged source's `ci/versions.yml` and CI workflow.
4138
2. For each component, record the dry-run and full-release run URLs, run
4239
attempts, and workflow control SHA. Check the run inputs, tag CI run ID
4340
selected by the workflow, and the outcomes of required jobs. For
44-
`cuda-python`, verify that the dependency validation ran for default and
45-
`[all]` installs on the expected matrix. Follow skipped or cancelled jobs
46-
through their conditions and prerequisites. A green overall run can
47-
contain skipped coverage, so record unexplained skips as pending or
48-
blocking. [Metapackage dependency validation](https://github.com/NVIDIA/cuda-python/pull/3470)
49-
3. Confirm that release docs, asset upload, and registry publication ran for
50-
both components. Record any historical workflow that lacked a check now
51-
expected. If a required result is missing, report the exact failing or
52-
skipped job and what evidence would clear it.
41+
`cuda-python`, verify that the default and `[all]` dependency install jobs
42+
passed across the expected matrix in both runs. These jobs are skipped for
43+
`cuda-bindings`. If a required job failed or was skipped, link it in the
44+
release checklist issue and record the failure or unmet prerequisite.
45+
[Metapackage dependency validation](https://github.com/NVIDIA/cuda-python/pull/3470)
46+
3. In each dry run, confirm that artifact preparation and the release docs
47+
build succeeded. Expect GitHub Release, TestPyPI, and PyPI uploads to be
48+
skipped. Expect Pages deployment only when a docs preview branch was
49+
requested. In each full release, confirm that the versioned docs deployed
50+
to GitHub Pages, assets were uploaded to the GitHub Release draft, and
51+
wheels were published to TestPyPI and then PyPI.
5352

5453
## Verify what users receive
5554

@@ -75,8 +74,10 @@ the [tag lifecycle](version-lifecycle.md) for tag handling.
7574
- **Documentation.** Follow the public URLs for both exact-version landing
7675
pages and their notes. Check the rendered titles and content, release index
7776
entries, and links between the two components. Record redirects and verify
78-
that the destination serves the intended version. After the selector update
79-
deploys from `main`, check the live selector and open both destinations.
77+
that the destination serves the intended version. Open the shared bindings
78+
release index and verify that readers can reach the note from there. After
79+
the selector update deploys from `main`, check the live selector and open
80+
both destinations.
8081
[Selector publication timing](https://github.com/NVIDIA/cuda-python/pull/3520)
8182
- **Conda-forge and QA.** Follow the [bindings feedstock instructions](../../.github/RELEASE-bindings.md#publish-on-conda-forge).
8283
Link the merged recipe and post-merge build, and record a fresh install of
@@ -112,43 +113,14 @@ covers automating parts of this evidence collection.
112113

113114
## Report readiness
114115

115-
Leave an evidence record on the release checklist for the release owner.
116-
Include the tag and source SHA, workflow ref and SHA, CI and release run
117-
URLs, wheel and source-archive results, install and QA results, published
118-
docs URLs and selectors, and the feedstock PR and install result.
116+
Update the release checklist issue with the verification results. Include the
117+
tag and source SHA, workflow ref and SHA, CI and release run URLs, wheel and
118+
source-archive results, install and QA results, published docs URLs and
119+
selectors, and the feedstock PR and install result.
119120

120121
For each exception, include the affected version and surface, expected and
121122
observed result, and a link to the evidence. Report release blockers, checks
122123
still pending, and previously known defects separately. For a known defect,
123124
link the baseline and the release owner's explicit acceptance if available.
124125
A release can be reported verified when the required checks pass and every
125126
exception affecting it has been resolved or accepted by the release owner.
126-
127-
## Worked example for 12.9.11
128-
129-
- `v12.9.11` selected `cuda_bindings_12` with Toolkit `12.9.1` at
130-
[382abe4d1e9221a15324b749f39715d852ac4bba](https://github.com/NVIDIA/cuda-python/commit/382abe4d1e9221a15324b749f39715d852ac4bba).
131-
Its [successful tag CI run](https://github.com/NVIDIA/cuda-python/actions/runs/44624619973)
132-
identifies the exact tag and SHA. Both releases used control ref
133-
`pull-request/3470` at 8f90d1189f2e18e54888d345d1955fcde591fb6b.
134-
- The bindings [dry run](https://github.com/NVIDIA/cuda-python/actions/runs/44774210948)
135-
and [full release](https://github.com/NVIDIA/cuda-python/actions/runs/44776608591)
136-
skipped the metapackage dependency job as expected. The metapackage
137-
[dry run](https://github.com/NVIDIA/cuda-python/actions/runs/44778619286)
138-
and [full release](https://github.com/NVIDIA/cuda-python/actions/runs/44781086586)
139-
each passed all 42 default and `[all]` dependency jobs. All four runs are
140-
attempt 1.
141-
- All 21 bindings wheels and the one metapackage wheel matched by filename
142-
and SHA-256 across TestPyPI, PyPI, and the
143-
[GitHub release assets](https://github.com/NVIDIA/cuda-python/releases/tag/v12.9.11).
144-
The source archive matched its sidecar. The two PyPI install checks and
145-
the Conda install of both exact versions passed on Linux x86-64 with
146-
Python 3.12. The [feedstock PR](https://github.com/conda-forge/cuda-python-feedstock/pull/230)
147-
records the Conda build and validation evidence.
148-
- Both exact-version note pages and both selector entries were verified
149-
([bindings notes](https://nvidia.github.io/cuda-python/cuda-bindings/12.9.11/release/12.9.11-notes.html),
150-
[metapackage notes](https://nvidia.github.io/cuda-python/12.9.11/release/12.9.11-notes.html)).
151-
The shared bindings index initially omitted the note and was repaired in
152-
[#3526](https://github.com/NVIDIA/cuda-python/pull/3526). The metapackage
153-
archive's bindings navigation still pointed to `latest` when checked.
154-
[Navigation follow-up](https://github.com/NVIDIA/cuda-python/pull/3641)

0 commit comments

Comments
 (0)