Repository navigation
Conversation
A Quick Deploy buyer could type 4 characters into SUPABASE_SECRET_KEY or OPENAI_API_KEY: the contract had no way to say what a key looks like, so nothing could refuse it. - FieldPolicy gains pattern (whole-value regular expression) and max_length; the platform checks them in the Quick Deploy form and in the deploy start. - A contract nothing could satisfy is refused when parsed: a pattern that does not compile, min_length over length, min_length over max_length, length over max_length. - The alphanumeric generator honours length (it used min_length only and ignored length, so length 16 produced 32 characters). Tests first: tests/config_contract_pattern.rs and the shared contract's new examples failed, then passed. cargo test --lib 2275 passed. Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_012TKZy6f5shPzM9WLdswH6f
…ength config_contract: pattern and max_length; length means exactly
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.
Release #301 (config_contract pattern / max_length; alphanumeric length generated exactly).
Needed on production now: awesome-selfhosted-stacker main (local-ai-packaged, merged #35) uses
pattern/max_length; production stacker without #301 refuses that contract (prepare and bake of local-ai-packaged at ref main fail). Quick Deploy links pinned to fe92a73 are not affected.🤖 Generated with Claude Code
https://claude.ai/code/session_012TKZy6f5shPzM9WLdswH6f