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

Take updates from trevato/forge-upstream #1305

Closed opened this in answer to
Closed without merging

This merges trevato/forge-upstream main (979e19e, staged at refs/following/main) into this repository. It keeps all 27 of this repository's changes and brings in upstream's 14. Conflicts.

Notes

stopped closed without shipping deploy b1bfe4f

opened this

This merges trevato/forge-upstream main (979e19e, staged at refs/following/main) into this repository. It keeps all 27 of this repository's changes and brings in upstream's 14.

Conflicts. Both conflicted files had the same starting point on each side. The #1198 commits for the check tiers, 42b509db here and f3934930 upstream, are byte-identical in these two files. The only real change was upstream's later e9d8843b: "A pull's check tier and timeout come from the base branch's forge.json". Since that commit is a strict addition, nothing of this repository's work is dropped.

  • src/checks/service.ts: upstream wins. A pull's run/fast/full/timeout now come from the base branch's forge.json where the pull left it, so a pull can no longer weaken its own gate. The branch's own forge.json still supplies install, egress and limits. Our version's separate lookup of the base tip is folded into the same baseTip. A missing base branch is still refused with an error, as our version did. This fits pillar (0), trust: secure by default.
  • test/check-tiers.test.ts: upstream wins. Because the gate now comes from the base, the "red full gate" and "landing goes red" tests commit their red forge.json to main rather than to a head branch. Upstream also adds a test showing that a head without check.fast, or one that edits it, is checked with the base's tier. These test changes follow the behaviour change; they don't paper over a regression.

Other files. These merged without conflict, from upstream: scripts/gate.ts, src/core/releases.json, src/crew/review.ts, src/design/themes.ts, src/web/layout.ts, src/web/studio/asks.ts, test/checks.test.ts, test/web.test.ts, and the new test/review-from-check.test.ts and test/themes.test.ts.

Checks. bun x tsc --noEmit is clean, and test/check-tiers.test.ts passes in full. Locally, the tests that start a server failed in checks.test.ts, web.test.ts and themes.test.ts: the sandbox refuses to listen on a Unix socket (EPERM ... listen '...sock'). I didn't run these on unmerged main to compare, so the forge's check on this push is their first real run.

Closes #1303

🤖 Generated with Claude Code

Closes #1303

commented

Parked by the crew: the check failed ("the gate's list > every test/*.test.ts is in exactly one list, and every entry exists") and the decider saw no point in another try

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs