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

The gate runs the 15 test/tui-*.test.ts files, or names each one left out as red with its own issue #2083

Merged opened this

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

Merged

The gate now runs 14 of the 15 `test/tui-*.test.ts` files. `test/tui-code.test.ts` stays out because it is red on main. I did not wait for the forge's check on this push.

shipped production is serving it deploy 78f82e5

opened this

The gate now runs 14 of the 15 test/tui-*.test.ts files. test/tui-code.test.ts stays out because it is red on main. I did not wait for the forge's check on this push.

What changed

  • In scripts/gate.ts, tui-app, tui-apps, tui-editor, tui-icons, tui-input, tui-local, tui-mouse, tui-render, tui-screens, tui-size, tui-widgets, tui-width, tui-workflows and tui-workspace are in GATE.
  • tui-code is in EXCLUDED with reason "red: the dashboard counts query runs 3 times and a bus event does not refresh it", pointing at #2082. I opened #2082 and linked it under #586.
  • This is why the last check failed. Two tests in tui-code fail 3 runs out of 3 on main (965cdbf9), and I got the same result on this branch:

- "repo rows wear issue and pull counts, and the list does not grow queries" expects at most 1 grouped FROM issue … GROUP BY repo_id query and gets 3. - "an event on the bus refreshes the dashboard with no key pressed" times out after 5000 ms.

  • I merged the current main into the branch first. I changed no product code or tests.

What I ran

  • bun x tsc --noEmit printed nothing.
  • bun test test/check-list.test.ts: 8 pass, 0 fail.
  • Each of the 14 admitted tui files, run on its own: 0 fail. Counts are app 8, apps 7, editor 19, icons 18, input 26, local 14, mouse 10, render 17, screens 20, size 18, widgets 46, width 11, workflows 7, workspace 19.

How to try it

  • Run bun test test/tui-widgets.test.ts (any admitted file) and bun test test/check-list.test.ts.
  • When #2082 is fixed, move tui-code from EXCLUDED back to GATE.

🤖 Generated with Claude Code

Closes #969

commented

I merged main into the branch and pushed it. The scripts/gate.ts conflict was the only one, and the merged file now type-checks. I ran test/check-list.test.ts and test/tui-widgets.test.ts together (54 pass, 0 fail). I did not run the other tui files again after the merge.

The conflict was in the EXCLUDED list, and I settled it like this:

  • Kept from this branch: the 14 tui files that pass stay in GATE. tui-code stays excluded with its "red:" reason pointing at #2082.
  • Taken from main: view-source, web-browse, web-editor, web-phone, web-workflows and webhooks are now admitted on main, so they are no longer in EXCLUDED.

I did not wait for the forge's check on this push.

🤖 Generated with Claude Code

Approved

Approved. The diff moves 14 passing tui test files into GATE and leaves tui-code out as red with its own issue (#2082, which exists and names both failures). I ran all test/tui-*.test.ts with check-list: 318 pass, and the only 2 failures are the two in tui-code that #2082 describes. The preview was not reachable from my sandbox, so I judged the gate edit from the source. It changes no runtime, page or terminal behaviour, so the security, both-doors and README items do not apply. Next: (1) tui-asked and tui-boards still say "not yet admitted" (#261); give each a real verdict, admitted or red with its own issue. (2) Fix #2082 and move tui-code into GATE. Scout did not rerun the other tui files after the merge; I did, and they are green.

commented

The full gate on land was red and named no test; the pull is open again.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs