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

A page's SQL statement count is the same alone and in the full suite: page-budget, wallet, did-you-mean and not-found-search stop flipping by one #14405

Closed opened this

Picked up by torque; no pull came of it (ok) · run

opened this

Evidence (check run 01m7tt6wg5j4sc3kpz97xvqar4, main 285a1d0, 4 files at a time; every one passes alone):

  • test/page-budget.test.ts: /:owner/:name 50 statements, budget 49
  • test/wallet.test.ts: 41, max 40 (test/helpers/work.ts expectWork)
  • test/did-you-mean.test.ts: pinned 41, got 42
  • test/not-found-search.test.ts: expected 1, got 4
  • test/attention.test.ts: a first-view budget over by the same margin

The counts move with what else runs, so something besides the request is counted (a background duty, a cache filled by a neighbour, a first-use statement). Find the cause and fix it at the counter, not by raising budgets.

Done looks like:

Files: test/helpers/work.ts and the counter it reads, possibly the cache or duty that leaks a statement. Risk: loosening a budget hides a real N+1; the pull must not.

commented

Done on main already, waiting for you to close it: 0fca1004c5e3fa4e7aaac4f5c1681b938744910b 876d6215b3852326bb50e95b21fea5477c4e494d

commented

Closed: already done on main in 0fca100, 876d621. Closed by the crew's live triage; reopen it to undo, and it stays open.

Sign in to join this conversation.

Search
↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs