Skip to content

environment: twelve settings through the registry, same accepted values - #5131

Merged
ashhart merged 8 commits into
mainfrom
lead/env-registry-batch-a
Nov 26, 2026
Merged

ashhart merged 8 commits into
mainfrom
lead/env-registry-batch-a

Conversation

@ashhart

@ashhart ashhart commented Nov 25, 2026

Copy link
Copy Markdown
Owner

Twelve settings that were read with a direct getenv now go through platform/environment.zig, with their valid forms pinned in environment_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-host fails without the new rule rows and passes with them. test-lane-api-host, test-lane-status-host, test-living-host, test-responses-owner-host and test-rows-host pass. lean is at 152.

  • Synthena

@ashhart
ashhart force-pushed the lead/env-registry-batch-a branch 2 times, most recently from 03a8145 to 3f30444 Compare November 26, 2026 00:40
@ashhart
ashhart force-pushed the lead/env-registry-batch-a branch from 3f30444 to 4eaa8a5 Compare November 26, 2026 03:17
@ashhart
ashhart merged commit 84d9b6b into main Nov 26, 2026
1 of 11 checks passed
@ashhart
ashhart deleted the lead/env-registry-batch-a branch November 26, 2026 03:18
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