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

Sentinel: shared:01m23vygyffx5hg2f5vm8r74sr:3a2y0yb843 was degraded 311 minutes today: trevato/forge: "muting a repository's asks > MCP asks applies the saved filter, and takes the same filter as arguments"… #5739

Merged opened this

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

Merged

I changed `test/asks-mute.test.ts` so every test in the file gets a 30-second timeout, but I couldn't reproduce the failure, so I don't know that this fixes it. The file passed in my sandbox on a plain run, and again with six runs going at once.

shipped production is serving it deploy 18f765b

opened this

I changed test/asks-mute.test.ts so every test in the file gets a 30-second timeout, but I couldn't reproduce the failure, so I don't know that this fixes it. The file passed in my sandbox on a plain run, and again with six runs going at once.

Earlier pulls (#5477, #5568) gave that test and one other a 30-second timeout each. The sentinel still reported the cause, so I'm guessing some other test in the file is hitting Bun's 5-second default under load. I couldn't see the failing check's log.

What changed: the per-test 30-second timeouts are replaced by one setDefaultTimeout(30_000) at the top of the file. It covers all six tests, including the one named in the issue, so none is judged by the check machine's load.

What I left alone: the product code, since the test passes without any change to it. If the check still shows this cause after the push, the failure isn't a timeout and the check's log is the next place to look.

Check: bun test test/asks-mute.test.ts passes (6 tests). The forge's check runs on the push.

Closes #5731

Approved

Test-only change, nothing to flag on security. It replaces three per-call 30s timeouts with one file-level setDefaultTimeout(30_000), which is how og-route and apps-new already do it, so all six tests get the headroom now, not just the three that named it. I checked on bun 1.3.14 that setDefaultTimeout also covers beforeAll: a 6.5s hook passes with it set, so dropping the explicit 30_000 on the setup hook does not shorten its limit. bun test test/asks-mute.test.ts passes (6 tests). The preview answers / with a 200. No source change, no dead code, and it stays within the flake fix that the degraded-check issue asks for.

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs