Repository navigation
Description
Filed from the v0.39.0 release's gate-3 security audit (release-auditor, round 1, token f67574e3469850b7), delta v0.38.0..HEAD. Row: misreports (composition).
docs/releasing.md:515 ("Reusing this...", written in #866 / 25d0c05) tells an adopter of the release-branch tooling to copy only .github/scripts/{build,check,smoke}_release_tree.py. Two gaps, both from commits in this delta:
- Missing script. release-branch workflow: three small hardening follow-ups from the #853 review #856 (3cbe1dc) made
.github/workflows/release-branch.yml:184-188'spublishjob call.github/scripts/check_version_order.py. An adopter who follows the current docs and copies only the three named scripts gets apublishstep that fails with "file not found" the first time they cut a release that has areleaseparent (i.e. their second release onward). - Missing requirement. release-branch build/check/smoke pipeline silently passes a tree with no hooks/hooks.json (or zero command hooks) #858 makes a missing
hooks/hooks.json, or one with zero command hooks, a hard failure in bothcheck_release_tree.pyandsmoke_release_tree.py. The reuse docs never state this, so a plugin with no hooks of its own cannot reuse the tooling at all, and the docs give no warning or workaround.
Suggested fix (not applied here): add check_version_order.py to the reuse copy-list, and either document the hooks.json requirement or gate it behind a config flag.
Not a blocking-row finding; reasoned from reading the workflow file, the two scripts' current behavior, and docs/releasing.md's current text -- not independently reproduced by actually attempting a reuse here.
[AI-generated]
Activity
fix(#889): disclose check_version_order.py and the hooks.json hard-fa…