Skip to content

Skip wrangler whoami at startup - #13

Merged
ashishjullia merged 1 commit into
mainfrom
skip-wrangler-whoami
Sep 25, 2026
Merged

ashishjullia merged 1 commit into
mainfrom
skip-wrangler-whoami

Conversation

@ashishjullia

Copy link
Copy Markdown
Owner

Summary

  • Startup no longer runs wrangler whoami, which lists memberships and fails for an account API token even when CLOUDFLARE_ACCOUNT_ID is set.
  • The token and account id from the Portunus project stay in the environment for Wrangler commands.

Test plan

  • dev <project>/<stage> with CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID opens a shell without calling wrangler whoami.
  • A project without CLOUDFLARE_API_TOKEN still opens a shell and skips Cloudflare auth.

wrangler whoami always calls that API, so startup no longer uses it. Wrangler commands use CLOUDFLARE_API_TOKEN and CLOUDFLARE_ACCOUNT_ID from the Portunus project.
@ashishjullia
ashishjullia merged commit c82a9dc into main Sep 25, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant