Repository navigation
fix(tooling): let production bootstrap continue without cf login - #68
Merged
Merged
Conversation
Production bootstrap can use a scoped account setup token for Turnstile and Access while cf has no local login. Report that missing login as a warning and leave cf-only D1 and R2 operations to their own credential. Reject cf identity output that explicitly marks an API token invalid. Co-authored-by: Codex <noreply@openai.com>
WillieCubed
force-pushed
the
codex/cf-bootstrap-auth
branch
from
September 30, 2026 05:22
c190202 to
9be0e56
Compare
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.
TL;DR
pnpm bootstrap --productioncan reach Turnstile and Access setup with an account-owned setup token even when cf has no local login.Overview of Changes
The machine check now warns about missing cf authentication during production bootstrap, allowing independent platform setup steps to run. Cf commands that create or migrate D1 and R2 resources still need their own credential. Ordinary preflight remains strict, and an explicitly invalid account token no longer counts as an authenticated cf session.
This includes a regression test, updated command guidance, and the required 0.6.2 package and example pins.
pnpm checkpassed with 274 CLI tests and 79 web-platform tests.Follow-ups
None.