Snapshot taken 2026-11-10, 06:52 to 07:05 UTC. Read-only page. All times are UTC.

Where tests run now, and where we get blindsided

CI did not go away; it moved. The test robot on the git server was switched to manual on 11-07 and now runs nothing by itself.1 The tests moved inside every factory room: a room must pass the repo's own test script before it may deliver.2 But merges into the main branch (the seat's, the helpers', the factory's) run almost no tests.3 So a bad merge is found later, by the rooms, and every room fails at once.

"CI" means tests that run by machine on every change. "Main branch" is the one shared copy of the code that everything ships from. A "room" is one sealed machine where an agent builds one ticket.

3separate breaks on Ferrum's main branch tonight; the third is still open10
27room runs that failed the repo-wide test gate, 02:56 to 06:5211
9Ferrum tickets hit, none delivered since 03:0011
11–16rooms free while 8 to 10 tickets sat parked, from 06:0514

One change, from ask to live

Each row is one repo. Each coloured bar is a place where a check runs. The colour says what a failure there stops.

Blocks a merge Blocks only a room Blocks nothing After the fact: undoes a deploy
pithe agent harness, the ticket factory, and FeCode

Ask

You ask the seat.

Ticket

Seat writes a ticket file. Small fixes skip this and go straight to merge.

Room

Blocks only a roomTicket's own tests: the room must add a test and pass it.4 Blocks only a roomRepo script, 30 min limit: copy-paste check plus only the test files this change touched.5

Merge

Blocks a mergeRoom's work: changed files must load. No tests.6 Blocks a mergeSeat's own merge: changed files must load, extensions must start. No tests.3 Blocks nothingGit-server CI: manual only since 11-07.1

Deploy

Every push: each machine pulls the newest main.7

Blocks nothing"Only deploy green" is switched off.7 Blocks that deployFeCode only: the app must build, or the old app stays and a note is written.8

Live

Agents and FeCode run the new code.

ferrumthe product

Ask

You ask the seat.

Ticket

Ticket file lives in pi. The room works on Ferrum.

Room

Blocks only a roomTicket's own tests.4 Blocks only a roomRepo script, 30 min limit: code check, type check, a long API test list, plus whole-repo checks that fail if main itself is broken.9

Merge

Blocks a mergeRoom's work: files must load, web types must pass. No tests.6 Blocks a mergeSeat's own merge: one naming check, added tonight after the break. No tests.3 Blocks nothingGit-server CI: manual only since 11-07.1

Deploy

Server checks for new main every 5 minutes.15

Blocks nothingCI result is read, then ignored: "deploying anyway".15 Blocks that deployA database change not yet applied stops the deploy there.16

Live

Undoes a deployHealth check and a live smoke test run after deploy. A failure puts the old version back.16
copilotthe seat's scripts, plans and the webhook trigger

Ask

You ask the seat.

Ticket

None. The factory only works on pi and ferrum.17

Room

None. No repo test script exists here.17

Merge

Seat commits straight to main.

Blocks nothingNo check of any kind.17

Deploy

The scripts run from this folder, so a commit is live at once. A push also syncs published pages.17

Live

These scripts do the merging and room-starting for the other two repos.

Read the picture this way. The amber bars are the only real tests. They sit in the room. The red bars at merge only ask "does the file load". So nothing tests the main branch itself, yet every room depends on the main branch being healthy.

Where we get blindsided

The gapWhat happened because of itWhat it cost
Whole-repo checks run inside every room, but never when main changes. 11-10: three merges each broke a whole-repo check on Ferrum's main. No machine noticed at merge time. Rooms found out one by one.10 27 failed room runs. 9 tickets. 3 h 55 min from first to latest failure, and still open.11
The seat's and helpers' merges skip the tests. 11-10 06:07: the seat added one check to its Ferrum merge script. At 06:10:36 the next merge (PR 1729) broke a different check that the script does not run.12 Main red again 3 min 47 s after it was fixed. 2 more rooms failed by 06:52.12
When main is broken, the dispatcher blames the ticket. 11-10 05:19: 7 tickets parked as "failed twice today". 06:07: 8 parked as "gate-dead" (three gate failures in a row). The seat had to un-park them by hand-editing a date file, three times.13 11 to 16 rooms free with 0 to 2 starts per run, 06:05 to 06:56. 10 tickets parked at 06:52.14
One break hides the next. The test script stops at its first failure. Break 2 merged at 02:51:42 but stayed hidden behind break 1 until 05:25:42.18 2 h 34 min before anyone could see the second break. It then took 41 more minutes to fix.18
Nothing retries when the system is quiet. 11-10: the dispatcher wrote no rows from 03:03:47 to 05:01:42. It runs when something is pushed, and nothing was. Cause not confirmed.19 1 h 58 min with zero room starts.19
Scripts and notes still talk as if CI runs. The pi merge script says "CI post-merge still runs and reports". It does not: the workflow is manual only. The Ferrum deploy notes say "deploys only green"; the code says "deploying anyway".20 No hours measured. This is why "do we have CI" has no clear answer.
The room log is split across machines. The log on the main factory machine shows 6 hit tickets. The desktop's log holds the rest. Read one file and you see about half.11 The first count tonight was 6 tickets. The real count is 9.
Same gap, earlier dates (from notes left in the scripts). 10-30: three reds on pi's main from skipping one test. 11-07: a merge deleted a folder and pi would not start. 11-08 to 11-09: a ticket broke every FeCode build.21 FeCode: 7 hours stale and nobody knew.21

What tonight looked like

The seat's lead was "one bad test merge, failures from 05:12". The logs say otherwise: failures began at 02:56, and there were three causes, overlapping. Red bars show when each check was broken on Ferrum's main.

1. Module boundary check
2. Naming check
3. Alert mail test
02:3003:3004:3005:3006:30
  1. Break 1. PR 1718 merges. The module boundary check now fails on main. (That check stops code areas from reaching into each other.) PR 1719 at 02:51:39 adds a second failure to it.10
  2. Break 2. PR 1720 merges the form probe test. One line trips the naming check. This is the merge the seat knew about.10
  3. First room fails the repo test gate (ticket 1260). Six more follow by 03:03:45.11
  4. Last Ferrum ticket to open a pull request (ticket 1254). A pi ticket delivered later, at 05:17:51, so "nothing delivered after 03:02" is true for Ferrum only.11
  5. Dispatcher goes quiet. No rows for 1 h 58 min.19
  6. Dispatcher wakes and restarts 10 tickets in five runs.19
  7. Rooms start failing again. Nine fail by 05:25:42. At 05:19:39 the dispatcher has parked 7 tickets as "failed twice today".13
  8. Fix 1. PR 1727 makes the boundary check pass. Two minutes later a room shows the naming failure for the first time.18
  9. Third wave. Nine rooms fail by 06:08:11, eight of them on the naming check.11
  10. Fix 2. PR 1728 renames the variable. Naming check passes. At 06:07:07 the dispatcher shows 12 rooms free, 8 tickets parked as "gate-dead", 0 started.14
  11. Break 3. PR 1729 merges a change to alert mails. Its own test now fails on main.12
  12. Ticket 1235 fails on break 3. Ticket 1253 follows at 06:52:04. Ten tickets parked.12
  13. Still red when this page was made. Checked on the newest main (commit 9fc00e1cb).12

Two real rows from the room log (cut where marked with …):

2026-11-10T02:56:40.183Z ticket=1260 run=37324 admission=admitted room_run=failed exit=1 outcome=gate-blocked pr=unknown room=pi-9b6df65834f7e5f08c2f5321 reason=room: guest exit 1: goal blocked: gate failed: timeout=1800s bash -o pipefail -c 'set -e; head=$(git rev-parse HEAD); … echo "repository CI needs clean committed HEAD" … (exit 1): raise AssertionError("\n".join(failures))
2026-11-10T05:25:42.666Z ticket=1235 run=37335 admission=admitted room_run=failed exit=1 outcome=gate-blocked pr=unknown room=pi-f7cbba5e79010c82c2196364 reason=room: guest exit 1: goal blocked: gate failed: timeout=1800s bash -o pipefail -c 'set -e; head=$(git rev-parse HEAD); … (exit 1): schema-name self-test: PASS (155 cases) ap

And one from the dispatcher log:

{"at": "2026-11-10T06:07:07Z", "free": 12, "started": 0, "skipped": {"delivered": 210, "gate-dead": 8, "recent": 2}, …}

A simpler design

Proposal. Not built.
1A room proves only its own ticket.
2The whole-repo test set runs once per push to main, in one place.
3When main is red, no room starts. That break is fixed first.
4The seat's own merges run the same quick main checks before merging.

What each rule would have changed tonight

Still to decide before building: which checks count as "quick", where the one main run lives (the idle git-server CI or the factory machine), and who is woken when main turns red.

Not verified

Sources (every number above)
  1. /home/jay/.pi/.forgejo/workflows/ci.yml:2-4 and /home/jay/ferrum/.forgejo/workflows/ci.yml:20-22: comment "Jay 2026-11-07: PR/push CI gutted … Manual runs only", trigger is workflow_dispatch only. copilot has no .forgejo/workflows folder.
  2. /home/jay/.pi/agent/extensions/factory/repository-ci.mjs:8-9 (script path, 1800000 ms = 30 min), :20 (runs as user pi-ci), :88-89 (gate added to every room contract), :117. Wired in at deliver.mjs:17,164,264.
  3. /home/jay/copilot/scripts/force-merge.sh:12-17 ("tests report, never refuse. Only a load smoke blocks"), :38 (forced merge). /home/jay/copilot/scripts/ferrum-merge.sh:3-7 (one check: gate_schema_name.py), :11 (forced merge). That check was added in copilot commit c391989, 2026-11-10 06:07:22Z.
  4. /home/jay/ferrum/scripts/room-own-tests.sh:2-7 and the same file in pi: pass = the room added or changed a test file and it passes. Example use: /home/jay/.pi/plans/ticket-1263-ferrum-audit-deck.md:73. Count 49 of 56: grep -c room-own-tests.sh /home/jay/.pi/plans/ticket-12*.md.
  5. /home/jay/.pi/scripts/ci-room.sh:2-7 ("slop job … then only the node test files under tests/ changed since the merge base. Never the full suite"), :27-34. File is on pi's main: git ls-tree origin/master -- scripts/ci-room.sh.
  6. /home/jay/copilot/scripts/factory-land.py:2-7 ("Only a parse failure blocks"), :99-106 (parse check, Ferrum web type check), :115 (forced merge), :14 (repos: pi and ferrum only).
  7. /home/jay/copilot/trigger/hook.py:5,22-24,52-55. /home/jay/.pi/scripts/pi-autodeploy.sh:538-540: "Shadow CI … deploy the master tip; the post-merge gate returns only with PI_AUTODEPLOY_REQUIRE_GREEN=1".
  8. /home/jay/copilot/trigger/fecode_deploy.sh:8,16-17,24-27.
  9. /home/jay/ferrum/scripts/ci-room.sh:273-293 (the room lane), :96-184 (API list with changed-file selector at :69-94), :119-120 (code and type check), :282 (module boundaries, no selector), :253-271 (docs lane: :256 alert test, :268-269 naming check, no selector), :11 (stops at first failure).
  10. Ferrum git log origin/master: 4a24fc283 PR 1718 merged 02:45:27Z; 663396967 PR 1719 02:51:39Z; 05542c65f PR 1720 02:51:42Z; e2966dd79 PR 1727 05:23:08Z; 93e92ee2c PR 1728 06:06:49Z; 270576f0c PR 1729 06:10:36Z. I ran each check on a clean copy of the commit before and after: test_module_boundaries.py passes before 4a24fc283, fails at it, passes at e2966dd79. gate_schema_name.py passes before 05542c65f, fails at it (file apps/sites/scripts/test_zz_deploy_probe.mjs:161), passes at 93e92ee2c. scripts/test_status_alert_quota.py passes at 93e92ee2c, fails at 270576f0c and at 9fc00e1cb.
  11. /var/lib/forgejo-runner/factory-runs/factory.log on the main factory machine (rows 2319-2331) plus the same file on the desktop, rows dated 2026-11-10T02 to T06. Rows with outcome=gate-blocked and "repository CI": 7 (02:56:40 to 03:03:45), 9 (05:12:25 to 05:25:42), 9 (06:01:51 to 06:08:11), 2 (06:49:01, 06:52:04) = 27. Tickets: 1235 1253 1260 1261 1262 1263 1271 1272 1274. Main-machine file alone: 1235 1253 1260 1262 1263 1271. Deliveries: ticket 1254 PR 1725 at 03:00:39; ticket 1276 PR 5601 at 03:02:22 (pi); ticket 1275 PR 5603 at 05:17:51 (pi).
  12. Copilot commit c391989 at 06:07:22Z added the check; PR 1729 merged 06:10:36Z (06:06:49 + 3 min 47 s). Desktop factory.log rows 06:49:01 (ticket 1235, run 37354) and 06:52:04 (ticket 1253, run 37355) end in "RECOVERED" in recovered[0]["subject"]), which is /home/jay/ferrum/scripts/test_status_alert_quota.py:120. Re-run by me at 06:58Z on 9fc00e1cb: exit 1, IndexError.
  13. /home/jay/copilot/.dispatch.log: row 05:19:39Z "failed2x": 7; row 06:07:07Z "gate-dead": 8; row 06:52:33Z "gate-dead": 10. Rules: /home/jay/copilot/scripts/factory-dispatch.py:217-225 (gate-dead = last 3 runs all gate-blocked), :239-251 (failed twice today), :358-360. Hand edits of ops/base-fixed.json: copilot commits 96f7e55 (05:37:55Z), c391989 (06:07:22Z), 15084c2 (06:10:37Z).
  14. /home/jay/copilot/.dispatch.log rows 06:05:23Z ("free": 13) through 06:56:42Z ("free": 14); lowest 11 once at 06:06:33, highest 16 at 06:28:16. Starts in that span: 2 at 06:35:07, 1 at 06:39:07.
  15. /home/jay/ferrum/infra/vps/systemd/ferrum-auto-cd.timer:5 (OnCalendar=*-*-* *:0/5:00). /home/jay/ferrum/scripts/auto-cd.sh:731-732 (reads CI), :754-758 ("CI is shadow (Jay 2026-11-05): report it, deploy the tip anyway"), :760-764 (unreadable = halt). Reader: scripts/auto_cd_ci_gate.py:2-28.
  16. /home/jay/ferrum/scripts/auto-cd.sh:27-33 (database-change halt, smoke, rollback, skip a bad commit), :1038 (rollback), :1164-1171 (health wait), :1212-1215,1248 (smoke, two tries, then roll back), :770 (staging check defaults to shadow).
  17. No /home/jay/copilot/.forgejo and no /home/jay/copilot/scripts/ci-room.sh (also absent on its main branch). factory-land.py:14 and factory-dispatch.py:127: factory targets are pi and ferrum. hook.py:56-57: a copilot push only syncs published pages. Direct commits: git -C /home/jay/copilot log.
  18. Break 2 merged 02:51:42Z (source 10). First room row showing it: 05:25:42Z ticket 1235 (source 11) = 2 h 34 min. Fixed 06:06:49Z = 41 min later. Before 05:23:08Z every row ends in the boundary error raise AssertionError("\n".join(failures)) from /home/jay/ferrum/apps/api/scripts/_honest_checks.py:28.
  19. /home/jay/copilot/.dispatch.log lines 8077 (03:03:47Z) and 8082 (05:01:42Z) are consecutive status rows. Lines 8080-8098: ten "rerun=2 dispatched" rows between 05:01:42 and 05:06:16. Trigger design: /home/jay/copilot/trigger/hook.py:2-8. 45-minute "recent" skip: factory-dispatch.py:366.
  20. /home/jay/copilot/scripts/force-merge.sh:22 against source 1. /home/jay/ferrum/infra/vps/README.md:23 and auto-cd.sh:17-18 against auto-cd.sh:754-758. /home/jay/ferrum/.forgejo/required-checks.json comment: "CI is shadow (Jay 11-05): protection requires no contexts".
  21. Notes inside the scripts: /home/jay/copilot/scripts/force-merge.sh:3-5 (10-30), :15 (11-07, pi pull request 5144), /home/jay/copilot/trigger/fecode_deploy.sh:24 (11-08/09, ticket 1193, 7 hours). I did not re-check these older events.