Retrospective: R041 (the final-release pull request for 0.4.0)#

Status: steps 1 (rc-smoke), 2 (final-pr) and 3 (review-fixes) done on the branch release-0.4.0-final (from main at 4016b469, the merge of pull request #27 with R040; the signed tag v0.4.0rc1 points there). R041 was accepted at ef4fae4a; step 4 fixes the two text slips the acceptance noted. Release 0.4.0 is M10 + M11 (PLAN Appendix F); its release candidate 0.4.0rc1 is on TestPyPI since 2026-11-26 (dyng, sdist and wheel, dyng-cu12 and dyng-cu13, release.yml run 45728140156). R041 smoke-tests that release candidate from TestPyPI (docs/developer/release.md step 8), makes the final-release pull request (step 9: the version, the CHANGELOG, CITATION.cff, the status texts, the pages of 0.4’s content) and carries the release candidate’s certificate over to benchmarks/results/0.4.0/. Nothing is published by this milestone: the orchestrator pushes the branch; the author merges the pull request; the AI assistant pushes the signed tag v0.4.0 and creates the GitHub Release on the author’s behalf (GOVERNANCE.md, 2026-11-18); the author approves the PyPI deployments pypi-cu12 and pypi-cu13 (one dialog), then pypi. The planned tag day is 2026-11-28 (UTC).

Step 1: the smoke test of 0.4.0rc1 from TestPyPI (rc-smoke)#

Result: passed everywhere, on the published files. Every check of release.md step 8 and of “The GPU tests of the published plugin wheels” passed in every venv, and the step-10 procedure, rehearsed on the release run’s artifact, passed too. The smoke test found no defect of the library or of the release candidate’s documents. Reading the skip counts turned up one gap in the Python tests (a CUDA test case without the gpu marker, so pytest -m gpu never selected it; below). That test passes on the published wheels. Its marker is fixed in this branch, with a check that keeps every CUDA case marked (184042a4). The fix changes only python/tests, which is in the packaging scope of parity/certify.py. No path of the library or tests scope changes, so the certificate can still be carried over (release.md step 9). The packaging and repo checks run again on the final tree anyway. The commits of this step: 184042a4 (the test fix) and the commit that adds this section and the log benchmarks/results/0.4.0/checks/smoke-rc1.txt.

How it was run#

The orchestrator ran $DYNG_SCRATCH/runs/r040-smoke/run_smoke.sh (R031’s script, extended for 0.4: label_propagation and hyper_sssp in smoke_rc_cpu.py, their examples and CLI commands, and the full pytest output kept per venv with -rs). It ran after the upload, in its five parts (cpu, plugin cu12, plugin cu13, extras cu12, extras cu13; run_all.sh, each part under flock -s perf.lock nice -n 10). The run was on 2026-11-26 between 00:51 and 01:02 UTC by the machine’s clock, which runs about 3 minutes behind (below). The machine is the GPU machine: Debian 12, glibc 2.36, Linux 6.1; 2x RTX A5000, NVIDIA driver 590.48.01, which reports CUDA 13.1. The GPU tests ran on GPU 1.

Every venv is new, made by python -m venv from a plain interpreter. Python 3.12 is CPython 3.12.14 of the conda environment dyng-dev, used only as the base interpreter. Python 3.13 is CPython 3.13.15 of $DYNG_SCRATCH/tools/py313. Every command ran in a clean environment: env -i with PATH=/usr/local/bin:/usr/bin:/bin, HOME, LANG=C.UTF-8, OMP_NUM_THREADS=4 and PIP_NO_CACHE_DIR=1. So no dev environment, no CUDA toolkit and no build of dynG was on PATH, and there was no pip cache: every file came from the indexes. The venvs’ own pip was used (25.0.1 on 3.12, 26.2.1 on 3.13), as a user’s would be. The install commands are exactly those of the release candidate’s README.md and docs/getting_started/install.md. The tests, examples and ci/ scripts are those of the tag v0.4.0rc1 ($DYNG_SCRATCH/runs/r040-smoke/src-v0.4.0rc1). That tree equals git archive v0.4.0rc1 file for file, apart from the __pycache__ and .hypothesis caches the runs left. The tag’s signature verifies (“Good git signature for sm.shovan@gmail.com”, ED25519).

Every part ran to its end. Each part’s log was read to its last line, and each printed its === <part>: done line with every check in it passed. parts.log records the order:

Part (run_smoke.sh ...)

Machine clock (UTC)

Exit status

cpu, attempt 1

00:51:54-00:52:04

1: a bug of the harness script, not of dynG (below)

plugin cu12

00:52:04-00:55:16

0

plugin cu13

00:55:16-00:58:23

0

extras cu12

00:58:23-00:58:37

0

extras cu13

00:58:37-00:58:52

0

cpu, attempt 2 (the harness fixed)

00:58:57-01:01:53

0

The harness bug of attempt 1. The cpu part compares the bytes of the label_propagation example and of the CLI command with the committed digest. The digest file is examples/data/label_propagation_5k5_damped.sha256. The script read the expected value with awk '$2 == "sequential" {print $1}'. That pattern also matched a comment line of the file, # sequential output (dyng's host port; equal to ...), so the expected value became two lines, # and the digest. The comparison then failed with sha256 81f174fe... != # (the digest followed on the next line), and set -e stopped the part on Python 3.12, before the pytest suite and before Python 3.13. The produced files were right. The outputs of attempt 1 are kept in attempt1-cpu-3.12-outputs/. Both lpex/dynlp_labels.txt (the example) and lprun/dynlp_labels.txt (the CLI) have sha256 81f174fe0ea9b6e5cb8ec18be8eba64e55176e47fd6a179b6833c248062e5778, the committed sequential digest. Every check before that point had passed. The orchestrator fixed the pattern to '!/^#/ && $2 == "sequential" {print $1}' and ran the whole cpu part again from new venvs (attempt 2), where both comparisons passed on both Pythons.

The fix was saved at 00:52:27, while plugin cu12 was running (it started at 00:52:04). Bash had already parsed that part’s loop, so that part ran the script text from before the fix. The fix touches only the cpu branch, and the plugin cu12 log shows every step of the plugin branch as it stands now. Attempt 1’s log is kept as smoke-cpu-attempt1-harnessbug.log and closes the combined log below.

R041 added three readings in the same clean environment, under the shared lock of perf.lock on 2026-11-26 (machine clock 01:25-01:33 UTC). First, the hyper_sssp example’s CUDA case in the four plugin venvs (below, “A CUDA test case pytest -m gpu did not select”). Second, a rehearsal of the step-10 procedure on the release run’s artifact (below). Third, the release state of the indexes and the machine’s clock.

The scripts and logs are in the work area. They are not committed; the combined log is the certificate’s checks/smoke-rc1.txt:

File

sha256

$DYNG_SCRATCH/runs/r040-smoke/run_smoke.sh (cpu, plugin cu12 / cu13, extras cu12 / cu13; the fixed version)

24a904d1fe942c64...

$DYNG_SCRATCH/runs/r040-smoke/smoke_rc_cpu.py (the CPU package’s smoke test)

d2bf043eaf24e8ca...

$DYNG_SCRATCH/runs/r040-smoke/run_all.sh (the five parts in order)

4cf0788ebf2d41dd...

$DYNG_SCRATCH/r041/step10_dryrun.sh (the step-10 block of release.md, on this run’s artifact)

2dbd9c612f034095...

$DYNG_SCRATCH/runs/r040-smoke/smoke-cpu.log, smoke-plugin-cu12.log, smoke-plugin-cu13.log, smoke-extras-cu12.log, smoke-extras-cu13.log

f79f4d02..., 4ededbbc..., 5f8dfd3a..., 1ff7a4c4..., 6c4d936c...

$DYNG_SCRATCH/runs/r040-smoke/smoke-cpu-attempt1-harnessbug.log, parts.log

3bd2d446..., 04b43c1e...

$DYNG_SCRATCH/runs/r041/smoke-rc1.log: parts.log, the five part logs, the ten pytest logs (pytest-gpu-*, pytest-cpu-*, pytest-cpuonly-*), R041’s hyper-sssp-example-cuda.log and step10-dryrun.log, and attempt 1’s log, concatenated by $DYNG_SCRATCH/r041/combine.sh with colour codes and trailing blanks removed; it equals checks/smoke-rc1.txt without its first line

f64f30c4c8baaf91...

The files tested are the ones the release candidate published. pip’s installation reports (pip install --report, ten of them) name the same three wheels in every venv, all from test-files.pythonhosted.org. Their sha256 equal both the digests TestPyPI serves (https://test.pypi.org/pypi/<name>/0.4.0rc1/json) and the files of the dist artifact of run 45728140156. The artifact was downloaded with gh run download (read-only), once by the orchestrator and once again by the step-10 rehearsal. The run: tag v0.4.0rc1 at 4016b469, push event, attempt 1, success, 00:21:22-00:35:14 UTC. Its three TestPyPI publish jobs were green, and its PyPI jobs and the name-reservation build were skipped, as for a pre-release:

File (TestPyPI, uploaded by release.yml run 45728140156)

Uploaded (UTC)

sha256

dyng-0.4.0rc1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (2.71 MB)

00:35:07

14fb1a1f9fd801bbb2fe8cb61be1cc3bc55107d3eb2888b7faea414ec7d8638c

dyng_cu12-0.4.0rc1-cp312-abi3-manylinux_2_28_x86_64.whl (14.44 MB)

00:34:25

9962b2889a3b10025d77305d105d01c6f17049456c537c38c512fa132906cb8d

dyng_cu13-0.4.0rc1-cp312-abi3-manylinux_2_28_x86_64.whl (14.80 MB)

00:34:31

8a523bdfe3eb02d9e4bbf4e8708789e2787a8397c12329086566e4bf1400ea9c

dyng-0.4.0rc1.tar.gz (2.20 MB; on TestPyPI and in the artifact, not installed by the documented commands)

00:35:09

596fb2d4c56372570e69d2c48f87018db7fb6bc0206548f25f6529e045835e43

pypi.org was read on 2026-11-26 at 01:28 UTC. It had 0.3.0 as the latest release of dyng (releases 0.0.1, 0.1.0, 0.2.0, 0.3.0), dyng-cu12 and dyng-cu13 (0.2.0, 0.3.0), and no 0.4.0rc1: a pre-release stops at TestPyPI. TestPyPI has 0.4.0rc1 of all three. As 0.1.0rc1 to 0.3.0rc1 did, 0.4.0rc1 has no GitHub pre-release (the author’s decision of 2026-11-26).

The machine’s clock. The development machine’s system clock is still not synchronized (timedatectl: “System clock synchronized: no”, “NTP service: n/a”). On 2026-11-26 at 01:28 UTC it ran about 2 min 58 s behind the HTTP Date of pypi.org (01:25:19 by the machine against 01:28:17), up from about 2 min 22 s on 2026-10-28 (R031). The log times above are the machine’s. In real time the smoke test started about 00:54:50 UTC, after the last upload (00:35:09). The skew matters only for ci/wheel_check.py --release-metadata --release-date today within a few minutes of midnight UTC on the tag day (open items).

The CPU package dyng==0.4.0rc1 (release.md step 8)#

In fresh venvs on Python 3.12 and 3.13, the command of the README and of install.md:

pip install -i https://test.pypi.org/simple/ --extra-index-url https://pypi.org/simple/ dyng==0.4.0rc1

It installed dyng 0.4.0rc1 (the wheel above, from TestPyPI) and NumPy 2.5.5 (from PyPI), and nothing else. Then, from an empty directory:

Check

3.12.14

3.13.15

import dyng (from the venv’s site-packages), dyng.__version__

0.4.0rc1

0.4.0rc1

dyng.show_config()

dyng._core, “no CUDA plugin is installed”; sequential and openmp yes, cuda no; default backend openmp; built with GNU 14.2.1, Release; the CUDA line gives the pre-release’s TestPyPI command for the plugins (R030’s plugin_install_hint)

the same

installed metadata

License-Expression: Apache-2.0 AND BSD-3-Clause AND MIT AND GPL-3.0-or-later WITH GCC-exception-3.1 (the CPU wheel’s expression, unchanged); Requires-Dist numpy>=1.26 and the extras cu12 / cu13 = dyng-cu12==0.4.0rc1 / dyng-cu13==0.4.0rc1

the same

sssp compute and update, on sequential and on openmp

five vertices: [0, 4, 1, 5, 7], after inserting 0->3 [0, 4, 1, 1, 3]

the same

cycle_count compute and update (max_length=4), both backends

histogram [0, 0, 1, 1, 0] (2 cycles), after deleting 2->3 [0, 0, 0, 1, 0] (1)

the same

mosp compute and update (the thesis example of dyng.mosp’s docstring, Pref (4, 1, 4)), both backends

path cost of u7 [10, 12, 10], after the batch [15, 3, 20] (the documented value); MOSP tree [-1, 0, 0, 1, 3, 4, 4] -> [-1, 0, 0, 2, 3, 1, 5]; update stats converged=True, no fallback

the same

dyng.Hypergraph.from_lists and triad_count compute and update (the example of dyng.triad_count’s docstring), both backends

h-motifs: total 4 over 30 bins; after HyperedgeBatch(delete_hyperedges=[3]) total 1, delta sum -3, 3 triads removed; kind="stathyper_type1": total 3

the same

sequential == openmp

every array above equal

equal

new in 0.4: label_propagation on dyng.Graph.with_capacity(stream.row_capacity) fed by dyng.generators.vertex_arrival_stream (2000 vertices, 5 batches, seed 7), compute on the empty graph and one update per batch, sequential, damped and in_place

both schedules: float32 labels in [0, 1], every batch converged without a fallback, every active seed’s label equal to its class; damped per batch (iterations, components, affected) (0, 20, 20), (802, 297, 185), (272, 325, 811), (172, 351, 1313), (174, 348, 1792); two damped runs bitwise equal; on openmp NotSupportedError (“label_propagation has no OpenMP backend in 0.4”)

the same values

new in 0.4: hyper_sssp on a slack_csr dyng.Hypergraph (storage="slack_csr", line_graph="slack_csr"; the example of dyng.hyper_sssp’s docstring), sequential

compute: hyperedge distances [2, 5, 6, 9], parents [-1, 0, 1, -1], distance_to(2) 5, vertex distances [0, 2, 5, 6]; update with an incidence insertion [2, 5, 3, 9] (1 line-graph insertion); a second batch (a hyperedge deleted, a weighted one inserted, an incidence deleted) equal to a fresh compute on the new hypergraph; on openmp NotSupportedError

the same

dyng.citation(...) of mosp, triad_count, label_propagation, hyper_sssp

the BibTeX entries

the same

dyng --version

dyng 0.4.0rc1

the same

a graph CLI command: dyng mosp compute --graph thesis.txt --format edges --num-weights 3 --preferences 4,1,4 --backend sequential (and openmp) --out DIR

both output trees byte-identical (diff -r); combinedGraph/mospCosts.txt gives 6 10 12 10, the Python compute’s value; dyng config prints the configuration

the same

the example examples/python/triad_count.py on its data, sequential and openmp, and dyng triad_count compute --input examples/data/triad_count.hg on both

the example’s output equals examples/data/triad_count_update.expected.txt byte for byte (diff) on both; both "dyng.triad_bins" files byte-identical (cmp)

the same

new in 0.4: the example examples/python/hyper_sssp.py on its data (hyper_sssp.hg, hyper_sssp.dgt), sequential, and the tutorial’s dyng hyper_sssp update --input ... --batches ... --source 0 --out sp --vertex-distances --compare-recompute

the example’s output equals examples/data/hyper_sssp_update.expected.txt byte for byte (diff); the CLI: two batches, match=yes against the recomputation, reachable 9 of 9 hyperedges, the three output files

the same

new in 0.4: the example examples/python/label_propagation_torch.py (the 5k5 legacy stream, damped, sequential) and the tutorial’s dyng label_propagation update --generate legacy --total-vertices 5000 --num-batches 5 --update-schedule damped --backend sequential

both dynlp_labels.txt have the committed sequential digest of examples/data/label_propagation_5k5_damped.sha256, 81f174fe... (the example: batch 4 65 iterations, 858 components; accuracy 0.5132)

the same

beyond step 8: the release candidate’s python/tests against the installed wheel (pytest 9.2.0, hypothesis 6.167.1 from PyPI)

835 passed, 99 skipped

835 passed, 99 skipped

Every run printed SMOKE OK. The 99 skips (pytest-cpu-*.log, -rs) fall into five groups:

  • 90 CUDA test cases, which need a plugin: test_cuda.py 62, test_hyper_sssp_cuda.py 8, test_triad_count_cuda.py 8, test_hypergraph_cuda.py 6, test_label_propagation_cuda.py 3 and the three CUDA examples of test_examples.py.

  • 4 PyTorch tests, 1 CuPy test, 1 scikit-learn test (the kNN recipe) and 1 pandas test. The venvs install none of these optional packages.

  • 2 tests that need a parity tool of a build tree, which no wheel contains: dyng-compat-mosp and dyng-compat-dynlp. The latter’s test compares the committed digest instead.

The plugins dyng-cu12==0.4.0rc1 and dyng-cu13==0.4.0rc1 (release.md step 8, “The GPU tests of the published plugin wheels”)#

Per plugin and per Python version (3.12, 3.13), a fresh venv was installed as install.md and the README say for the release candidate. NumPy and the test tools came from PyPI first, then dyng and the plugin from TestPyPI alone (--no-deps):

pip install "numpy>=1.26" "pytest>=8" "hypothesis==6.167.1"
pip install -i https://test.pypi.org/simple/ --no-deps "dyng==0.4.0rc1" "dyng-cu13==0.4.0rc1"   # or dyng-cu12

Then came the checks of ci/plugin_wheels.sh, with the tag’s ci/plugin_smoke.py (run from an empty directory) and the tag’s python/tests (run from the tag’s tree, against the installed packages):

Check

cu12 / 3.12

cu12 / 3.13

cu13 / 3.12

cu13 / 3.13

installed

dyng + dyng-cu12 0.4.0rc1

the same

dyng + dyng-cu13 0.4.0rc1

the same

CUDA_VISIBLE_DEVICES=1 ci/plugin_smoke.py --plugin cuN --expect cuda --version 0.4.0rc1

passed: dyng_cu12 (plugin cu12) chosen (“the driver supports CUDA 13.1; no CUDA 13 plugin is installed, and CUDA 12 runs on it”), toolkit 12.9, static runtime, architectures 75-real to 100-real, 120; sssp, cycle_count, mosp, triad_count and (new) hyper_sssp on cuda equal the sequential backend; (new) label_propagation 5k5 damped on cuda within the oracle’s bound (mean <= 8.33e-02)

passed (the same)

passed: dyng_cu13 (plugin cu13) chosen (“it matches the driver’s CUDA major (CUDA 13.1)”), toolkit 13.5 (ADR 0113), the same architectures and checks

passed (the same)

the fallback without a device: CUDA_VISIBLE_DEVICES= ... --expect fallback --reason "no CUDA device is visible"

passed: one dyng.BackendWarning, dyng._core, the plugin’s module imports without a driver and reports its build, Resources.cuda() raises NotSupportedError naming the plugin and the reason; the five algorithms on the CPU backends, label_propagation on sequential within the oracle’s bound

passed

passed

passed

the fallback without a driver: ci/without_cuda_driver.sh ... --expect fallback --reason "no CUDA driver" (user namespaces are available here)

passed: “no CUDA driver: libcuda.so.1 cannot be loaded (install the NVIDIA driver, 525.60.13 or newer for CUDA 12)”

passed

passed (”… 580.65.06 or newer for CUDA 13”)

passed

CUDA_VISIBLE_DEVICES=1 DYNG_REQUIRE_CUDA=1 pytest -m gpu python/tests

81 passed, 8 skipped

81 passed, 8 skipped

81 passed, 8 skipped

81 passed, 8 skipped

DYNG_CPU_ONLY=1 pytest python/tests (plugin installed, GPU 1 visible)

835 passed, 99 skipped

835 passed, 99 skipped

835 passed, 99 skipped

835 passed, 99 skipped

The 8 skips of the GPU tests are the same in all four venvs (pytest-gpu-*.log). They are the DLPack / CUDA array interface round trips with CuPy and PyTorch, which these venvs do not install (the optional extras): test_cuda.py has 1 PyTorch, 5 CuPy and 1 “needs PyTorch or CuPy” case, and test_label_propagation_cuda.py has 1 PyTorch case. ci/plugin_wheels.sh runs them only with DYNG_PLUGIN_INTEROP_PYTHON. The GPU tests grew from 77 (0.3.0rc1: 70 passed, 7 skipped) to 89, with the hyper_sssp and label_propagation CUDA tests. The suite grew from 817 to 934 tests. The six DYNG_CPU_ONLY=1 and CPU runs give the same skip list, line for line.

The extras, as the final release will document them. In two more fresh venvs per plugin (3.12 and 3.13), NumPy came from PyPI, then pip install -i https://test.pypi.org/simple/ "dyng[cu13]==0.4.0rc1" (and [cu12]), from TestPyPI alone. The extra resolved to the plugin of the same version (dyng + dyng-cuN 0.4.0rc1, the files above). ci/plugin_smoke.py --expect cuda passed on GPU 1 in all four venvs: the five algorithms on cuda, and label_propagation within the oracle’s bound. This is the install line of the final release (pip install "dyng[cu13]", from PyPI then), checked here on the release candidate’s metadata.

A CUDA test case pytest -m gpu did not select (fixed in this branch)#

The CPU suite skips 90 test cases for want of CUDA, while pytest -m gpu selects 89 (81 passed and 8 skipped, 845 deselected out of 934). The 90th is test_examples.py:: test_hyper_sssp_prints_the_expected_distances[cuda]. It was parametrized with a bare "cuda" and an inline pytest.skip, instead of the module’s _CUDA parameter, which carries the gpu marker and the skip condition. So pytest -m gpu deselected it. The GPU tests of the plugin wheels (ci/plugin_wheels.sh, release.md steps 8 and 10) therefore never ran the hyper_sssp Python example on CUDA. It could run only in a full pytest run with a CUDA module active, which none of the release’s scripts makes (ci/python.sh tests the editable CPU install).

This is a defect of the test suite, not of the library or the wheels. The same example data on CUDA are covered by the C++ example’s CTest example.hyper_sssp_update.cuda (same expected bytes), and the Python API’s hyper_sssp on CUDA by plugin_smoke.py and test_hyper_sssp_cuda.py. Run on the published wheels in the four plugin venvs (CUDA_VISIBLE_DEVICES=1 DYNG_REQUIRE_CUDA=1 pytest -v python/tests/test_examples.py -k hyper_sssp_prints, from the tag’s tree; hyper-sssp-example-cuda.log), it passed everywhere: both [sequential] and [cuda] PASSED with cu12 and with cu13, on 3.12 and on 3.13.

The fix (184042a4) uses _CUDA for the test. It also adds python/tests/test_gpu_marker.py, which fails when any test case of the session parametrized with backend="cuda" lacks the gpu marker (it failed on the old test_examples.py), with a unit test of the check itself. With the fix, pytest -m gpu in the cu13 / 3.12 venv of the published wheels gives 82 passed and 8 skipped. The CPU suite against the published CPU wheel gives 837 passed and 99 skipped: the two new tests, the same skips. At the final tag, step 10’s GPU tests run 82 cases per venv instead of 81.

The change is in python/tests only, which is in the packaging scope of parity/certify.py. Of the narrower scopes, library and tests (cpp/tests, cpp/fuzz, examples, README.md), the fix touches neither. So it does not stop the carry-over: the packaging checks (the distributions with their wheel tests and the GPU tests of both plugins) run again on the final tree, as step 9 requires anyway.

The step-10 procedure, rehearsed#

The block of release.md “The GPU tests of the published plugin wheels” is what the AI assistant runs on the final tag’s release.yml run before the author approves pypi-cu12 and pypi-cu13. It was run once as written ($DYNG_SCRATCH/r041/step10_dryrun.sh), from a clone of the tag v0.4.0rc1, on the dist artifact of run 45728140156. The one change was d=$DYNG_SCRATCH/r041/release-0.4.0rc1 instead of $DYNG_SCRATCH/release-0.4.0rc1, to keep this milestone’s files together. It ran on 2026-11-26, finishing at 01:32:46 by the machine’s clock, with the clone at 4016b469. gh run download fetched the artifact again, and its four files have the sha256 above. twine check and ci/wheel_check.py passed for the core wheel and both plugin wheels (2.71, 14.44 and 14.80 MB). For both plugins on 3.12 and 3.13, every check passed on GPU 1: the smoke test with the five algorithms on cuda and label_propagation within the oracle’s bound, both fallbacks, pytest -m gpu (81 passed, 8 skipped) and the DYNG_CPU_ONLY=1 suite (835 passed, 99 skipped). The procedure works as documented; on the tag day only run= changes.

The first attempt stopped before the procedure, at the script’s own git tag -v line. A fresh clone does not inherit the development repository’s gpg.ssh.allowedSignersFile. The script then passed it with -c (a setting of the rehearsal script, not of the procedure; the log of that attempt is step10-dryrun-attempt1-noallowedsigners.log).

What it means for the release#

  • Acceptance criterion 1 is met: the release candidate raises no blocker for the final release.

  • No library, C++ test, example or user-facing document changed in this step. The changes are the marker of one Python test with its check (packaging scope), this page (repo scope), and the new benchmarks/results/0.4.0/checks/smoke-rc1.txt (outside every scope). The library and tests scopes are those of 0.4.0rc1’s measured commits, so the certificate can be carried over (release.md step 9). The packaging and repo checks run again on the final tree.

  • The directory benchmarks/results/0.4.0/ exists from this step with checks/smoke-rc1.txt only. The carry-over copies the release candidate’s contents into it (cp -r benchmarks/results/0.4.0rc1/. benchmarks/results/0.4.0/, as release.md step 9 says since R031). The certificate’s README.md gets this smoke test’s summary.

  • release.md step 8 names “a CPU machine and the GPU machine”. As for 0.1.0 to 0.3.0, only the GPU machine is available to this milestone. The CPU package’s host backends ran on it. The plugins’ behaviour on a machine without a GPU or a driver was checked with the two fallbacks above. The hosted runners of the release run checked the plugins’ install without a GPU too: its “Plugin cuN install test, no GPU” jobs were green.

Open items (step 1)#

  1. The machine’s clock (R031’s item 5, still open): it runs about 3 minutes behind real time and drifts (2 min 22 s on 2026-10-28, 2 min 58 s on 2026-11-26). On the tag day, 2026-11-28, ci/wheel_check.py --release-metadata --release-date today reads it. Avoid the minutes around 00:00 UTC, or check the date against an external source.

  2. For the tag day’s step 10: the GPU tests of the final run’s plugin wheels select 82 cases per venv (the fix above). A count of 81 would mean the tests of a tree without the fix.

Step 2: the final-release pull request (final-pr)#

The final-release changes (release.md step 9)#

Every item of docs/developer/release.md, “The final-release pull request (step 9)”, for 0.4.0 with the release date 2026-11-28, the planned tag day (the author’s decision of 2026-11-26):

Item

Commit

What changed

VERSION, CITATION.cff, CHANGELOG.md

1ca8008a

VERSION 0.4.0; CITATION.cff version: 0.4.0, date-released: "2026-11-28" (cffconvert --validate: valid for schema 1.2.0); the section ## [0.4.0rc1] - 2026-11-26 renamed ## [0.4.0] - 2026-11-28 under the empty ## [Unreleased], its summary written for the release with the install lines from PyPI (pip install dyng, pip install "dyng[cu13]", "dyng[cu12]"; no TestPyPI) and the upgrade line pip install -U "dyng[cu13]" for users of 0.3.0, 0.2.0 and 0.1.0 (with why -U dyng alone leaves an older plugin), the certificate’s path benchmarks/results/0.4.0/, a “Final release (R041)” subsection, and the link references [Unreleased]: .../compare/v0.4.0...main and [0.4.0]: .../compare/v0.3.0...v0.4.0 (the [0.4.0rc1] reference removed with its heading, as for 0.1.0 to 0.3.0). The summary still says “no change to the library”: the only change since the release candidate outside the texts is step 1’s marker of one Python test, listed in the subsection as “Fixed (tests only)”

the status texts

ac7d4585

README.md (the status block “Alpha: 0.4.0” naming the six stable algorithms and the additions of 0.4; the status table’s label_propagation and hyper_sssp rows without “in 0.4.0rc1” and with the release gates of benchmarks/results/0.4.0/; the release candidate’s TestPyPI paragraph removed; pip install dyng names 0.4.0; the upgrade note for an environment with a 0.3.0 plugin), docs/index.md (the same block; the TestPyPI sentence under the install lines removed), docs/getting_started/index.md (“came with 0.4.0”), docs/getting_started/install.md (the release candidate’s TestPyPI commands of the CPU package and of the plugins removed; pip install dyng names 0.4.0; the upgrade note covers 0.3.0, whose extras keep the 0.3.0 plugin without -U), SECURITY.md (the status paragraph; supported: main and 0.4.x; 0.4.0rc1, 0.3.x and older no longer), CONTRIBUTING.md, SUPPORT.md, docs/citing.md (0.1.0 to 0.4.0 have no DOI: Zenodo is still not connected, step 12), docs/roadmap.md (“Where we are” opens with 0.4.0, released, its certificate benchmarks/results/0.4.0/, then 0.3.0, 0.2.0 and 0.1.0; the 0.4.0 section names R041), docs/developer/plan.md (the status line “Status: 2026-11-28.” and the 0.4.0 row: done), python/README.md (the PyPI project page: the release candidate’s install paragraph removed; its upgrade line names 0.3.0), and release.md’s own “Who does what” (the branch release-0.4.0-final) and readiness paragraph (R040 and R041)

the pages of 0.4’s content

f6659a74

the tutorials “Streaming label propagation” and “Shortest hyperpaths” (no longer send readers to the release candidate’s TestPyPI lines: pip install "dyng>=0.4" upgrades an installed 0.3.0, and with a plugin pip install -U "dyng[cu13]" or "dyng[cu12]"; “Shortest hyperpaths” clones the tag v0.4.0), “Your first dynamic algorithm” (pins the latest release v0.4.0), docs/algorithms/mosp.md and docs/api/file_formats.md (two sentences about 0.2 / 0.3 that hold for 0.4 too)

GOVERNANCE.md

63992258

the approvals-log row of 2026-11-26 (below)

this page

this page’s commit

step 2’s record, the readiness and the open items

python ci/wheel_check.py --release-metadata and --release-metadata --release-date 2026-11-28 pass (VERSION, CHANGELOG.md and CITATION.cff agree on 0.4.0 and the date); --release-date today fails until the tag day, as it should (release.md step 10 runs it on the tag day). pre-commit on the changed files, ci/docs_links.py, ci/tutorial_quotes.py --check and pytest ci/tests passed before the commit of this page; the fresh-clone runs of criterion 4 are below.

The stability of 0.4’s content. The pages that describe label_propagation, hyper_sssp, slack_csr and the incidence edits, the vertex-arrival generators, the label files, the kNN recipe, the format extensions and the two tutorials were read for wording that calls them unreleased or pending the author’s decision. R040 had already written them for the author’s decision of 2026-11-18: each says “stable from 0.4.0” (the algorithm pages’ maturity lines, the C++ API pages of the graph, the hypergraph, io, the generators, hyper_sssp and label_propagation, the Python API page’s “Stability of the 0.4 additions”, the file formats, the roadmap), and the three testing oracles of label_propagation (harmonic_solution, union_find, lp_host_model, C++ and their dyng.testing counterparts) are frozen outside the stable tier (docs/api/cpp/testing.md, docs/api/cpp/label_propagation.md). So only the release candidate’s install and clone lines of the tutorials and the sentences above changed. docs/conf.py shows no banner for a final VERSION.

What is left of the release candidate’s wording. release.md’s greps (0.4.0rc1, release candidate, not released, new in 0.4, pending, TestPyPI, and the previous release 0.3.0 / 0.3) over the user-facing files (README.md, the top-level *.md files, python/README.md and docs/ outside docs/developer/, docs/adr/, docs/design/ and docs/history/; 73 files) find only history that stays true after the release, and the CHANGELOG’s and the approvals log’s own record:

  • SECURITY.md: the release candidates 0.1.0rc1 to 0.4.0rc1 were published on TestPyPI only, their rows “no; please upgrade to 0.4.0”, and the policy that problems found in a release candidate are fixed before the release;

  • the roadmap’s account of 0.4.0rc1 (R040) and of R041, and of 0.3.0rc1 / R031; docs/algorithms/triad_count.md and docs/concepts/hypergraphs.md on the D13 fix of 0.3.0rc1; docs/conf.py’s banner text for a release candidate (code, not shown for 0.4.0);

  • “new in 0.4” / “new in 0.4.0” on the label_propagation and hyper_sssp pages and in the tutorial “Streaming label propagation” (release.md: “new in X.Y” stays);

  • CODE_OF_CONDUCT.md’s “depending”, docs/algorithms/sssp.md’s “depending on whether the GPU reached P0”;

  • the 0.3 mentions: what 0.3.0 introduced (“stable from 0.3.0”, the formats “of 0.3”, their version 1, “a reader of 0.3 refuses”), the upgrade lines from 0.3.0, the install guide’s find_package(dyng 0.3) for a build of v0.3.0, the roadmap’s 0.3.0 section, and the tutorial “Hypergraph triads”, which still cloned v0.3.0: every file it quotes is unchanged since that tag (git diff v0.3.0 over them is empty), so the tag keeps them as the page quotes them (the review fixes below moved its clone line to v0.4.0, with that sentence).

GOVERNANCE.md. The author’s decisions for 0.4.0 are in the approvals log since R040 (its release changes and its tag-day commit), each once and not reworded: of 2026-11-18 (“AD15 and HD17: the stability of 0.4’s surfaces”, “Tags, the GitHub Release and the merges of 0.4.0”, “ADR 0111’s rate rule at the release and in ci/gpu_local.sh (R040)”, “The ADR 0024 reading of 0.4.0 against v0.3.0”, “conda-forge (checkpoint A4) and aarch64 wheels: deferred beyond 0.4.0”), of 2026-11-21 (the STOPs of R040 steps 3 and 4, and the testing oracles’ Python counterparts outside the stable tier) and of 2026-11-24 (“The tag day of 0.4.0rc1”). This step adds one row of 2026-11-26, “No GitHub pre-release for 0.4.0rc1; the tag day of 0.4.0”: the release candidate gets no GitHub pre-release (as 0.1.0rc1 to 0.3.0rc1), and the planned tag day of 0.4.0 is 2026-11-28 (UTC). The open decisions left (whether a co-author wrote code outside git; D11, the pool footprint between batches) are not due before 0.4.0 (release.md step 10).

The certificate, carried over (release.md step 9)#

The library did not change since the release candidate’s measured commits: git diff from f60a2f3a (the gates, the golden replays and the golden mutations, measured on the release’s final library), 2616af66 (the sanitizer presets and the mutation CTests), 77e76460 (the tag day’s packaging and repo checks) and 3b8c6514 (the head of pull request #27, whose hosted sanitizer jobs are recorded) to this branch touches no path of the library scope and no path of cpp/tests (the GoogleTest rows of the golden mutations, ADR 0061). Of the tests scope, only README.md changed (its status block and install lines; its C++ quickstart, a test, did not). So benchmarks/results/0.4.0/ is a copy of benchmarks/results/0.4.0rc1/ (its contents, cp -r benchmarks/results/0.4.0rc1/. benchmarks/results/0.4.0/, next to step 1’s checks/smoke-rc1.txt).

  • Carried over unchanged: the golden replays of sssp, cycle_count, mosp, the CBST traces, the hypergraph ids (with MOSP_ESCHER’s whole slack_csr sessions), the triads, the label_propagation golden sets (the in_place set under ADR 0111’s rate rule, the harmonic oracle’s release replay) and hyper_sssp’s modes on both CUDA engines and on sequential with the slack_csr store check (parity-*.json); the seven suite summaries and the compacted records of the performance gates (ipdps25_*, ieee_tc_dyntrucy*, ipdps26_escher*, tkde26_escher_plus*, ics26_dynlp* with AD4’s release-only 50m reading, ia3_hsosp*); and the golden mutations (mutation-goldens.json, library scope plus cpp/tests).

  • Run again on the final tree (they see the new VERSION, CHANGELOG.md, CITATION.cff, the status texts, README.md and step 1’s test fix), each from its own fresh git clone of this branch at this page’s commit, the last commit outside benchmarks/results/, concurrently under the shared lock and never during a timing run, with R040’s tag-day scripts adapted for the final tag ($DYNG_SCRATCH/r041/run.sh, dist.sh, toolkits.sh, record.sh, chain.sh; logs $DYNG_SCRATCH/runs/r041/cert/), and recorded with parity/certify.py check --version 0.4.0 under their existing names, replacing the release candidate’s records:

    • packaging: distributions: release.yml’s select step for GITHUB_REF_NAME=v0.4.0 (it must report kind=package, version=0.4.0, prerelease=false, plugins=true, the three distributions; v0.4.0rc1, v0.4.0-rc.1, v0.4.1 and v0.3.0 refused); the pinned CUDA toolkits still the newest 12.x and 13.x (CUDA 12.9 and 13.5: on 2026-11-26, NVIDIA’s RHEL 8 repository’s newest cuda-nvcc packages are 12.9.86 and 13.5.37, a fresh lock is identical to ci/cuda_toolkits.toml and the cached RPMs pass verify --signatures); ci/wheel_check.py --release-metadata (and --release-date 2026-11-28); ci/wheels.sh (with cibuildwheel’s test step from the unpacked sdist); ci/plugin_wheels.sh with the pinned CI toolkits; twine check --strict; ci/wheel_check.py on each file and --release-set --split; then fresh Python 3.12 and 3.13 venvs: the core wheel alone and with each plugin (the wheel’s test subset, the README quickstart, every Python snippet of the docs, the tutorials’ tests, the label_propagation example against its committed digests, dyng --version, and with a plugin ci/plugin_smoke.py --expect cuda, which runs label_propagation and hyper_sssp on cuda, and pytest -m gpu on GPU 1, 82 cases with step 1’s fix); the final release’s documented install lines without a version, pip install dyng, pip install "dyng[cu13]" and "dyng[cu12]", against a local simple index holding the three distributions with PyPI as the extra index (PyPI has 0.3.0 of all three, so pip must take 0.4.0 from the local index and each extra the plugin of the same version); and the upgrade from 0.3.0: a venv with dyng[cuN]==0.3.0 from PyPI keeps 0.3.0 for pip install "dyng[cuN]"; pip install -U dyng alone upgrades the core and leaves the 0.3.0 plugin (what the docs warn about); pip install -U "dyng[cuN]", the documented line, installs 0.4.0 and the plugin of the same version, whose smoke test then passes on GPU 1.

    • repo: check-parity (ci/check.sh --parity: the cpu-only and dev presets, the consumer, clang-tidy, REUSE, the harness tests, ci/docs.sh, ci/python.sh, the API check, the scaffold, pre-commit and the golden parity replay), api-check (ci/api_check.sh 4016b469, the frozen C++ API and the Python API against main as pushed, the merge of 0.4.0rc1) and gpu_local (one ci/gpu_local.sh --preset parity-cuda run on GPU 1, every step passed, recorded with --gpu-summary and --require-steps).

    • tests (README.md changed): asan, tsan, tsan-openmp (ci/sanitizers.sh; tsan-openmp with R020’s local Clang 18 wrapper and Archer, as before) and mutation-ctests (ctest --preset dev-cuda -L mutation, GPU 1).

  • Added: the hosted sanitizer record sanitizers-hosted: the hosted sanitizers.yml jobs of the release candidate’s pull request #27, run 45598377457 on its final head 3b8c6514 (event pull_request, which tested the merge 7e04f23 of 3b8c6514 into d3375da, an ancestor of the head, so the same tree; 2026-11-25 10:47-11:20 UTC), succeeded: asan / gcc-13 1486 of 1486 tests, tsan / gcc-13 1274 of 1274, tsan-openmp / clang-18 1486 of 1486 (job logs read with gh run view --job ... --log, read-only, into $DYNG_SCRATCH/runs/r041/sanitizers-hosted/). 0.4.0rc1’s certificate had no such record (the run finished after its certificate was written). Recorded with the scope library: README.md, a path of the tests scope, changed since 3b8c6514, and the tests scope is covered by the local presets run again on the final tree (release.md step 3, as for 0.3.0).

  • The smoke test of 0.4.0rc1 from TestPyPI (step 1) is summarized in the certificate’s README.md, its combined log in checks/smoke-rc1.txt.

  • Then parity/certify.py write --version 0.4.0 on the committed tree, which checks every record against the final commit in the paths of its scope and writes parity.json naming 0.4.0 and that commit, and the tables of the certificate’s README.md; it is the last commit of the branch (only benchmarks/results/0.4.0/). As a negative control, the same write on a scratch copy of the results with one gated row removed must fail.

The results of the re-run checks are in the certificate (benchmarks/results/0.4.0/README.md, its “Checks” table generated from parity.json, every log named with its SHA-256 in checks.json and excerpted under checks/): certify.py write passes only when every part passed on the release’s code, so a certificate on this branch means they did. The fresh-clone runs of ci/check.sh --parity, ci/docs.sh and ci/python.sh of acceptance criterion 4 are the check-parity run above (ci/check.sh --parity runs the docs and python steps, neither skipped), reported with the milestone’s result.

Deviations from the plan#

  1. The documented install of the final release cannot run against PyPI before the release, so the distributions check runs pip install dyng and pip install "dyng[cuN]" against a local simple index with the three distributions and PyPI as the extra index, which is what PyPI will serve after the three uploads (as for 0.2.0 and 0.3.0).

  2. The tutorials name the tag v0.4.0, which exists only from the tag day: between the merge of this pull request and the tag, the documentation site (built from main) names a tag that is not pushed yet, as the pages of 0.2.0 and 0.3.0 did. The released state is what the pages describe; the window closes with the tag.

  3. A test change in a final-release pull request (step 1’s 184042a4, python/tests): the CHANGELOG’s summary keeps “no change to the library” and lists it in the “Final release (R041)” subsection as “Fixed (tests only)”. It is in the packaging scope, which is run again anyway; the library and tests scopes are untouched by it.

  4. The tests-scope suites run again because README.md changed (release.md step 9 requires it; listed here because the task names it as conditional): the sanitizer presets and the mutation CTests, from a fresh clone of the final tree.

Step 3: the review fixes (review-fixes)#

The review of this branch (at ac2efb13) confirmed six findings, all in documents or in the certificate’s text; none touches a path of the library, tests or packaging scope. Each is fixed in its own commit:

Finding

Commit

Fix

ADRs 0109 and 0096 still said the stability at 0.4.0 was “Pending the author” (release.md’s grep leaves out docs/adr/)

2b251bb3

a dated Decided note under the status, the existing text not reworded, as ADRs 0047 and 0060 got for 0.3 (commit 26fb8e8e): ADR 0109 (AD15, the row “AD15 and HD17: the stability of 0.4’s surfaces” of 2026-11-18, carried out in ADR 0110; its Deciders line gives the date in place of “pending”) and ADR 0096 (HD17, and the names beyond HD12’s list, the row of 2026-11-11). The same class in the other 0.4 ADRs whose status kept a reservation for the author was closed in the same commit: ADRs 0069 and 0071 (the names beyond AD12’s list, approved on 2026-11-12), 0090 and 0097 (the names beyond HD12’s list, 2026-11-11; the stability, 2026-11-18). A grep for “pending” / “acknowledg” over docs/adr/0063-0120 finds no other open reservation of 0.4 (the remaining hits are the reservations these notes close, history or technical terms). The older 0.3 ADRs (0045, 0048, 0056) keep their wording, outside this release

docs/developer/plan.md: the M10 row still listed AD15 and ADR 0111’s wording as open, the M11 row the stability “only on the author’s confirmation”

290973ea

both rows record the decisions of 2026-11-18 (the rows “AD15 and HD17” and “ADR 0111’s wording”)

“Streaming label propagation” needs a clone but gave no clone command; “Hypergraph triads” said “the tag of your version” but cloned v0.3.0

deb55d2d

“Streaming label propagation” gets the clone block of “Shortest hyperpaths” (git clone --branch v0.4.0) and its sentence; “Hypergraph triads” clones v0.4.0 and says that the files it quotes are unchanged since v0.3.0 (git diff v0.3.0 over every % quote: file is empty), so a 0.3.0 user clones that tag

The certificate’s page said both 77e7646 and 91943a5 for the release candidate’s replaced check records

the certificate’s commit

the copied sentence of “What was run, and how (measured for 0.4.0rc1)” names 77e7646 (the tag day; first at 91943a5), as 0.4.0rc1’s checks.json does

The distributions record said “from a clean clone of the tag day’s commit”, but ran at fe7ecc2c, the final-release pull request’s commit

the certificate’s commit

recorded again with certify.py check --name distributions, the same commit, date and evidence files, its command text naming “a clean clone of the final-release pull request’s commit fe7ecc2”; the record’s result and details are unchanged

What the fixes mean for the certificate. The documents are paths of the repo scope (the whole tree but benchmarks/results/), so the repo checks recorded at fe7ecc2c no longer cover the final tree. They are run again, each from a fresh clone of this branch at this page’s commit (the last commit outside benchmarks/results/), with the same scripts ($DYNG_SCRATCH/r041/run.sh repo and gpu; logs $DYNG_SCRATCH/runs/r041/fix/) and recorded under their existing names: check-parity (ci/check.sh --parity, with ci/docs.sh and ci/python.sh: the fresh-clone runs of acceptance criterion 4), api-check (ci/api_check.sh 4016b469) and one ci/gpu_local.sh --preset parity-cuda run on GPU 1 with every step passed. The packaging check distributions and the tests checks (the sanitizer presets, the mutation CTests) stay at fe7ecc2c: git diff from it to the final commit touches no path of their scopes. Then certify.py write --version 0.4.0 runs again on the committed final tree (and fails on a scratch copy with a gated row removed). Their results are in the certificate’s README.md (“Carried over from 0.4.0rc1” and the generated “Checks” table).

Step 4: the acceptance notes#

The acceptance of R041 (round 1, at ef4fae4a: all four criteria met) noted two slips of text, neither blocking:

  1. CHANGELOG.md, “Final release (R041)”, said that only “Shortest hyperpaths” clones the tag v0.4.0. Since step 3’s deb55d2d, “Streaming label propagation” and “Hypergraph triads” clone it too (grep -n "git clone --branch" docs/tutorials/*.md: all three). That subsection becomes the text of the GitHub Release, so it now names the three tutorials, with the clone command “Streaming label propagation” had lacked and why a 0.3.0 user of “Hypergraph triads” may clone v0.3.0.

  2. This page’s status line named steps 1 and 2 as done; step 3 was done too.

The author decided on 2026-11-26 to fix both in this pull request. The decision is operational, so it is recorded here and not in GOVERNANCE.md’s approvals log. The fix is this page’s commit, which changes CHANGELOG.md and this page and nothing else.

What the fix means for the certificate. CHANGELOG.md is a path of the packaging scope and both files are paths of the repo scope, so the distributions record (at fe7ecc2c) and the repo records (at 928ee6b2) no longer cover the final tree. Every check of the two scopes is taken again, each from a fresh clone of this branch at this page’s commit (the last commit outside benchmarks/results/), exactly as before, with R041’s scripts ($DYNG_SCRATCH/r041/run.sh dist, repo and gpu; logs $DYNG_SCRATCH/runs/r041/textfix/), and recorded under its existing name, replacing the old record: distributions (the distributions as release.yml builds them for the tag v0.4.0, the plugins’ GPU tests on GPU 1), check-parity (ci/check.sh --parity with DYNG_API_BASE=4016b469), api-check (ci/api_check.sh 4016b469) and gpu_local (one ci/gpu_local.sh --preset parity-cuda run on GPU 1, every step passed). The tests records (asan, tsan, tsan-openmp and mutation-ctests at fe7ecc2c), the library records (the gates, the replays and the golden mutations at f60a2f3, sanitizers-hosted at 3b8c6514) stand: git diff from their commits to this page’s commit over the paths of their scopes (CODE_PATHS of parity/certify.py) is empty, since README.md, the test paths and the library paths do not change. Then certify.py write --version 0.4.0 runs again, last, on the committed final tree (and fails on a scratch copy with a gated row removed). The results are in the certificate’s README.md and its generated “Checks” table.

Readiness for the tag and the three PyPI approvals#

  1. The orchestrator pushes the branch and opens the final-release pull request (base main, head release-0.4.0-final), with the checklist of release.md. Before the author merges it, a manual wheels.yml run with the plugins, green on the pull request’s head commit, is linked in the pull request (release step 4: the only build of the published setup before the tag).

  2. The author merges the pull request (merge commit only).

  3. The tag day, 2026-11-28 (UTC): on the merge commit python ci/wheel_check.py --release-metadata --release-date today passes (the machine’s clock runs about 3 minutes behind: not within minutes of 00:00 UTC, open items); if the tag falls on a later day, the dates move in a small pull request first and the packaging and repo checks run again (A tag day later than the final-release pull request). The AI assistant pushes the signed tag v0.4.0 on the author’s behalf (git tag -s -m "dynG 0.4.0" v0.4.0, GOVERNANCE.md 2026-11-18).

  4. release.yml builds the distributions anew from the tag (select: a final release, plugins on), uploads dyng-cu12 and dyng-cu13 to TestPyPI, then dyng, then waits for pypi-cu12 and pypi-cu13. The three projects exist on PyPI and TestPyPI since 0.2.0, with their trusted publishers (dyng -> pypi, dyng-cu12 -> pypi-cu12, dyng-cu13 -> pypi-cu13, workflow release.yml, repository dyng-dev/dyng); 0.4.0rc1’s uploads to TestPyPI used the same workflow and environment names.

  5. Before the author approves pypi-cu12 and pypi-cu13, the AI assistant runs release.md’s “The GPU tests of the published plugin wheels” on that run’s dist artifact on GPU 1 (step 1 rehearsed it on 0.4.0rc1’s run: only run= changes; 82 GPU test cases per venv) and reports the result.

  6. The author approves pypi-cu12 and pypi-cu13 in one dialog, then pypi once both plugins are on PyPI. If a publish job fails, the failed jobs of the same run are re-run (release.md, “If a publish job fails”); dyng stays unpublished until both plugins are there.

  7. The AI assistant creates the GitHub Release v0.4.0 from the CHANGELOG section with the run’s distributions (step 11); no DOI (step 12: Zenodo is not connected); no conda-forge feedstock (step 13: deferred beyond 0.4.0). After the merge the deploy job of docs.yml publishes the site without the banner.

  8. Step 14: the announcement, the next .dev0 (0.5.0.dev0) in main, and the approvals-log row of the release (as for 0.3.0’s post-release pull request).

Open items#

For the author:

  1. Merge the final-release pull request once it is green (and the wheels.yml run is linked).

  2. The three PyPI approvals of the v0.4.0 run: pypi-cu12 and pypi-cu13 together, then pypi, after the GPU tests of the run’s plugin wheels are reported green.

  3. A4, Zenodo / DOI: optional, not due for 0.4.0: connecting Zenodo before the GitHub Release would give 0.4.0 a DOI; otherwise 0.4.0 has none, as docs/citing.md says. conda-forge (checkpoint A4’s packaging part) and the aarch64 wheels are deferred beyond 0.4.0 (the author’s decision of 2026-11-18).

  4. D11 (the pool footprint between batches; reported only, GOVERNANCE.md’s open decisions): whether a later release trims the pool between updates.

For the orchestrator:

  1. Push the branch, open the pull request, dispatch wheels.yml (with the plugins) on its head and link the run; report to the author when it is green and ready to merge.

  2. The tag day: if the tag is not pushed on 2026-11-28 (UTC), release.md’s late-tag-day procedure applies before the tag.

  3. cuda-build.yml’s CUDA 13 compile job still compiles with 13.4.1 (R040 step 2, deviation 2): moving it to 13.5 changes a job name that is a required status check of the branch protection (docs/developer/repository_settings.md), a repository setting this milestone may not change; a pull request after 0.4.0 can move both together.

  4. The machine’s clock (step 1, open item 1): about 3 minutes behind and drifting; on the tag day avoid the minutes around 00:00 UTC for --release-date today, or check the date against an external source.

  5. The scratch work of this step: $DYNG_SCRATCH/r041/ (the scripts, the draft results, the distributions’ files under dist-work/) and $DYNG_SCRATCH/runs/r041/ (the logs).

After 0.4.0 (docs/roadmap.md, “0.4.0”, the entries “After 0.4.0” and “Deferred beyond 0.4.0”; library changes, each with its own gate or ADR 0024 reading, none due for this release):

  1. The cycle_count OpenMP update under set semantics back to 0.3.0’s cost: the compact-row host apply (apply_set_batch_host) compiles differently with M10’s graph additions, and the update on github_k4_25000_25000_s1 reads 1.025 against v0.3.0 (graph.apply +2.2 ms per 50,000-edge batch; the author’s decision of 2026-11-21: acknowledged for 0.4.0, fixed after it, read again under ADR 0024).

  2. A device allocation order independent of the resident kernel modules (sssp’s persistent kernel about 4 % slower on roadNet-PA’s 50k batches with fewer modules loaded; the author’s decision of 2026-11-13).

  3. label_propagation refusing weights <= 0; the C++ .dgt readers naming a .dgb file by its magic and escaping bytes that are not UTF-8 (R040’s review).

  4. A vertex-capacity graph::reserve() (a new public name, for the author); a hyper_sssp::clone(res, h) overload that links the copy at once; the shared shortest-path engine’s located update costs and the rename-only move of invalidate_subtree and packed_min (ADR 0095).

  5. Deferred beyond 0.4.0 (M11): MOSP_ESCHER’s legacy H-SOSP batch generator, incidence edits on escher storage and triad_count on slack_csr storage, the line graph’s overlaps, an OpenMP backend of hyper_sssp; still deferred from 0.3.0: the alignment flags (a reading on a CPU without the JCC erratum), the micro-benchmark suites, the hypergraph insert’s D14 serial-path remedy.