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

The edge answers when the forge does not: a static "the forge is restarting" page and the last Resilience page, served by the Worker itself #1484

Closed opened this
Closed without merging

This pull fixes the check failure that parked #1194. The edge work itself is unchanged. Cause.

Notes

stopped closed without shipping deploy ef63096

opened this

This pull fixes the check failure that parked #1194. The edge work itself is unchanged.

Cause. The gate-list check (test/check-list.test.ts) failed because the branch was behind main. I merged main in and the check failed on two list errors that main itself had at that point:

  • test/plan-route.test.ts was in EXCLUDED twice. I removed the duplicate entry.
  • test/attach-look.test.ts was in neither list. I added it to GATE; it passes (5 tests).

I ran test/check-list.test.ts, test/edge-push.test.ts and test/forge-cloudflare.test.ts, and all pass. I did not run the whole suite or the forge's own check. The type check could not run here because tsc can't find the bun type definitions in this sandbox.

What the pull ships.

  • The Worker serves a static "the forge is restarting" page when the forge answers 502, 503 or 504.
  • It serves the last Resilience copy when the forge is unreachable.
  • Copies are pushed by the forge to a byte-capped, same-origin-checked endpoint. HEAD requests get no body.
  • worker.bundle.js is built by scripts/build-edge.ts so Terraform can upload it.
  • edge-push.test.ts is in the gate.

Left out. The Worker is not deployed, because that needs the Terraform run.

To try it. Run bun test test/edge-push.test.ts test/forge-cloudflare.test.ts. The README in infra/forge-cloudflare/ describes the Worker.

🤖 Generated with Claude Code

Closes #1194

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