Repository navigation
chore: move maintainer-run release scripts to scripts/ - #2422
Conversation
sign-release.sh and publish-crates.sh run only from a maintainer's checkout, never from a workflow or hook, so they leave .github/scripts/ for a root scripts/ directory, as in devops. Their regression tests move to scripts/tests/, which CI tooling tests now also run. publish-crates.sh runs sponsord's bump from scripts/open-decdn-bump.sh, which matches sponsord's own move; merge that first. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Gas snapshotNo gas changes vs base. |
Code Coverage OverviewLanguages: Rust, Solidity Rust / code-coverage/cargo-llvm-covThe overall line coverage in commit 9dc4df8 in the Show a line coverage summary of the most impacted files.
Solidity / code-coverage/forgeThe overall line coverage in commit 9dc4df8 in the Updated |
There was a problem hiding this comment.
🟢 Approval recommended
Script references are consistently updated, executable permissions remain intact, and regression-test coverage follows the moved files.
0 open findings
What changed in this PR
Moves maintainer-run release tooling into scripts/, separating it from CI-only helpers.
Changes:
- Relocates release scripts and regression tests.
- Updates paths across documentation and checks.
- Extends CI filtering and pytest coverage to
scripts/.
| File | Description |
|---|---|
scripts/sign-release.sh |
Updates usage path. |
scripts/publish-crates.sh |
Updates paths, including sponsord bump script. |
scripts/tests/test_sign_release_key_selection.py |
Targets relocated signing script. |
scripts/tests/test_publish_crates_env.py |
Targets relocated publishing script. |
RELEASING.md |
Documents new commands and downstream paths. |
release.toml |
Updates publishing-script reference. |
CHANGELOG.md |
Records the relocation. |
.github/workflows/release.yml |
Updates release workflow commentary. |
.github/workflows/ci.yml |
Covers both script directories in CI. |
.github/scripts/check-image-name.sh |
Checks the relocated signing script. |
🧠 Review effort: Balanced
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
Summary
sign-release.shandpublish-crates.shfrom.github/scripts/to a rootscripts/folder, matching devops. No workflow or hook runs either one. After this,.github/scripts/holds only what CI and hooks run.scripts/tests/. ThescriptsCI filter andci-tooling-testsnow cover both folders.publish-crates.shnow runs sponsord's bump fromscripts/open-decdn-bump.sh.check-image-name.shpaths, RELEASING.md and workflow comments, and adds a CHANGELOG entry.Merge after decdn/sponsord#67. If this merges first, a release's sponsord bump only warns and asks you to open the PR by hand.
Test plan
pytest .github/scripts/tests scripts/tests: 188 passed.github/scripts/check-image-name.shpassesscripts/sign-release.sh vX/scripts/publish-crates.sh vXstop at the tag check🤖 Generated with Claude Code