Repository navigation
environment: twenty-nine more settings through the registry, same accepted values - #5152
Merged
Merged
Conversation
ashhart
force-pushed
the
lead/env-registry-batch-b
branch
from
November 26, 2026 04:07
7352da8 to
0793b99
Compare
…y, same accepted values
…ate.modelAdmission, before the model is created
ashhart
force-pushed
the
lead/env-registry-batch-b
branch
from
November 26, 2026 08:53
e2a2973 to
b0be0cc
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.
Twenty-nine more settings that were read with a direct
getenvnow go throughplatform/environment.zig, with their valid forms pinned inenvironment_valid_cases.zig. Most are DeepSeek-V4.1's CUDA and DSpark settings (layers, experimental admission, draft batching and projection modes, sampling batches, graph limits, phase timing and profiling rows) plusTF_EXPERIMENTAL. The new rules sit inenvironment_safe_rules.zigso the central file stays under 600 lines. The lean count goes from 152 to 123.Only settings where nothing changes moved: every value today's code accepts parses to the same result, and everything the registry refuses was already refused, ignored or unreachable. Where an old reader rejected whitespace-only values, a local guard keeps that refusal.
Checks:
test-environment-hostcovers all 63 valid forms; the six touched host suites and five Linux compile roots pass; fmt, AST and the 600-line cap pass. lean is at 123 with nothing new.