Public: anyone can read this; the crew can change it.
The tests outside the gate run on a schedule, so a suite that breaks is seen the day it breaks #2559
Merged 47d 20h ago, live in production
Each file in EXCLUDED now runs nightly, and a red one opens, updates or closes a Red: issue. The last check failed on a test I didn't touch. That failure is what parked the first pull (#2556).
-
Reviews
ApprovedApproved. This is tooling only: a nightly workflow, a flake-hunt mode, and pure helpers (outsideFiles, redActions, redIssueFor, redFile) with tests. It adds no page, endpoint or dependency, and the token only goes to FORGE_API. The partition test (gate plus outside covers every file once) is the right guard. I did not exercise the preview, since there is no UI to see. Two things I would do next: (1) The issue open/update/close calls in outside() are untested and have not run against the forge. Run the workflow once by hand (workflow_dispatch) and check the first Red: issues before relying on it. Also check the close path: the comment POST result is ignored, so a failed comment is silent. (2) The assertion
expect(issue.body).not.toContain("second one")` in test/flake.test.ts is nearly vacuous because of the trailing space. Assert that the body names only the first failing test in its "first failing test:" line. Smaller: seed 0 now means unseeded in runFile, but freshSeed() can return 0 (1 in 4 billion). Use undefined or a flag instead. Four of 25 excluded files were red locally, so expect the first night to file several issues. Let the owner see them once, as designed. -
Checks
shipped production is serving it deploy f698c54
-
History
- Document the nightly run of the files outside the gate (#812) 7f8f857
- Run the files outside the gate nightly: a red one opens a Red: issue naming its first failing test, a green one closes it (#812) 5856136
- Take updates from trevato/forge-upstream e037b63
- Merge pull request 'An app that runs without a cell stops with everything it started, and leaves no child running once it has gone' (#63) from grokbot/forge:fix/app-stop-whole-tree into main b27bb0c
- The sentinel files a degraded incident once: closed as done, the same incident is commented on, not filed again (#2554) b4089bd
- Checks at once and shards per check default to what the pod's CPUs hold, so a big machine needs no override (#2551) 1761ba7
- An app that runs without a cell stops with everything it started, and leaves no child running once it has gone 077b856
- Crew runs at once defaults to what the pod's memory holds, as children.max does, so a big machine needs no override (#2550) 99a30d5
- Sentinel: drill was degraded 175 minutes today: The restore drill failed at restore: restore timed out: no answer in 596591.192678988 ms. Snapshot 2026-10-14T08-00-00Z… (#2544) f0cf2a8
- Sentinel: drill was degraded 114 minutes today: The restore drill failed at restore: restore timed out: no answer in 596591.192678988 ms. Snapshot 2026-10-14T08-00-00Z… (#2542) 8847dd4
- Sentinel: drill was degraded 54 minutes today: The restore drill failed at restore: restore timed out: no answer in 596591.192678988 ms. Snapshot 2026-10-14T08-00-00Z… (#2540) cf5d784
- Nightly off-box backups fit the uplink: the upload's deadline follows its size, in parts, compressed (#2538) cf49857
- Take updates from trevato/forge-upstream bed34b4
- Merge pull request 'The signup tool says what invite does now: an open invite link lets a person in, spent with the account' (#62) from dev/signup-invite-text into main dc68048
- The signup tool says what invite does now: an open invite link lets a person in, spent with the account 17eb677
- Take updates from trevato/forge-upstream f5b8991
- Merge pull request 'An invite link opens signup once while signup is invite: the form, the passkey door and the API take its token, and the account and the invite's use are one write' (#49) from dev/invite-redeem into main faaadc2
- Take updates from trevato/forge-upstream a1147f7
- Merge remote-tracking branch 'origin/main' into dev/invite-redeem f6e0e3b
- Merge pull request 'Pack transfers at once follow the host's memory, so a 512 MiB cell does not run sixteen pushes and their hooks past its limit' (#61) from dev/transfer-gate-memory into main 1922a5f
Each file in EXCLUDED now runs nightly, and a red one opens, updates or closes a Red: issue. The last check failed on a test I didn't touch. That failure is what parked the first pull (#2556).
- The failing test: the check failed on one test in
test/crew-parks.test.ts("the planner re-planning on its own pass: splits, drops what the crew wrote, closes what is done, and no more"). I couldn't reproduce it. It passes on its own, passes in the file's normal order, and passes three runs under CPU load. My diff doesn't touch that test or the code it covers, so I left it alone and pushed again to rerun the check. - Random order:
bun test --randomize test/crew-parks.test.tsdoes fail in several tests in that file. I don't know whether the randomize failures cause the check failure. That suite looks order-dependent and may need its own issue. - Nightly run:
.forgejo/workflows/outside-gate.ymlrunsbun scripts/flake-hunt.ts outside --file-issuesat 03:47 UTC, and on manual dispatch. It runs the files inEXCLUDEDone at a time with the gate's 60 s timeout. It needs the sameFORGE_TOKENsecret andFORGE_URLvariable asflake-hunt.yml. - Same list:
outsideFiles()inscripts/gate.tsis the complement ofgateFiles()overEXCLUDED. A test checks that the two together cover every test file exactly once, so a file moved into the gate stops being run by the schedule. - Issues:
- A newly red file opens one
Red: test/x.test.tsissue naming its first failing test. - Red on a different test updates the issue body, with a comment as fallback if the edit is refused.
- Red on the same test says nothing, so the owner's asks show it once.
- A file that passes again gets a comment and its issue is closed.
- A newly red file opens one
- The three named suites:
test/scale.test.ts,test/app-domains.test.tsandtest/web-ui.test.tsare already in the gate and pass, so there was nothing to fix or move. - Docs: the README now describes the nightly run.
I ran test/flake.test.ts and test/check-list.test.ts (38 pass) and tsc --noEmit. I never exercised the issue open, update and close calls against the forge, and the workflow hasn't run. A local outside run (in the sandbox, which blocks some network calls) had 4 of 25 files red: crew-interrupted, crew-sandbox-real, scaffold and snapshot-destination; the first nightly run will show which are real.
I did not fix any excluded suite or move one into the gate. It runs nightly only, not after each merge.
🤖 Generated with Claude Code
Each file in
EXCLUDEDnow runs nightly, and a red one opens, updates or closes aRed:issue. The last check failed on a test I didn't touch. That failure is what parked the first pull (#2556).test/crew-parks.test.ts("the planner re-planning on its own pass: splits, drops what the crew wrote, closes what is done, and no more"). I couldn't reproduce it. It passes on its own, passes in the file's normal order, and passes three runs under CPU load. My diff doesn't touch that test or the code it covers, so I left it alone and pushed again to rerun the check.bun test --randomize test/crew-parks.test.tsdoes fail in several tests in that file. I don't know whether the randomize failures cause the check failure. That suite looks order-dependent and may need its own issue..forgejo/workflows/outside-gate.ymlrunsbun scripts/flake-hunt.ts outside --file-issuesat 03:47 UTC, and on manual dispatch. It runs the files inEXCLUDEDone at a time with the gate's 60 s timeout. It needs the sameFORGE_TOKENsecret andFORGE_URLvariable asflake-hunt.yml.outsideFiles()inscripts/gate.tsis the complement ofgateFiles()overEXCLUDED. A test checks that the two together cover every test file exactly once, so a file moved into the gate stops being run by the schedule.Red: test/x.test.tsissue naming its first failing test.test/scale.test.ts,test/app-domains.test.tsandtest/web-ui.test.tsare already in the gate and pass, so there was nothing to fix or move.I ran
test/flake.test.tsandtest/check-list.test.ts(38 pass) andtsc --noEmit. I never exercised the issue open, update and close calls against the forge, and the workflow hasn't run. A localoutsiderun (in the sandbox, which blocks some network calls) had 4 of 25 files red:crew-interrupted,crew-sandbox-real,scaffoldandsnapshot-destination; the first nightly run will show which are real.I did not fix any excluded suite or move one into the gate. It runs nightly only, not after each merge.
🤖 Generated with Claude Code
Closes #812