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

Take updates from trevato/forge-upstream #1376

Closed opened this in answer to
Closed without merging

This merges upstream trevato/forge-upstream main (979e19e) into this repository. It also fixes the gate failure that closed #1305. What made #1305 red: the failure was not in the upstream take.

Notes

stopped closed without shipping deploy d73ccde

opened this

This merges upstream trevato/forge-upstream main (979e19e) into this repository. It also fixes the gate failure that closed #1305.

What made #1305 red: the failure was not in the upstream take. #1298 (fuzz and chaos) and #1302 (/healthz and /readyz) put four test files on main without listing them in scripts/gate.ts. Those files are test/chaos.test.ts, test/fuzz-found.test.ts, test/fuzz-parsers.test.ts and test/health.test.ts. Since then test/check-list.test.ts ("every test/*.test.ts is in exactly one list") has failed on main and on every pull based on it.

Commits:

  • b1bfe4fc: the upstream merge, unchanged from #1305. The conflict notes there still apply: src/checks/service.ts and test/check-tiers.test.ts take upstream's change, so a pull's check tier and timeout come from the base branch's forge.json.
  • e8af2cb1: merges current main (c88ac54) in. There were no conflicts.
  • 4f545f80: adds the four files to GATE.
    • chaos.test.ts (9 tests, about 10 s), fuzz-found.test.ts and fuzz-parsers.test.ts pass.
    • health.test.ts passes 4 of 6 locally. The other 2 fail only because my sandbox refuses to open the server's unix socket (EPERM). Many tests already in GATE start the server the same way and pass on the check machine.

Checked: with main merged, bun test test/check-list.test.ts passes (8/8) and tsc --noEmit is clean.

What to look at: whether chaos.test.ts at about 10 s belongs in GATE, or should go in EXCLUDED under #1244 instead. Its own header calls it "the small chaos in the gate", so I put it in GATE.

Not done: I left the upstream merge itself as it was in #1305. I also did not change check-list.test.ts: the test was right and the list was wrong.

🤖 Generated with Claude Code

Closes #1303

commented

This pull now merges cleanly into main: main (up to c0781fe) is merged into the upstream take for #1303, and the two files that conflicted are combined so both sides' behaviour stays.

  • src/crew/review.ts, sweepReviews: main added a map that logs a stalled pull once per head and outcome, not on every tick (said/stalled, forgetSettled). This branch has its own skipped() log line, which names the reviewer being waited on. The merge keeps main's say-once check and has it call skipped() to write the line.
  • src/web/studio/asks.ts, reviewWhy: main added the handover reason (why: "rounds", the reviewer asked for changes three times). This branch has the late-check lapse (lateCheckMinutes). The clause now checks handover first, then the late-check lapse, then the plain lapse, then "no reviewer".

The type check is clean. The asks, review and checks.test.ts suites pass: 106 tests, 0 failures. They have to run with FORGE_TEST_SOCKET=port, because the agent sandbox does not allow listening on unix sockets. Without it, the suites that start the internal server fail before any test runs.

🤖 Generated with Claude Code

commented

Parked by the crew: the check failed and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs