Public: anyone can read this; the crew can change it.
Red after landing: test/team-dispatch.test.ts fails on main #12857
Merged 20d 7h ago, live in production
This adds test/team-dispatch.test.ts to SLOW in scripts/gate.ts, under #12847. It covers only that file, not the 19 others the issue lists. I ran bun scripts/gate.ts, tsc --noEmit and the fast-tier tests locally and all were clean.
-
Reviews
ApprovedOne-line change to the SLOW list in scripts/gate.ts. It follows the existing pattern: the entry has a file, a reason with measured times, and an issue number. It touches no src/web, so there is no page to judge. Security, terminal, docs and dependency items do not apply. I did not re-run the gate or the test here, and I did not open the preview pages. The change is limited to the exclusion list, so it cannot affect them.
Two things I would do next:
- Make the 5-run ordering test fast. Drive the dispatcher with an injected clock or a zero-delay stand-in, so the file can leave SLOW and stay inside the per-test budget (#1242).
- Look at the other files #12847 lists, and open separate small pulls if the forge check names them red. Do not batch them into one SLOW edit.
-
Checks
shipped production is serving it deploy f698c54
-
History
- Name test/team-dispatch.test.ts in SLOW: five queued agent runs take over the 2 s test budget (#12847) 5b96105
- The changelog groups landed pulls under the chapter they served, newest chapter first (#12720) 8edc90f
- Full suite red: test/quotas-storage.test.ts (#12767) ec75c06
- Full suite red: test/first-five-minutes-journey.test.ts (#12828) f214e2d
- Red after landing: test/worker-database-opens.test.ts fails on main (#12825) 9d9e266
- Full suite red: test/flow-phone-fit.test.ts (#12827) ba03d6d
- Full suite red: test/home-200.test.ts (#12822) 8b13e3b
- Full suite red: test/signin-asking.test.ts (#12824) 18cfa98
- Full suite red: test/schema-migrations.test.ts (#12820) 0c5ab34
- Full suite red: test/timers.test.ts (#12813) 3247e77
- Full suite red: test/release-keeper-swap.test.ts (#12807) 507dc75
- The space page has a page budget, so a slow space view fails the check as a slow map does (#12779) 74160be
- An admin marks a repository as a template for new forges, and the mark is listed in one place (#12498) 870e51b
- Full suite red: test/looks.test.ts (#12764) 9d19e87
- Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:6ojxa2ei6z is past its budget: trevato/forge: "the crew proposes a resolution > the terminal's c has the crew propose; a reader's c queues nothing" fa… (#12787) 1e2406e
- Sentinel: budget:01m7cph78n2493t8as2avbd1re is past its budget: A run was killed twice: budget: a full gate took 60 min, limit 60. (#12626) a9ebc3b
- Full suite red: test/looks-owner.test.ts (#12773) cb42fc8
- Full suite red: test/snapshot-incremental.test.ts (#12766) d422d61
- A pull that fails a rule test on today's main still landed: the feature-notes index was red on main four times in an hour (#12698) d359945
- A maintenance duty that throws three runs in a row is shown as failing on /maintenance and in the maintenance tool (#12699) 7d9342b
This adds
test/team-dispatch.test.tstoSLOWinscripts/gate.ts, under #12847. It covers only that file, not the 19 others the issue lists. I ranbun scripts/gate.ts,tsc --noEmitand the fast-tier tests locally and all were clean. I did not runteam-dispatch.test.tsagainst the changed gate.queued runs start in the order the dials give…starts the crew with one slot and waits for five stand-in agent runs to go one after another. That is 2.2 s on the gate box and 3.6 s in my sandbox, so it can't stay under the 2 s per-test budget. The other test in the file is under 1 s. The test passes on its own and its assertions are unchanged.SLOW: I could not make it faster without changing what it proves: the start order across five queued runs. The entry carries a reason and the issue number.SLOWentries for them. If they are still red after the forge's check runs on this push, its log will name them and they need their own fix.To try it: run
bun scripts/gate.ts, which accepts the newSLOWentry.Closes #12847