release: fduty side-mode provisioning -> main (cut v0.0.24)#74
Merged
Conversation
Move fduty provisioning AND the CLI's own `fduty update` onto a detached background goroutine, fully OFF the runner's startup path. The runner is usable immediately; fduty resolves a beat later and is upgraded in place when a newer release exists — so a runner self-update + re-exec carries the CLI forward "alongside" it on the next boot. Every step stays best-effort and non-fatal: a missing CLI only logs an actionable manual-install hint, never blocks startup. - StartFdutyProvisioningAsync(): `go ensureFdutyCLI()` — never on the hot path - fdutySelfUpdate(): runs `fduty update` pinned to the bundled-tools dir and to the runner's own mirror (FLASHDUTY_UPDATE_BASE_URL derived from the configured install URL), so private/regional deploys upgrade from where they were provisioned; env scrubbed via BashToolEnv with install vars re-added - each leg (stage / verify / update) self-bounds its own timeout, so no overall wrapper is needed
feat(provision): auto-stage + self-update fduty CLI in side mode (Phase 2)
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.
Promotes the fduty side-mode provisioning work (#73, on top of #71/v0.0.23) to
mainfor a patch release v0.0.24.Net change since v0.0.23: fduty provisioning +
fduty updateself-update now run on a detached background goroutine, fully off the runner's startup path. Best-effort + non-fatal; a missing CLI only logs a hint, never blocks startup. See #73 for full detail and local test evidence.