Skip to content

relay: release artifacts + checksum-verified update (NA-0164) - #20

Merged
Tebbens4832 merged 1 commit into
mainfrom
na-0164/release-checksum-update
Feb 25, 2026
Merged

Tebbens4832 merged 1 commit into
mainfrom
na-0164/release-checksum-update

Conversation

@Tebbens4832

Copy link
Copy Markdown
Member

Goals: G2, G5\n\nImpact:\n- Adds reproducible Linux release artifacts with stable checksum file naming.\n- Adds a fail-closed update path that verifies SHA256 before install and performs atomic replacement with rollback on service-start failure.\n- Adds CI enforcement that checksum mismatch fails without mutating install state.\n\nNo-regression:\n- Existing install/update scripts remain available; runbook now recommends checksum-verified release path first and keeps build-from-source fallback.\n- No src/** behavior changes.\n\nTests:\n- scripts/ci/test_update_checksum.sh\n- cargo test --locked\n- cargo clippy --all-targets -- -D warnings\n\nAdjacency scan summary:\n- Commands run:\n - rg -n "update_ubuntu.sh|install_ubuntu.sh|INSTALL|/opt/qsl-server|systemctl|ExecStart" -S scripts packaging README.md\n - ls -la .github/workflows\n - rg -n "workflow_dispatch|push:|tags:|release|upload-artifact|gh-release" -S .github/workflows\n - rg -n "sha256|sha256sum|checksum" -S scripts .github packaging README.md\n- Findings:\n - Existing update path only replaced local binary and restarted service; no checksum verification.\n - Existing CI had only ci.yml rust job; no release artifact pipeline.\n - No existing checksum handling in scripts/workflows/docs.\n\nInvariant enforced by tests:\n- updates verify SHA256 before install; failures do not mutate install state.\n\nNo secrets committed: examples/scripts use placeholders only and contain no token-like literals.

@Tebbens4832
Tebbens4832 merged commit 4610c82 into main Feb 25, 2026
1 check passed
@Tebbens4832
Tebbens4832 deleted the na-0164/release-checksum-update branch February 25, 2026 01:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant