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

Sentinel: The lane has stopped: nothing has merged and nothing said so #16598

Merged opened this in answer to

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

Merged

Main went red because of #16584: it gave /pinned its own script (liveRegionsJs) but didn't add the shared behaviors to it. test/behaviors-rule.test.ts refuses that for any page not already on its list. This pull fixes it forward in src/http/pinnedroutes.ts, so main can stay as it is instead of being reverted.

Notes

shipped production is serving it deploy 7d09344

opened this

Main went red because of #16584: it gave /pinned its own script (liveRegionsJs) but didn't add the shared behaviors to it. test/behaviors-rule.test.ts refuses that for any page not already on its list. This pull fixes it forward in src/http/pinned_routes.ts, so main can stay as it is instead of being reverted. The page now uses ${liveRegionsJs}\n${behaviorsJs}, the same pattern as src/web/studio/door_claimed.ts.

This fix makes #16597 (the revert of #16584) unnecessary. If this pull lands, close #16597; that revert also failed its own check in 36s.

On the lane (#16592): the lane is not stalled in the way the sentinel reported. Five pulls merged after the sentinel filed it, the last being e40ac3c at 10:32Z. It looks stopped because main's verification at e40ac3c is red, and this pull fixes that. I could not find out why agent runs stopped after about 05:19 (low headroom or the scheduler): this sandbox can't read the forge's data, and the API calls I tried have no route for check status or the scheduler. I also couldn't rerun main's full check, because that needs rights I don't have. Someone with admin rights should rerun main's full check once this lands. The headroom and scheduler question is still open.

Checked here:

  • test/behaviors-rule.test.ts fails on main and passes with this change.
  • bun scripts/gate.ts --fix and bun x tsc --noEmit are clean.
  • 64 tests pass across 7 files: behaviors-rule, client-size, experiments, experiments-routes, pinned-page, pinned-forge and pinned-claim.
  • I didn't run everything scripts/fast.ts named: 2,530 files, estimated at 213 minutes, because the page's imports reach almost every test. The forge's full check on this push covers the rest.
[{"go":"/pinned","look":"the pinned forges list, signed in","expect":"renders as before; live regions still update and nothing shifts"}]

🤖 Generated with Claude Code

Closes #16592

commented

Main went red because of #16584: it gave /pinned its own script (liveRegionsJs) but didn't add the shared behaviors to it. test/behaviors-rule.test.ts refuses that for any page not already on its list. This pull fixes it forward in src/http/pinned_routes.ts, so main can stay as it is instead of being reverted. The page now uses ${liveRegionsJs}\n${behaviorsJs}, the same pattern as src/web/studio/door_claimed.ts.

This fix makes #16597 (the revert of #16584) unnecessary. If this pull lands, close #16597; that revert also failed its own check in 36s.

On the lane (#16592): the lane is not stalled in the way the sentinel reported. Five pulls merged after the sentinel filed it, the last being e40ac3c at 10:32Z. It looks stopped because main's verification at e40ac3c is red, and this pull fixes that. I could not find out why agent runs stopped after about 05:19 (low headroom or the scheduler): this sandbox can't read the forge's data, and the API calls I tried have no route for check status or the scheduler. I also couldn't rerun main's full check, because that needs rights I don't have. Someone with admin rights should rerun main's full check once this lands. The headroom and scheduler question is still open.

Checked here:

  • test/behaviors-rule.test.ts fails on main and passes with this change.
  • bun scripts/gate.ts --fix and bun x tsc --noEmit are clean.
  • 64 tests pass across 7 files: behaviors-rule, client-size, experiments, experiments-routes, pinned-page, pinned-forge and pinned-claim.
  • I didn't run everything scripts/fast.ts named: 2,530 files, estimated at 213 minutes, because the page's imports reach almost every test. The forge's full check on this push covers the rest.
[{"go":"/pinned","look":"the pinned forges list, signed in","expect":"renders as before; live regions still update and nothing shifts"}]

🤖 Generated with Claude Code

commented

This fixes the failing test that turned main red, and I fixed it in place instead of reverting #16584. #16584 gave /pinned its own script (liveRegionsJs) but didn't add the shared behaviors to it. test/behaviors-rule.test.ts refuses that for any page not already on its list, so main's verification at e40ac3c failed. src/http/pinned_routes.ts now uses ${liveRegionsJs}\n${behaviorsJs}, the same as src/web/studio/door_claimed.ts. If this lands, the revert in #16597 can be closed.

The previous push failed the gate because it changed code without changing a test. test/pinned-page.test.ts now fetches the /pinned page's own script and expects the shared behaviors in it. I checked it both ways: it fails with the old pinned_routes.ts and passes with the fix.

On #16592: five pulls have merged since the sentinel filed it; the latest is e40ac3c at 10:32Z. What actually stopped the lane is main's red verification, which this pull fixes. Two of the owner's asks I could not do from this sandbox:

  • Why agent runs stopped after about 05:19: the sandbox can't read the forge's data, and the API has no route for check status or the scheduler, so whether it's headroom or the scheduler is still unanswered.
  • Rerunning main's full check: that needs rights I don't have. Someone with admin rights should rerun it once this lands.

Checked here:

  • bun scripts/gate.ts passes now that the test is committed.
  • bun x tsc --noEmit is clean.
  • behaviors-rule, pinned-page, client-size, experiments, experiments-routes, pinned-forge and pinned-claim tests pass.
  • I didn't run everything scripts/fast.ts named: 2,530 files, estimated at 213 minutes. The forge's check covers the rest.
[{"go":"/pinned","look":"the pinned forges list, signed in as an admin","expect":"renders as before; live regions still update and nothing shifts"}]

🤖 Generated with Claude Code

Approved

Clean fix. /pinned's own script now composes behaviorsJs with liveRegionsJs, the same pattern as door_claimed.ts, which turns the behaviors rule green on main without a revert. The script is served as a content-addressed asset through the existing pageScriptAsset path, so the CSP and security floor are unchanged. There are no new inputs, outputs, dependencies or writes. The added test fetches the page's own script and would fail without the change. The preview answers /pinned with a 303 to sign-in for an unauthenticated request, as expected. This is a one-line fix to an existing page, so no new feature, TUI screen or docs are needed.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs