Repository navigation
feat(publish): smoke-test releases end-to-end before and after shipping - #245
Merged
Merged
Conversation
Releases previously shipped with zero install-and-run verification — the wheel was never installed, the Docker image never launched, and the COPR trigger swallowed its own failures with '|| true' (#243 follow-up discussion). - smoke-wheel (gates publish): installs the BUILT wheel on a clean runner like an end user, launches against a fixture ledger, asserts a page render and a real /api/query round trip. The wheel ships without the engine component (runtime path is gitignored), so this exercises the first-run component download fallback exactly as every pip user hits it — validated locally: install, fallback download of v0.20.2, serve, query all work. - smoke-pypi (after publish): pip-installs the published version from the real index (30s-retry window for propagation) and repeats the launch smoke — verifies what users actually receive. - docker: the image is now built with load:, SMOKED (container launch + page render), and only then pushed — a broken image can no longer reach ghcr.io. The push step reuses the build cache. - copr: dropped '|| true' — a failed trigger now fails the job (--nowait still means the COPR build itself is not awaited). Co-Authored-By: Claude Opus 4.8 <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Answers "do we smoke-test actual releases?" — previously no: the wheel was never installed, the Docker image never launched, COPR swallowed failures with
|| true.publish/api/querypublishload:, container-launched and smoked, and only then pushed — broken images can't reach ghcr.ioKey detail: the wheel deliberately ships without the engine component (runtime path is gitignored), so smoke-wheel exercises the first-run download fallback exactly as every pip user hits it. Validated locally end-to-end: clean venv → wheel install →
Downloading rustledger component wasm (v0.20.2)... Done.→ server up → page grep + query round trip green.🤖 Generated with Claude Code