Retrospective: R031 (the final-release pull request for 0.3.0)#

Status: done on the branch release-0.3.0-final, ready for the final-release pull request (from main at 20bc2d0, the merge of pull request #18 with R030; the signed tag v0.3.0rc1 points there). Release 0.3.0 is M8 + M9 (PLAN Appendix F); its release candidate 0.3.0rc1 is on TestPyPI since 2026-10-28 (dyng, sdist and wheel, dyng-cu12 and dyng-cu13, release.yml run 40606434243). R031 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.3’s content) and carries the release candidate’s certificate over to benchmarks/results/0.3.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.3.0 and creates the GitHub Release on the author’s behalf (GOVERNANCE.md, 2026-10-22); the author approves the PyPI deployments pypi-cu12 and pypi-cu13 (one dialog), then pypi. The planned tag day is 2026-10-29 (UTC).

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

Result: passed, everywhere; nothing to fix. No defect of the code or of the documentation was found, so the library and the release candidate’s documents are unchanged by this step and the certificate can still be carried over (step 9 of release.md). The only commit of this step adds this section and the log benchmarks/results/0.3.0/checks/smoke-rc1.txt.

How it was run#

The orchestrator ran $DYNG_SCRATCH/r031/run_smoke.sh (R021’s script, extended for 0.3: the hypergraph, triad_count, its CLI command and its example) after the upload, in its five parts (cpu, plugin cu12, plugin cu13, extras cu12, extras cu13), on 2026-10-28 between 00:14 and 00:22 UTC by the machine’s clock (see the note on the clock below), on 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 on GPU 1). Each part’s log was read to its last line: every part printed its === <part>: done line, every check in it passed, and none had to be run again. Every venv is new, made by python -m venv from a plain interpreter (CPython 3.12.14 of the conda environment dyng-dev, used only as the base interpreter, and CPython 3.13.15 of $DYNG_SCRATCH/tools/py313), and 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, PIP_NO_CACHE_DIR=1): no dev environment, no CUDA toolkit and no build of dynG on PATH, and no pip cache, so 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, and the tests, examples and ci/ scripts are those of the tag v0.3.0rc1 ($DYNG_SCRATCH/r031/src-v0.3.0rc1, which equals git archive v0.3.0rc1 file for file, apart from the caches the runs left; the tag’s signature verifies).

This step added three readings in the same clean environment, under the shared lock of perf.lock (2026-10-28, 00:25-00:33 UTC): the skip reasons of pytest -m gpu (venvs cu13 / 3.12 and cu12 / 3.13) and of the CPU suite (venv cpu / 3.12), which the script’s tail -3 cut, and a rehearsal of the step-10 procedure on the release run’s artifact (below).

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

File

sha256

$DYNG_SCRATCH/r031/run_smoke.sh (cpu, plugin cu12 / cu13, extras cu12 / cu13)

4eac5f08f7b76649...

$DYNG_SCRATCH/r031/smoke_rc_cpu.py (the CPU package’s smoke test)

cd0335dbfcc16f6f...

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

b8496757f98d2baa...

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

3b9648dc..., 595e2c18..., eb3d657f..., 7d438940..., 2366cf81...

$DYNG_SCRATCH/runs/r031/skips-gpu.log, skips-cpu.log, step10-dryrun.log

9089d39e..., 455e1317..., 4904441f...

$DYNG_SCRATCH/runs/r031/smoke-rc1.log (the eight logs above, concatenated, colour codes and trailing blanks removed) = checks/smoke-rc1.txt without its first line

fea1115089f46f25...

The files tested are the ones the release candidate published. pip’s installation reports (pip install --report) name the same three wheels in every venv, and their sha256 equal both the digests TestPyPI serves (https://test.pypi.org/pypi/<name>/0.3.0rc1/json, uploaded 2026-10-28 00:14:30-00:14:54 UTC) and the files of the dist artifact of run 40606434243 (gh run download, read-only; the run: tag v0.3.0rc1 at 20bc2d0, attempt 1, success, the three TestPyPI publish jobs green and the PyPI jobs skipped, as for a pre-release):

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

sha256

dyng-0.3.0rc1-cp312-abi3-manylinux_2_27_x86_64.manylinux_2_28_x86_64.whl (1.96 MB)

56565ce704aef26a593ecbbea4130f241b372e1455521c77ac226a0d28925fba

dyng_cu12-0.3.0rc1-cp312-abi3-manylinux_2_28_x86_64.whl (8.26 MB)

37dab82c7fd3f266a8234dd24bd026fa5ab1f7a05487b162a7c18ad87846a857

dyng_cu13-0.3.0rc1-cp312-abi3-manylinux_2_28_x86_64.whl (8.72 MB)

63f0e120b932085f0355f0acec55fb2adf740aeeaef69968e406b366ae8d3b08

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

1c602f90c52076ccb0334f5006ec1bff4195546d4afa5e13454965cb0ab9932b

At the same time pypi.org has 0.2.0 as the latest release of dyng, dyng-cu12 and dyng-cu13 (and dyng 0.0.1 and 0.1.0 before it), and no 0.3.0rc1: a pre-release stops at TestPyPI.

The machine’s clock. The development machine’s system clock is not synchronized (timedatectl: “System clock synchronized: no”, no NTP service) and ran about 2 min 22 s behind the HTTP Date of test.pypi.org and pypi.org on 2026-10-28 at 00:24 UTC. The log timestamps above are the machine’s; in real time the smoke test started about 00:16:25 UTC, after the last upload (00:14:54). It matters only for ci/wheel_check.py --release-metadata --release-date today within a few minutes of midnight UTC on the tag day (an open item below).

The CPU package dyng==0.3.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.3.0rc1

It installed dyng 0.3.0rc1 (the wheel above, from TestPyPI) and NumPy 2.5.4 (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.3.0rc1

0.3.0rc1

dyng.show_config()

dyng._core, “no CUDA plugin is installed”; sequential and openmp yes, cuda no; 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.3.0rc1 / dyng-cu13==0.3.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]

the same

new in 0.3: 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

dyng.citation("mosp"), dyng.citation("triad_count")

the BibTeX entries

the same

dyng --version

dyng 0.3.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

new in 0.3: the example examples/python/triad_count.py on its data (examples/data/triad_count.hg, triad_count.dgt), sequential and openmp

its output equals examples/data/triad_count_update.expected.txt byte for byte (diff) on both

the same

new in 0.3: dyng triad_count compute --input examples/data/triad_count.hg --backend sequential (and openmp) --output FILE

both "dyng.triad_bins" files (version 1, h_motif, 30 bins) byte-identical (cmp)

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)

735 passed, 82 skipped

735 passed, 82 skipped

Every run printed SMOKE OK. The 82 skips (skips-cpu.log) are the 77 GPU tests (no plugin installed: test_cuda.py, test_hypergraph_cuda.py, test_triad_count_cuda.py, the CUDA example of test_examples.py), the CuPy and PyTorch interop tests of test_arrays.py and test_batch.py (3; the venvs have neither), the pandas round trip of the profiler (1) and the CLI test that needs dyng-compat-mosp, a parity tool of a build tree that no wheel contains (1).

The plugins dyng-cu12==0.3.0rc1 and dyng-cu13==0.3.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, installed as install.md and the README say for the release candidate (NumPy and the test tools 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.3.0rc1" "dyng-cu13==0.3.0rc1"   # or dyng-cu12

then the checks of ci/plugin_wheels.sh with the tag’s ci/plugin_smoke.py (from an empty directory) and the tag’s python/tests (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.3.0rc1

the same

dyng + dyng-cu13 0.3.0rc1

the same

CUDA_VISIBLE_DEVICES=1 ci/plugin_smoke.py --plugin cuN --expect cuda --version 0.3.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 and (new) triad_count on cuda equal the sequential backend

passed (the same)

passed: dyng_cu13 (plugin cu13) chosen (“it matches the driver’s CUDA major (CUDA 13.1)”), toolkit 13.4, the same architectures

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 and reports its build, Resources.cuda() raises NotSupportedError naming the plugin, the reason and the pre-release’s install command; the four algorithms on the CPU backends

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

70 passed, 7 skipped

70 passed, 7 skipped

70 passed, 7 skipped

70 passed, 7 skipped

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

735 passed, 82 skipped

735 passed, 82 skipped

735 passed, 82 skipped

735 passed, 82 skipped

The 7 skips of the GPU tests (skips-gpu.log, the same in both venvs read) are the DLPack / CUDA array interface round trips with CuPy and PyTorch (test_cuda.py: 1 PyTorch, 5 CuPy, 1 “needs PyTorch or CuPy”), which these venvs do not install (the optional extras; as for 0.2.0rc1, ci/plugin_wheels.sh runs them only with DYNG_PLUGIN_INTEROP_PYTHON). The GPU tests grew from 55 (0.2.0rc1) to 70 with the hypergraph and triad_count CUDA tests, and the suite from 613 to 817 tests.

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

The step-10 procedure, rehearsed. The block of release.md “The GPU tests of the published plugin wheels” that the AI assistant runs on the final tag’s release.yml run before the author approves pypi-cu12 and pypi-cu13 was run once as written ($DYNG_SCRATCH/r031/step10_dryrun.sh), from a clone of the tag v0.3.0rc1, on the dist artifact of run 40606434243 (with d=$DYNG_SCRATCH/r031/release-0.3.0rc1 instead of $DYNG_SCRATCH/release-0.3.0rc1, to keep this milestone’s files together): twine check and ci/wheel_check.py passed for the core and both plugin wheels, and for both plugins on 3.12 and 3.13 the smoke test on GPU 1 (the four algorithms on cuda), both fallbacks, pytest -m gpu (70 passed, 7 skipped) and the DYNG_CPU_ONLY=1 suite (735 passed, 82 skipped) passed. The procedure works as documented; on the tag day only run= changes.

What it means for the release#

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

  • No code, test or user-facing document changed in this step: only this page (in the repo scope of parity/certify.py alone, whose checks the final-release pull request runs again on the final tree anyway) and the new benchmarks/results/0.3.0/checks/smoke-rc1.txt (outside every scope). The library, tests and packaging scopes are those of 0.3.0rc1’s measured commits, so the certificate can be carried over (release.md step 9). The directory benchmarks/results/0.3.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.3.0rc1/. benchmarks/results/0.3.0/; release.md’s cp -r benchmarks/results/X.Y.ZrcN benchmarks/results/X.Y.Z would now create 0.3.0/0.3.0rc1/), and 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 (R011) and 0.2.0 (R021), only the GPU machine is available to this milestone; the CPU package’s host backends ran on it, and the plugins’ behaviour on a machine without a GPU or a driver was checked with the two fallbacks above (CUDA_VISIBLE_DEVICES= and ci/without_cuda_driver.sh); the hosted runners of the release run checked the plugins’ install without a GPU too (its “Plugin cuN install test, no GPU” jobs, green).

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.3.0 with the release date 2026-10-29, the planned tag day:

Item

Commit

What changed

VERSION, CITATION.cff, CHANGELOG.md

f1a2fe9

VERSION 0.3.0; CITATION.cff version: 0.3.0, date-released: "2026-10-29" (cffconvert --validate: valid for schema 1.2.0); the section ## [0.3.0rc1] - 2026-10-28 renamed ## [0.3.0] - 2026-10-29 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.2.0 and 0.1.0, a “Final release (R031)” subsection, the certificate’s path benchmarks/results/0.3.0/, and the link references [Unreleased]: .../compare/v0.3.0...main and [0.3.0]: .../compare/v0.2.0...v0.3.0 (the [0.3.0rc1] reference removed with its heading, as for 0.1.0 and 0.2.0)

the status texts

481c8c1

README.md (the status block “Alpha: 0.3.0”, the status table’s hypergraph, triad_count and count_local_patterns rows without “in 0.3.0rc1” and with the release gates of benchmarks/results/0.3.0/, the install lines: the release candidate’s TestPyPI paragraph removed, pip install dyng names 0.3.0, the upgrade comment covers 0.2.0), docs/index.md (the same block; the TestPyPI sentence under the install lines removed), docs/getting_started/index.md (no “until it is released, in the release candidate”), 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.3.0; the upgrade note covers 0.2.0, whose extras keep the 0.2.0 plugin without -U), SECURITY.md (the status paragraph; supported: main and 0.3.x; 0.3.0rc1, 0.2.x, 0.2.0rc1, 0.1.x and 0.1.0rc1 no longer), CONTRIBUTING.md, SUPPORT.md, docs/citing.md (0.1.0, 0.2.0 and 0.3.0 have no DOI: Zenodo is still not connected, step 12), docs/roadmap.md (“Where we are” opens with 0.3.0, released, its certificate benchmarks/results/0.3.0/, then 0.2.0 and 0.1.0 as history; the Python tutorials once planned for 0.2.x are no longer promised for a release that was not made), docs/developer/plan.md (the status line and the 0.3.0 row: done)

the pages of 0.3’s content

52706bd

the tutorial “Hypergraph triads” (no longer sends readers to the release candidate’s TestPyPI lines: an environment with 0.2.0 needs pip install -U dyng; it clones the tag v0.3.0), docs/algorithms/triad_count.md (the D13 fix “before the release candidate 0.3.0rc1” instead of “since 0.3.0rc1”), docs/tutorials/your_first_dynamic_algorithm.md (pins the latest release v0.3.0), docs/tutorials/index.md (the three Python tutorials planned for 0.2.x: “later”), docs/algorithms/mosp.md and docs/api/file_formats.md (two sentences about 0.2 that hold for 0.3 too), the DOI sentence of docs/citing.md wrapped

the release process, this page

d77620b

docs/developer/release.md step 9: the carry-over copies the release candidate’s directory’s contents (cp -r benchmarks/results/X.Y.ZrcN/. benchmarks/results/X.Y.Z/), because the smoke test’s log is already there (deviation 3 below); its readiness paragraph names R030 and R031 for 0.3.0

the review of this pull request’s branch

06fa682, 2ee6483, ef74509, 6ecb61f, 74ba266, 1a509a1

the six confirmed findings (five distinct defects, all low; “The review’s findings” below): the Python hypergraph how-to, the hypergraph tutorial’s upgrade line, python/README.md’s upgrade line, the update_seconds= line of the triad_count transcripts and their test, release.md’s “Who does what” row and upgrade-line list, the CHANGELOG

the acceptance review

c31bda5, this page’s commit

docs/developer/plan.md’s status line still opened “Status: 2026-10-22.” above the paragraph rewritten for the release; it names the release day 2026-10-29, as e2bd54b (0.2.0) and 8b6309a (0.1.0) did (“The acceptance review’s finding” below)

python ci/wheel_check.py --release-metadata and --release-metadata --release-date 2026-10-29 pass (VERSION, CHANGELOG.md and CITATION.cff agree on 0.3.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).

The review’s findings. Independent reviewers of the branch at 042d175 found six problems, each confirmed by a skeptic; two describe the same defect. All were fixed here, none in the library:

Finding

Fix

Commit

docs/how_to/use_hypergraphs_from_python.md sent readers to “TestPyPI’s” lines of the install page for a release candidate, which 481c8c1 removed

it gives pip install "dyng[cu13]" and the install page’s “CUDA from Python” section only

06fa682

release.md’s “Who does what” row of 0.3.0 did not name the final branch

“(release-0.3.0 for 0.3.0rc1, release-0.3.0-final for 0.3.0)”, as the 0.2.0 column

ef74509

the tutorial “Hypergraph triads” told users of 0.2.0 pip install -U dyng, which upgrades the core and leaves a 0.2.0 CUDA plugin that 0.3.0 does not load (a reviewer reproduced pip’s dependency error, the BackendWarning and cuda (no)) (two findings)

pip install "dyng>=0.3" upgrades a 0.2.0 core; with the plugin, pip install -U "dyng[cu13]" or "dyng[cu12]", as install.md says

2ee6483

python/README.md, the PyPI project page, had no upgrade line, so a 0.2.0 user following it keeps 0.2.0

the upgrade line pip install -U "dyng[cu13]" (or "dyng[cu12]", or -U dyng without the plugin); release.md step 9 now lists python/README.md and the tutorials’ prerequisites (with the plugin’s form) among the pages that need it

ef74509

the --format escher transcripts of dyng triad_count update (the tutorial, section 6, and docs/algorithms/triad_count.md section 3) left out the update_seconds= line of standard error

both show update_seconds=... first (it is written before the output), as cycle_count’s page does, and say which lines are standard output; test_the_documented_escher_output reads the name=... lines as the notes on standard error and the rest as standard output (checked to fail on a wrong note)

6ecb61f

The CHANGELOG’s “Final release (R031)” subsection records them (74ba266). The changed paths are of the packaging scope (python/README.md, python/tests, CHANGELOG.md) and the repo scope (the documents); none of the tests scope (cpp/tests, cpp/fuzz, examples, README.md) or the library. So the packaging and repo checks were run again on 1a509a1 (this page’s commit then), and the tests checks of d77620b stand.

The acceptance review’s finding. The independent acceptance verifier of the branch at dfb1e46 passed the smoke test, the certificate and the fresh-clone checks, and found one item of step 9 not done: docs/developer/plan.md’s status paragraph said 0.3.0 is released, but its date stamp was still “Status: 2026-10-22.” (release.md step 9 lists “docs/developer/plan.md (the status line)”; both earlier final-release pull requests moved it to the release day). Fixed in c31bda5 (“Status: 2026-10-29.”). It also noted that this page did not record the transient failure of the first ci/gpu_local.sh run at 1a509a1, which only the certificate’s README described: it is now deviation 7 and an open item. Both changes are in the repo scope (docs/developer/), so the packaging and repo checks were run a third time, on this page’s commit (the certificate, below); the tests and library scopes are unchanged.

The stability of 0.3’s content. The pages that describe the hypergraph, triad_count, count_local_patterns, the .hg, .dgb and triad-bins formats and the hypergraph tutorials were read for wording that calls them unreleased or pending the author’s confirmation: R030 had already written them for the author’s confirmation of 2026-10-22 (the hypergraph surface, triad_count and the three formats at version 1 are stable from 0.3.0; count_local_patterns stays experimental), so only the release candidate’s install and clone lines of the tutorial 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.3.0rc1, release candidate, not released, new in 0.3, pending, and the previous release 0.2.0 / 0.2) 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/; 64 files) find only history that stays true after the release, and the CHANGELOG’s own record:

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

  • docs/concepts/hypergraphs.md (“D13, fixed in 0.3.0rc1”) and docs/algorithms/triad_count.md (the D13 fix came with the release candidate); the roadmap’s account of 0.3.0rc1 and of R031;

  • “new in 0.3” / “new in 0.3.0” on the triad_count page and in the hypergraph tutorial (release.md: “new in X.Y” stays);

  • GOVERNANCE.md’s approvals log (rows of 2026-09-27 to 2026-10-23 that name pending publishers, the pending names of 2026-10-15 and their acceptance on 2026-10-22), CODE_OF_CONDUCT.md’s “depending”, docs/algorithms/sssp.md’s “depending on whether the GPU reached P0”;

  • the 0.2 mentions: what 0.2.0 introduced (mosp stable from 0.2.0, the plugins “from 0.2”, the tutorial algorithms “new in 0.2.0”, the CLI’s mosp “(0.2)”, the %dgt 1 line “of 0.1 and 0.2”), the install guide’s find_package(dyng 0.2) for a 0.2.0 build and the plugin’s version message example, the upgrade lines from 0.2.0, and the roadmap’s 0.2.0 section.

GOVERNANCE.md, checked, not changed. The author’s decisions for 0.3.0 of 2026-10-22 (the stability of the hypergraph, triad_count and the formats; D9, the names; D6, D7, D8, D10 and D12; the tags, merges and PyPI approvals of 0.3.0; ADRs 0061 and 0062) and the acknowledgements of 2026-10-23 (D14 kept for 0.3.0; the alignment-flags option deferred beyond 0.3.0) are in the approvals log since R030 (its release-changes and tag-day commits), each once; nothing of pending_author_facts.md’s sections of 2026-10-22 and 2026-10-23 is missing. That file’s 0.4.0 item of 2026-10-23 is technical planning, not an author decision, so it has no row (it is an open item below). The open decisions left (whether a co-author wrote code outside git; D11, the pool footprint between batches) are not due before 0.3.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 d803284 (the gates, the golden replays and the golden mutations, measured on the release’s final library) and from 669fa60 (the head of pull request #18, 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). So benchmarks/results/0.3.0/ is a copy of benchmarks/results/0.3.0rc1/ (its contents, deviation 3, next to step 1’s checks/smoke-rc1.txt), and the certificate’s measured commits are d803284, 669fa60 and the commits of the re-run checks below (d77620b for the tests scope, this page’s commit for the packaging and repo scopes). a0f7177 (the release candidate’s sanitizer presets and mutation CTests), 7e918a2 (its tag day’s re-run checks) and 177df79 (the head of its first hosted sanitizer run) are no longer measured: their records are replaced.

  • Carried over unchanged: the golden replays of sssp, cycle_count, mosp, the CBST traces, the hypergraph ids and the triads (parity-*.json), the five suite summaries and the compacted records of the performance gates (ipdps25_*, ieee_tc_dyntrucy*, ipdps26_escher*, tkde26_escher_plus*), 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 and README.md), each from its own fresh git clone of this branch at the last commit outside benchmarks/results/ (this page’s commit: the packaging and repo checks were first run at d77620b, again at 1a509a1 after the review’s fixes and a third time after the acceptance review’s finding, the tests checks at d77620b, whose tests-scope paths are the final ones), concurrently under the shared lock and never during a timing run, with the scripts of R030’s tag day adapted for the final tag ($DYNG_SCRATCH/r031/cert/), and recorded with parity/certify.py check --version 0.3.0 under their existing names, replacing the release candidate’s records:

    • packaging: distributions: release.yml’s select step for GITHUB_REF_NAME=v0.3.0 (it must report kind=package, version=0.3.0, prerelease=false, plugins=true, the three distributions; v0.3.0rc1, v0.3.0-rc.1, v0.3.1 and v0.2.0 refused), the pinned CUDA toolkits still the newest 12.x and 13.x (a fresh lock identical to ci/cuda_toolkits.toml), ci/wheel_check.py --release-metadata (and --release-date 2026-10-29), ci/wheels.sh, ci/plugin_wheels.sh with the pinned CI toolkits (CUDA 12.9 and 13.4), 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, dyng --version, and with a plugin ci/plugin_smoke.py --expect cuda, which runs triad_count on cuda, and pytest -m gpu on GPU 1); 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.2.0 of all three, so pip must take 0.3.0 from the local index and each extra the plugin of the same version); and the upgrade from 0.2.0: a venv with dyng[cuN]==0.2.0 from PyPI keeps 0.2.0 for pip install "dyng[cuN]", and pip install -U "dyng[cuN]", the documented line, installs 0.3.0 and the plugin of the same version, whose smoke test then passes on GPU 1.

    • repo: check-parity (ci/check.sh --parity), api-check (ci/api_check.sh 20bc2d0, the frozen C++ API and the Python API against main as pushed, the merge of 0.3.0rc1) and gpu_local (ci/gpu_local.sh, every step on GPU 1, the compute-sanitizer steps and 0.3’s CBST, hypergraph, triad_count and count_local_patterns steps included).

    • tests (README.md, whose C++ quickstart is a test, changed: its status block and install lines; the quickstart itself did not), at d77620b: 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).

  • Replaced by a newer run of the same pull request: sanitizers-hosted, the hosted sanitizers.yml jobs of the release candidate’s pull request #18. The release candidate recorded run 40568804466 on 177df79; the newer run 40603416606 on its final head 669fa60 (event pull_request, which tested the merge of 669fa60 into e6f87ed, an ancestor of the head, so the same tree; 2026-10-27 23:37-23:55 UTC) succeeded: asan / gcc-13 1179 of 1179 tests, tsan / gcc-13 1024 of 1024, tsan-openmp / clang-18 1179 of 1179 (job logs read with gh run view --job ... --log, read-only, into $DYNG_SCRATCH/runs/r031/sanitizers-hosted/). Recorded with the scope library: README.md, a path of the tests scope, changed since 669fa60, and the tests scope is covered by the local presets run again on the final tree (release.md step 3, as for 0.2.0).

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

  • Then parity/certify.py write --version 0.3.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.3.0 and that commit, and the tables of the certificate’s README.md; it is the last commit of the branch.

The results of the re-run checks are in the certificate (benchmarks/results/0.3.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 reported with the milestone’s result.

Deviations from the plan#

  1. The smoke test’s log (step 1) holds more than the five run_smoke.sh logs of 0.2.0’s copy: also the skip reasons and the step-10 rehearsal; colour codes and trailing blanks were removed so the pre-commit hooks pass, and the sha256 of every original log is recorded above.

  2. One machine for step 8 (step 1): release.md names a CPU machine and the GPU machine; only the GPU machine was available, as in R011 and R021. The plugins without a GPU or a driver were covered by the two fallbacks and by the release run’s hosted install tests without a GPU.

  3. The carry-over’s copy command. release.md’s cp -r benchmarks/results/X.Y.ZrcN benchmarks/results/X.Y.Z would have nested the copy as 0.3.0/0.3.0rc1/, because step 1 created benchmarks/results/0.3.0/ for the smoke test’s log; the contents were copied (cp -r benchmarks/results/0.3.0rc1/. benchmarks/results/0.3.0/), and release.md now says so.

  4. The hosted sanitizer record is the newer run of pull request #18 (669fa60, the head the author merged) instead of the release candidate’s 177df79, with the scope library (README.md changed since), as release.md step 3 prescribes for a carried-over certificate.

  5. 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).

  6. The tutorial clones the tag v0.3.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 did for v0.2.0. The released state is what the pages describe; the window closes with the tag.

  7. The first ci/gpu_local.sh run at 1a509a1 failed one step, transiently, the second occurrence of R030’s deviation 7 (there: the triad_count kit’s racecheck at 4ca456b). Every step passed except “cbst sanitizers”: compute-sanitizer’s racecheck of dyng_cbst_scenario_tests (DYNG_CBST_REDUCED=1, GPU 1) ended with “process didn’t terminate successfully”, 0 hazards and no gtest output, while the other six CBST executables passed under racecheck, synccheck and initcheck. The same command run alone three times from a fresh build of the same commit passed every time (39 / 39 tests, 0 hazards); the test is unchanged since d77620b, where the step passed. Without a reproduction and without the kernel log (dmesg is not permitted) the cause is not known: another process on the shared GPU or the sanitizer itself. Nothing was changed and no check was weakened: the whole of ci/gpu_local.sh was run again from a fresh clone (every step passed) and that run was the record; the logs are kept in $DYNG_SCRATCH/runs/r031/cert/ (gpu_local-1a509a1-run1-failed.log, cbst-scenario-racecheck-rerun1..3.log, gpu-monitor-1a509a1-run2.log) and the certificate’s README.md describes them. The gpu_local record of the final commit is a later, complete run (the certificate).

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.3.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, the decision of 2026-10-14).

  3. The tag day, 2026-10-29 (UTC): on the merge commit python ci/wheel_check.py --release-metadata --release-date today passes (the machine’s clock runs about 2.4 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.3.0 on the author’s behalf (git tag -s -m "dynG 0.3.0" v0.3.0, GOVERNANCE.md 2026-10-22).

  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 (0.2.0rc1 on TestPyPI), so their trusted publishers are ordinary ones (dyng -> pypi, dyng-cu12 -> pypi-cu12, dyng-cu13 -> pypi-cu13, workflow release.yml, repository dyng-dev/dyng); 0.3.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.3.0rc1’s run: only run= changes) 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.3.0 from the CHANGELOG section with the run’s distributions (step 11); no DOI (step 12: Zenodo is not connected). After the merge the deploy job of docs.yml publishes the site without the banner.

  8. Step 14: the announcement, the next .dev0 (0.4.0.dev0) in main, and the approvals-log row of the release (as for 0.2.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.3.0 run: pypi-cu12 and pypi-cu13 together, then pypi, after the GPU tests of the run’s plugin wheels are reported green.

  3. Optional, not due for 0.3.0: connecting Zenodo before the GitHub Release would give 0.3.0 a DOI (checkpoint A4); otherwise 0.3.0 has none, as docs/citing.md says.

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-10-29 (UTC), release.md’s late-tag-day procedure applies before the tag.

  3. Optional: the hosted sanitizers.yml jobs of this pull request can be recorded with --scope tests in a tag-day pull request (deviation 4); the certificate does not require them.

  4. main of the development repository should follow origin/main (20bc2d0); the API check of this milestone was run against 20bc2d0 explicitly.

  5. The machine’s clock (step 1): the development machine’s clock is not synchronized and ran about 2.4 minutes behind real time on 2026-10-28. On the tag day, 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; the lab’s administrators could enable NTP (not a change this project makes).

  6. The recurring compute-sanitizer process death (deviation 7; R030’s deviation 7): twice in two milestones one racecheck run of a CUDA test executable in ci/gpu_local.sh ended with “process didn’t terminate successfully” and 0 hazards, and passed on every isolated re-run. For 0.4.0: investigate (run the racecheck steps in a loop with the GPU monitor, record the exit status and signal of the failed process, compare with an idle GPU), and if the sanitizer is at fault, consider a bounded retry of only that outcome in ci/gpu_local.sh that still fails on any reported hazard, recorded in an ADR; until then a failed step is run again in full, as here.

For 0.4.0 planning (technical, from pending_author_facts.md, 2026-10-23, and ADR 0061’s “found in passing”; not author decisions, each a change with its own gate or dynG-against-dynG reading):

  1. The defect class of D13 in sssp’s OpenMP backend: its regions push into thread-local lists (algorithms/sssp/openmp.cpp), which can allocate when a list grows, so a host allocation failure there could end the process instead of raising out_of_memory_error; carry the exception out of the region (util/region_exceptions.hpp) with an allocation-failure test.

  2. operators::openmp_exec::for_each does not carry exceptions out of its region (its users’ functors, the tutorial algorithms, do not allocate today).

  3. escher::flatten_rows runs with the global OpenMP thread count rather than the handle’s (PLAN 4.7.4).

Carried forward, not due for 0.3.0: D11 (the pool footprint between batches, reported only; GOVERNANCE.md’s open decisions); D14’s remedy (the hypergraph insert’s serial path outside the OpenMP region, with its own reading, the author’s acknowledgement of 2026-10-23); the alignment-flags option (deferred until a CPU without the JCC erratum is available); the Python tutorials once planned for 0.2.x (docs/tutorials/index.md: “later”, no release assigned).