Skip to content

chore: the #88 retro: e2e:last names its run, the gate clears the old report, the editors' run waits for a quiet machine - #92

Merged
Kyu-seok merged 2 commits into
mainfrom
retro-88
Nov 20, 2026
Merged

Kyu-seok merged 2 commits into
mainfrom
retro-88

Conversation

@Kyu-seok

Copy link
Copy Markdown
Owner

Summary

Four changes to the agent's environment from implementing #88. No extension code changes.

 npm run check
+  node tools/e2e-last.mjs --clear        # a gate that never reaches e2e leaves no report
   tree-stamp record → typecheck → imports → unused → unit → e2e → tree-stamp verify

 npm run e2e:last
+  run started 3 min ago (2026-11-20T13:01:15.485Z), took 3.3 min on 1 worker
   214 passed, 0 failed, 0 flaky, 0 skipped

 npm run test:e2e:editors
   npm run build
+  node tools/quiet.mjs                    # waits while load average >= core count, up to 3 min
   playwright test … --repeat-each=5 --workers=4
  • CLAUDE.md: before touching the bridge, read the seams entries the ticket names, with the command that lists the rest by name, in place of the whole 64 KB docs/engine-seams.md.
  • docs/engine-seams.md header: says what a "Pinned by" name must be (a title, its start, or an unbroken part of it).

Evidence

  • Before: implementing contenteditable: Esc in the command line moves the Cursor to the start of the Field #88, a gate that stopped at the unit tests was followed by npm run e2e:last printing 13 failed tests, the report of the red-on-main run before it. Three of five test:e2e:editors runs had one flaky test each under a load average of 43 to 58; the run at a load under 2 was clean.
    After: npm run check passes in pre-push: 570 unit tests, 214 e2e. e2e:last after it printed the two lines above.
tests/node/quiet.test.ts
  load 2.3 on 8 cores            → starts at once, prints nothing
  load 45.6, 20.1, 8, 7.9        → waits 15 s, prints the load before and after
  load stays 50                  → waits 180 s, runs anyway, says a flake may be the machine's
tests/node/e2e-last.test.ts
  a report with stats.startTime  → first line: age, start, duration, workers ("1 worker" / "4 workers")
  a report without it            → lines as before
  • Not exercised: tools/quiet.mjs on a loaded machine. Pre-push ran no editors pass for this branch (it touches no path the hook lists), and the load was low when I ran the tool by hand.

Merge Danger

Door: two-way

Reverting restores the old scripts. Nothing is stored.

Blast Radius: tooling

  • npm run test:e2e:editors, and so a push that touches the write path, can now take up to three minutes longer on a busy machine. It never fails for load; it runs anyway and says so.
  • The threshold is the one-minute load average against the core count. The editors' pass raises the load to about 20 by itself, so a second run straight after the first waits roughly a minute.
  • e2e:last after a gate that failed before e2e now exits 2 with "no report", where it used to print the previous run.
  • An implementer who reads only the seams entries a ticket names can miss an entry the ticket did not name; the grep in CLAUDE.md lists all the names to check against.

🤖 Generated with Claude Code

Kyu-seok and others added 2 commits November 20, 2026 21:57
…ears the old report, and the editors' run waits for a quiet machine

- `npm run e2e:last` prints first when the run started, how long it took and
  on how many workers, and `npm run check` removes the report before it
  starts. Implementing #88, a gate that stopped at the unit tests left the
  report of the red-on-main run before it, and its 13 failures read as the
  gate's.
- `npm run test:e2e:editors` runs `tools/quiet.mjs` first: it waits, up to
  three minutes, while the load average is at or above the core count, then
  runs anyway and says so. Three of five runs had one flaky test each under a
  load average of 43 to 58; the pre-push run at a load under 2 was clean.
- CLAUDE.md points at the seams entries a ticket names, with the command that
  lists the rest, rather than the whole 64 KB file.
- docs/engine-seams.md's header says what a "Pinned by" name must be: the pin
  check rejected names written with a leading "…".

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
@Kyu-seok
Kyu-seok merged commit 426dc26 into main Nov 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant