ci: prove the Fly credential without deploying - #30
Merged
Conversation
FLY_API_TOKEN now exists, but Deploy Worker only triggers on a push touching apps/worker/**. The obvious test -- re-running its last failed run -- would push commit e99cdbe from 2026-03-19 over a live service that someone deployed by hand, purely to test a credential. This reads instead: whoami and status, both read-only. The deploy stays push-gated and fires on the next real worker change.
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.
FLY_API_TOKENis now set on theproductionenvironment.Verifying it by re-running
Deploy Worker's last failed run would deploy commite99cdbe(2026-03-19) overwright-worker.fly.dev, which is currently serving a build deployed by hand. That is a production change made to test a credential.This adds a dispatch-only, read-only check —
flyctl auth whoamiandflyctl status— so the credential can be proven without touching the running service.Deploy Workeris unchanged and still fires only on a real push toapps/worker/**.