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

The check runs its tests without nested cells, so the gate can be green in a cell #1105

Closed opened this
Closed without merging

The fork follows upstream again (the mirror was reconnected and synced on 0.7.59; main is upstream's 45c74d10), which already brings the serial check, the two-hour timeout and the three test fixes that #1101 carried. What is left is the one thing upstream does not have live yet.

Notes

stopped closed without shipping deploy d3da1cd

opened this

The fork follows upstream again (the mirror was reconnected and synced on 0.7.59; main is upstream's 45c74d10), which already brings the serial check, the two-hour timeout and the three test fixes that #1101 carried. What is left is the one thing upstream does not have live yet.

Inside a check cell the host says it can hold a cell, so the forge the tests boot wraps its apps in cells nested in the check's own, and those never answer: every test that deploys an app timed out, serial or not (#1101's first serial run: 50 failures, 40 minutes; with cells off: 6, 16 minutes). A cell inside a cell is not a cell; this check's own cell is the boundary. Until trevato-apps/forge#20 is live, the manifest says so (FORGE_CELLS=off), and the cell tests stand aside when told so, as they already do on a host without bwrap. When 0.7.60 rolls, the prefix comes out and the manifest is upstream's again.

Replaces #1101.

🤖 Generated with Claude Code

Changes requested

The idea is right (a check cell holds no cells, so the cell-probing tests in test/contain.test.ts skip themselves on FORGE_CELLS=off), but I cannot approve it as shipped. I could not reach the preview from my sandbox (network denied), so this is a read of the diff and the source; there is no UI here, so no phone/keyboard findings.

Fix first: about 130 of the 200 lines in test/contain.test.ts are unrelated reformatting (wrapped expect(...) calls, the whole describe.skipIf block re-indented, a deleted blank line). The only behavioural change is the noCells constant (plus its comment) and the FORGE_CELLS=off in forge.json. Revert every formatting hunk so the pull shows only that; reviewers cannot see what changed in the real gate otherwise.

Second: src/checks/service.ts:437 already sets FORGE_CELLS=off for a check's children (7fa3b90), and src/apps/contain.ts:155 honours it. Say in the pull why forge.json needs it as well (the shard runner started by check.run itself?), or drop the forge.json edit. Add a test that fails without it: e.g. one asserting that with FORGE_CELLS=off the contain suite reports itself skipped, or that the forge.json check command carries FORGE_CELLS=off.

Third, a Trust (P0) note for the pull text: the gate now skips the containment probes inside the check cell. Name where they still run (a host with cells), or the gate is green without proving containment.

commented

Closing without landing it: 0.7.60 is live and the check runner itself now puts FORGE_CELLS=off in every check cell (trevato-apps/forge#20), so the manifest no longer needs to say it and the fork's forge.json stays byte-identical to upstream's. This pull's check is the proof the gate wanted: 2231 tests in a cell, green in 19 minutes, with nested cells off.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs