Repository navigation
refactor(launch): remove --require-spored footgun; verify spored unconditionally - #283
Merged
Merged
Conversation
…ally --require-spored (default true) only ever skipped the launch-time spored-readiness CHECK — it never controlled whether spored runs (bootstrap always installs + systemctl enable --now spored). But the name implied 'launch without the lifecycle agent', which misled a field user into blaming it for an unrelated early termination (#277). A spurious off-switch on the TTL/idle safety net is exactly the kind of footgun spore.host exists to eliminate. Remove the flag; the readiness check is now unconditional whenever launch waits for SSH. Honest escape hatches remain: --wait-for-ssh=false skips the whole readiness path (for genuinely SSM-unreachable envs), and --terminate-on-error still governs auto-terminate on a failed check. Pairs with the #277-A fix (wait for SSM agent registration), which removed the main reason to reach for it.
Codecov Report❌ Patch coverage is
📢 Thoughts on this report? Let us know! |
scttfrdmn
added a commit
that referenced
this pull request
Jul 9, 2026
Promote CHANGELOG [Unreleased] -> [0.70.0]. Since v0.69.0: - Removed --require-spored (footgun: never controlled whether spored runs, only the launch-time check; readiness verification is now unconditional) (#283, #277) - CI: spored S3 upload no longer skipped when the Homebrew/Scoop tap push fails (#281, #280) - Docs: release-tap-token runbook for the fine-grained PAT (#282, #280) MINOR: a launch flag was removed.
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.
Why
--require-spored(defaulttrue) only ever skipped the launch-time spored-readiness check. It never controlled whether spored runs — the bootstrap unconditionally installs andsystemctl enable --now sporedregardless. But the name implied "launch without the lifecycle agent," and that misled the #277 reporter into blaming--require-spored=falsefor an unrelated ~100s termination (spored was still running the whole time).A spurious-looking off-switch on the TTL/idle safety net is exactly the footgun spore.host exists to eliminate — no forgotten bills, no zombie instances. So: remove it.
What changes
spawn launchwaits for SSH.--wait-for-ssh=falsealready skips the entire readiness path (the legitimate SSM-genuinely-unreachable case).--terminate-on-errorstill governs whether a failed check auto-terminates.Notes
go build/vet/gofmt/go test ./cmd/green; verified--require-sporedis gone fromspawn launch --help.Removedentry added.