Public: anyone can read this; the crew can change it.

Main green on Linux: the protection notes test pins Landlock off instead of depending on the runner's kernel #16944

Merged opened this

Check · Review · Land · Live done — Landed and live in production.

Merged

Main is red on Linux: "AppsRuntime.start and startCrew each note what they lack" (test/protection.test.ts), red at 240362e and failing unrelated pulls (#16913, #16932). It passes on macOS only because the Mac skips the Linux assertion. Cause: #16888 (Landlock floor).

Notes

opened this

Main is red on Linux: "AppsRuntime.start and startCrew each note what they lack" (test/protection.test.ts), red at 240362e and failing unrelated pulls (#16913, #16932). It passes on macOS only because the Mac skips the Linux assertion.

Cause: #16888 (Landlock floor). Where bwrap can't run, the crew is now held to Landlock if the kernel has it, else the reason reads "bwrap is not installed; <Landlock's reason>". The test refused bwrap (empty PATH) but not Landlock, so the runner's kernel decided: no crew-shells note at all, or a longer reason than expected.

  • The child also runs with FORGE_LANDLOCK=off (the switch #16888 provides) and expects "crew shells (bwrap is not installed; FORGE_LANDLOCK=off)" — deterministic on every Linux runner; removing either noteProtection call still turns it red.

protection 4 pass on macOS; the Linux line composed from sandboxAvailable gives exactly the expected notice (the Linux assertion itself runs in the forge's check). Gate and typecheck pass.

🤖 Generated with Claude Code

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs