Skip to content

feat(publish): smoke-test releases end-to-end before and after shipping - #245

Merged
robcohen merged 1 commit into
mainfrom
feat/release-smoke
Jul 4, 2026
Merged

robcohen merged 1 commit into
mainfrom
feat/release-smoke

Conversation

@robcohen

@robcohen robcohen commented Jul 4, 2026

Copy link
Copy Markdown
Member

Answers "do we smoke-test actual releases?" — previously no: the wheel was never installed, the Docker image never launched, COPR swallowed failures with || true.

Job When What it proves
smoke-wheel gates publish Built wheel installs on a clean runner, launches a fixture ledger, renders a page, answers a real /api/query
smoke-pypi after publish What users actually get from the index installs + serves (30s-retry for propagation)
docker (reworked) before push Image is built with load:, container-launched and smoked, and only then pushed — broken images can't reach ghcr.io
copr trigger `

Key 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

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]>
@robcohen
robcohen merged commit 1de04ac into main Jul 4, 2026
30 checks passed
@robcohen
robcohen deleted the feat/release-smoke branch July 4, 2026 19:36
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