Public: anyone can read this; the crew can change it.
The check cell has what takeLook with only loopback needs, or the test says so once and stays out of the verdict #17534
Merged 13h 7m ago, live in production
The loopback-only look test now decides every gap through verdict() (#17522). A uidmap refusal skips only in a check the Landlock floor holds; in any other check it fails and says what is missing. What the check logs show.
-
Reviews
ApprovedEvery gap now goes through verdict(). A uid_map EACCES skips only in a check held by the Landlock floor, and every other gap fails and names itself in a check. The table covers each prerequisite outside the check, in a check and under the floor. It would fail on main because missingFrom does not exist there. The skip prints once and a failure is thrown once. The change is test-only, so there is no page, terminal or docs door to check. I fetched the preview:
/answers 200 with 16045 bytes, and this pull changes no page. I did not run the tests.Two things I would do next:
- In missingFrom, a failed
unshare -Urprobe is reported ascannot make a network namespace. That is the NO_NAMESPACE text, but the case title says user namespace. Give the user-namespace probe its own wording and keep the startsWith check that verdict() relies on. - In verdict(), the floor condition rebuilds a fake UnshareProbe from the message string to reuse uidMapDenied. Let uidMapDenied take the text, or test the uid_map and Permission denied substrings directly, so the decision does not depend on a made-up exit code.
- In missingFrom, a failed
-
Checks
shipped production is serving it deploy 339cc69
-
History
- Rewrap the loopback-only look comments (gate --fix) 9539004
- The verdict table types its kinds as Verdict's, so tsc reads it (#17522) 8b566e9
- The loopback-only look decides every gap in verdict(): a uid_map refusal skips only where the Landlock floor holds the check (#17522) 7d9f826
- /sitemap.xml lists the public apps /explore ranks, up to 200, each with its last change (#13624) 9fff9f4
- Talk: what the dock said is cleared by the next turn, so the live region never keeps an old refusal (#17519) 2e019c9
- Talk: with several proposals waiting, the newest is first and open, so Do it answers what was asked last (#17515) 0fbd355
- A runner's cgroup delegated after it starts is used: a named cgroup not yet writable is asked again (#17501) a36194f
- The signed-out webspec walk is three tests under the 2 s CPU budget, its warm-up paid by the file (#17514) d0c3744
- The forge toolbar names the app's live version and its last deploy time, read from the running record (#14528) 6b41e66
- Merge pull request #17259 from fix/lent-credit-spent-words d70eec9
- Main merged into #17259's head (combined/17259) 4c04aae
- Full suite red: 3 files in check run 01m8vqpbqb5bt9v167f7qa4gs5 (#17511) 32f003b
- Main merged into #17259's head (combined/17259) 83a96a3
- Merge pull request #17365 from fix/landlock-floor-proc-readable f719d48
- Main merged into #17365's head (combined/17365) b7af7b4
- Main merged into #17259's head (combined/17259) 1d91e66
- The fast tier runs its files in one bun test --parallel --no-isolate, longest first, in place of N slices (#17509) 641629b
- Main merged into #17365's head (combined/17365) fe54d4d
- Main merged into #17259's head (combined/17259) cc3ce28
- Talk: a Do it on a held edit to the conversation's preview branch makes the branch, not "no such branch" (#17506) f6b35dc
The loopback-only look test now decides every gap through verdict() (#17522). A uid_map refusal skips only in a check the Landlock floor holds; in any other check it fails and says what is missing.
What the check logs show. All 50 failures from last week happened on 2026-12-01 between 02:00 and 09:35 UTC. The missing prerequisite was the user namespace, every time with unshare: cannot open /proc/self/uid_map: Permission denied. Chromium (/usr/bin/chromium, looks lane) and unshare were present each time. 45 of the checks ran on the forge itself and 5 on a runner, all behind the Landlock floor from #16888 just after it landed. 41 were verify-bisect runs on old main commits and 9 were pull heads. Every commit that could be traced predates #16954, the first fix. Nothing has failed this way since. The cell can't be given what's missing: the floor refuses the uid_map write on purpose. So the fix is in the verdict, not the cell.
What was still wrong on main. test/look-loopback-only.test.ts called probeUidMap() before verdict() and skipped on any uid_map refusal. That meant a check without the floor skipped too, and no test of verdict() covered that case.
What changed (test/look-loopback-only.verdict.ts):
- The probes now return plain data (
Prerequisites), andmissingFrom()names the first gap, in the same words as before.unshare -Ur trueis probed next tounshare -rn true, so both namespace probes give the same gap. verdict()skips in the check only when all three hold:FORGE_CHECK_FLOOR=landlock, the gap is the namespace, and the error is the uid_map EACCES (it reusesuidMapDenied). Every other gap in a check fails and names itself, including an EPERM fromunshareunder the floor. Outside the check, any gap skips.probeUidMap()is gone. The test file asks onlyverdict(). A skip prints its line once; a failure is thrown once instead of being logged and then thrown.
Tests. test/look-loopback-only-verdict.test.ts gains a table with each gap: not Linux, no unshare, no Chromium, uid_map refused for either probe, user namespaces not permitted, and nothing missing. Each runs outside the check, in a check, and in a floored check, and every skip or failure must contain what is missing. The table fails on main: missingFrom doesn't exist there, and the old verdict skipped the EPERM case under the floor. The existing tests are unchanged and pass. bun x tsc --noEmit is clean, the gate reports 0 failures, and the 144 files scripts/fast.ts named pass (2191 pass, 3 skip, 0 fail).
Not done:
- No change to how cells are set up: the floor refuses uid_map by design.
- Failing
verify-bisectruns on commits from before #16954 will still fail if a bisect revisits them. That code is fixed in history and can't be changed. - The plan wasn't kept with
keep_plan, because that tool wasn't available in this session.
To try it: bun test test/look-loopback-only-verdict.test.ts test/look-loopback-only.test.ts. Outside a check the look test prints one loopback-only look: skipped, … line when this machine lacks a namespace. Under FORGE_CHECK=x without FORGE_CHECK_FLOOR it fails with that gap named.
🤖 Generated with Claude Code
The loopback-only look test now decides every gap through
verdict()(#17522). A uid_map refusal skips only in a check the Landlock floor holds; in any other check it fails and says what is missing.What the check logs show. All 50 failures from last week happened on 2026-12-01 between 02:00 and 09:35 UTC. The missing prerequisite was the user namespace, every time with
unshare: cannot open /proc/self/uid_map: Permission denied. Chromium (/usr/bin/chromium, looks lane) andunsharewere present each time. 45 of the checks ran on the forge itself and 5 on a runner, all behind the Landlock floor from #16888 just after it landed. 41 wereverify-bisectruns on old main commits and 9 were pull heads. Every commit that could be traced predates #16954, the first fix. Nothing has failed this way since. The cell can't be given what's missing: the floor refuses the uid_map write on purpose. So the fix is in the verdict, not the cell.What was still wrong on main.
test/look-loopback-only.test.tscalledprobeUidMap()beforeverdict()and skipped on any uid_map refusal. That meant a check without the floor skipped too, and no test ofverdict()covered that case.What changed (
test/look-loopback-only.verdict.ts):Prerequisites), andmissingFrom()names the first gap, in the same words as before.unshare -Ur trueis probed next tounshare -rn true, so both namespace probes give the same gap.verdict()skips in the check only when all three hold:FORGE_CHECK_FLOOR=landlock, the gap is the namespace, and the error is the uid_map EACCES (it reusesuidMapDenied). Every other gap in a check fails and names itself, including an EPERM fromunshareunder the floor. Outside the check, any gap skips.probeUidMap()is gone. The test file asks onlyverdict(). A skip prints its line once; a failure is thrown once instead of being logged and then thrown.Tests.
test/look-loopback-only-verdict.test.tsgains a table with each gap: not Linux, nounshare, no Chromium, uid_map refused for either probe, user namespaces not permitted, and nothing missing. Each runs outside the check, in a check, and in a floored check, and every skip or failure must contain what is missing. The table fails on main:missingFromdoesn't exist there, and the oldverdictskipped the EPERM case under the floor. The existing tests are unchanged and pass.bun x tsc --noEmitis clean, the gate reports 0 failures, and the 144 filesscripts/fast.tsnamed pass (2191 pass, 3 skip, 0 fail).Not done:
verify-bisectruns on commits from before #16954 will still fail if a bisect revisits them. That code is fixed in history and can't be changed.keep_plan, because that tool wasn't available in this session.To try it:
bun test test/look-loopback-only-verdict.test.ts test/look-loopback-only.test.ts. Outside a check the look test prints oneloopback-only look: skipped, …line when this machine lacks a namespace. UnderFORGE_CHECK=xwithoutFORGE_CHECK_FLOORit fails with that gap named.🤖 Generated with Claude Code
Closes #17522