fix(deploy): gate test/staging deploys on bootstrap convergence, not just health #186
Loading…
Reference in a new issue
No description provided.
Delete branch "fix/test-deploy-bootstrap-gate"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Test deploy run #609 deployed healthy images yet served the previous
release's Docs theme: the one-shot bootstrap container (restart: "no")
never provably completed its Wiki.js stage, and nothing in the pipeline
distinguished a finished convergence from a dead, skipped, or
still-running one — a healthy app only proves the app started.
last line; stage failures already exit non-zero (set -eu, explicit
exit 1, wikijs 3-attempt retry).
release.py build-arg); wikijs-bootstrap.sh stamps it into injectHead
as the dwb-bootstrap-revision meta in the same theme PUT as
dwb-theme-build and verifies it reaches the served page.
verdict and name the failing stage — converged / bootstrap-missing /
bootstrap-stale / theme-stored-old / image-old (via --inspect Coolify
app metadata) / served-truncated / no-fingerprint — with a diagnosis
block carrying expected vs served fingerprint and revision.
digest pin is what forces recreate + start of the one-shot on every
deploy; an exited restart:no container neither retries nor proves
completion.
--inspect, raise --wait to 900s for multi-stage convergence time.
stubbed docker CLI (sentinel on success, non-zero + no sentinel on
stage failure) and the diagnose() stage matrix; wired into the
release-tests CI loop and release.py run_tests.