Repository navigation
environment: twelve settings through the registry, same accepted values - #5131
Merged
Merged
Conversation
ashhart
force-pushed
the
lead/env-registry-batch-a
branch
2 times, most recently
from
November 26, 2026 00:40
03a8145 to
3f30444
Compare
This was referenced Nov 26, 2026
…e in what they accept
ashhart
force-pushed
the
lead/env-registry-batch-a
branch
from
November 26, 2026 03:17
3f30444 to
4eaa8a5
Compare
ashhart
added a commit
that referenced
this pull request
Nov 26, 2026
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.
Twelve settings that were read with a direct
getenvnow go throughplatform/environment.zig, with their valid forms pinned inenvironment_valid_cases.zig. They are spread across nine files: checkpoint prefetch and read-ahead, lane fill and prefix, memory pressure, CUDA affine4, experts and RoCE, the pocket, and the CLI. The lean count goes from 164 to 152.Only settings where nothing changes moved. For each, every value today's code accepts parses to the same result, and everything the registry refuses was already refused, ignored or unreachable. The 50 settings where the registry would be stricter are left as they are.
Checks:
test-environment-hostfails without the new rule rows and passes with them.test-lane-api-host,test-lane-status-host,test-living-host,test-responses-owner-hostandtest-rows-hostpass. lean is at 152.