The command line refuses the key the deployment would - #32
Merged
Merged
Conversation
Found by running `muxel init --console-key short`: it was accepted, the command went on to its preflight, and a real run would have provisioned a D1 database, a KV namespace and a Vectorize index before the setup page said the key was too short. The file already made this argument for the Telegram id — "a typo in a number should not cost a provisioning run" — and a key is the same argument with more at stake. The number is one number now. It lived in the runtime, which the command line cannot import, so it lives in @muxel/core and both read it. Two copies of a number are two numbers, and the one that drifted would be the one the owner met first. 4 tests, RED-checked by taking the guard back out. 946 pass. Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01FMFyy3oXb9u2AxoYQKRXHu
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.
Found by running
muxel init --console-key short: it was accepted, the command went on to its preflight, and a real run would have provisioned a D1 database, a KV namespace and a Vectorize index before the setup page said the key was too short.The file already made this argument for the Telegram id — "a typo in a number should not cost a provisioning run" — and a key is the same argument with more at stake.
The number is one number now. It lived in
packages/runtime/src/env.ts, which the command line cannot import, so it lives in@muxel/coreand both read it. Two copies of a number are two numbers, and the one that drifted would be the one the owner met first.4 tests, RED-checked by taking the guard back out. 946 pass.
🤖 Generated with Claude Code
https://claude.ai/code/session_01FMFyy3oXb9u2AxoYQKRXHu