Skip to content

Reject wynd dev --remote, pointing to remote bindings - #30

Merged
justanotherbyte merged 1 commit into
mainfrom
port/reject-dev-remote
Oct 27, 2026
Merged

justanotherbyte merged 1 commit into
mainfrom
port/reject-dev-remote

Conversation

@justanotherbyte

Copy link
Copy Markdown
Owner

Ported from cloudflare/workers-py#278.

wynd dev --remote and wynd dev -r now exit with code 1 before syncing packages or starting Wrangler. The error points to remote bindings. The check reads the flag the way Wrangler does:

  • --remote false and -r false turn it off.
  • --remote=<value> turns it on only for a literal true.
  • Arguments after -- are ignored.

Other commands, such as wynd d1 execute db --remote, still pass the flag to Wrangler unchanged.

The check sits in run_wrangler next to the existing --compatibility-date refusal. Upstream's generic unsupported-flags registry isn't ported, since this is the only flag. -r=true isn't handled: click splits it into short options and fails before wynd's code runs.

Reviewed with sol-loop: 1 round with gpt-6.1-sol. Sol verdict: approved

🤖 Generated with Claude Code

Ported from cloudflare/workers-py#278.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@justanotherbyte
justanotherbyte merged commit 67ead06 into main Oct 27, 2026
8 checks passed
@justanotherbyte
justanotherbyte deleted the port/reject-dev-remote branch October 28, 2026 01:08
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