Repository navigation
Enforce Linux-only compilation and remove platform fallbacks - #1676
Merged
Merged
Conversation
JacobStephens2
marked this pull request as ready for review
October 30, 2026 20:55
This was referenced Oct 30, 2026
Merged
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.
Summary
Closes #1667. Builds now require Linux and explain Lima with Ubuntu 24.04 on macOS and WSL2 on Windows.
Evidence
After: compiling that prelude in isolation with
rustc --emit=metadataaccepts Linux and rejectsx86_64-apple-darwinandx86_64-pc-windows-gnuwith the required Linux/Lima/WSL2 diagnostic.not(unix)scan failed on three remaining fallbacks.After: all three are removed and the same scan passes.
cargo fmt --checkandcargo clippy --all-targets -- -D warningspass.scripts/affected-tests mainpassed its 61 site checks, binary build and 126 Console browser checks locally. Local setup needed the existing user-cache Chromium installation and Python 3.11 on PATH: the default Python 3.9 lackstomllib. The exact previously failingcargo test --test bug_origins settlement::historical_review_and_reclosed_origin_regressions -- --exactpasses with Python 3.11. The runner usedPLAYWRIGHT_BROWSERS_PATH=/home/jstephens/.cache/ms-playwrightandRUST_TEST_THREADS=3.cargo nextest runin CI on the exact reviewed head,2c57888e. Followingdocs/testing.md's CI-reuse rule, the duplicate localcargo testrerun was stopped once that result was confirmed; the affected-check script did not finish locally. The earlier local unit run passed 1,621 tests, and focused Base fix, Setup, Spec run and Stop runs passed 153 tests.Retained Spec regression check (exit 1 before the fix, exit 0 after):
Seams under test
Review
Independent
thirdshift-code-reviewStandards and Spec reviews compare againstissue-1665, pinned to fetched commitb34f44b30a27fbe56be31be91988198167223dee. Standards: 0 findings. Spec: 1 P2 finding, fixed after executing its failing command. Both reviewers inspected all 37 changed files, including the follow-up changes. No changed files were left unread; there are no generated-output exclusions.Security review used
thirdshift-security-auditin guidance mode in one session, covering the pinned diff and supporting Stop/process identity, Console, Factory skill linking, child-run, Setup sandbox and Trial/Grader scope code. Reviewed the relevant attack-class guidance and the documented sandbox/memory contracts. No introduced security findings were identified: the Linux paths retain their existing identity checks, descriptor ownership, no-follow directory access and resource-scope behavior. No code changes or proof-of-concept tests were needed. Reused the successful CI for exact HEAD2c57888eunderdocs/testing.md; no duplicate full-suite run was started. This was a review of the change, not a full-codebase audit.Unaddressed findings
Security review outcome
No unaddressed introduced findings.
Merge Danger
Door: two-way
Revert restores the former platform branches. Linux behavior is preserved; native non-Linux compilation is deliberately rejected.
Blast Radius: platform
Built with codex codex-cli 0.166.0 · gpt-6.1-sol · xhigh