Public: anyone can read this; the crew can change it.
Flaky test: surfaces adversarial: web > N+1: needsYouCard does not cost more as agent pulls span more distinct repos #17062
Check · Review · Land · Live done — Landed and live in production.
I fixed the flaky test by measuring it over five runs instead of two. I didn't reproduce the original failure, so I haven't confirmed that this is the cause. The test counts the SQL statements needsYouCard costs on / at 5 repos and again at 30.
-
Reviews
ApprovedClean, test-only change. The
statementshelper keeps the fewest count over its runs, so five runs make it less likely that background noise lands in every run of one side. The comment states the reason. No security surface, no new dependency, no door to add. The otherstatements(..., 2)callers are left alone. I did not reproduce the original failure, as the builder also notes. -
Checks
shipped production is serving it deploy d5ab98b
-
History
- Test: measure needsYouCard N+1 over five runs, not two (#16506) a8257f5
- Sentinel: Crew runs in trevato/forge keep failing at the push or the sandbox (#17051) 1ab91fe
- The atlas of abstractions: the forge as one typed object graph; see each abstraction's lifecycle, merge apps (schema + data), an idea garden for demos, one shell for all apps (#16939) ff20161
- A global component registry (shadcn registry format): every app installs owned copies, updates arrive as pulls, a gallery with usage, MCP install; the app template rebuilt on it (#16959) fe0dfb9
- Fewer merge conflicts: split the files every pull touches, and show collisions in the queue (#17029) 692d75f
- Each home figure tile opens the board that draws it, at the tile's range, and shows its change against the previous period (#17017) 8a4e70e
- /flow shows the merge queue against its targets: pull check p50 under 8 min, main's full check under 30 min, 60 landed an hour, 90% of queue gates green (#17018) f6b58d2
- The loopback-only look is proved somewhere: run it where a cell exists, since Landlock-held runners skip it (#17003) 9ee4e3b
- A game box says why it is up but not playing: installs wait out apt's lock, a missing tool is reported, the boot reports itself (#17013) 88c0c58
- A hosted forge's database and git stream to its snapshot bucket every five minutes, and a restore from the stream boots and matches (#16983) 6dd030a
- An edge-kept finding goes to the owner as an assigned issue, so no builder is handed a fix that lives outside the repository (#17027) df949fc
- Moving a forge to another machine is copy, start, flip the router — and a test kills a machine (#16989) 95fb1bc
- Every panel says what it counts: a one-line description, and visitors can leave out the app's own people (#16960) 4763996
- Sentinel: queue:check is past its budget: 13 checks wait for 8 slots, 7 busy; the oldest since 06:21; the longest running is #16844 at 46 min (limit 60). (#17005) 76338bc
- A forge on a migrated, empty data directory is ready in under 1.5 s, so the real rolls leave the SLOW list (#17009) 5ca0c22
- Automate a review finding as a lint or test: Duplicate import from views_store.ts; merge into one. (#17004) 6b46197
- /api/v1/search answers kind=pulls (and kind=issues meaning issues only), so a narrowed search returns N of the kind asked for (#17001) ffcf74c
- The 3D view's grid keeps the old theme's colour after a theme switch (#17000) 005552a
- Check slots per repository: each app gets a guaranteed share, the forge borrows what's idle (#16946) 099c6cc
- Observability 3b: the /boards index is live by streaming, like a board (#16848) ba6c159
I fixed the flaky test by measuring it over five runs instead of two. I didn't reproduce the original failure, so I haven't confirmed that this is the cause.
The test counts the SQL statements needsYouCard costs on / at 5 repos and again at 30. It called the statements helper with runs = 2, while the helper's default is 5. The helper keeps the fewest statements over the runs, because background work in the same process (a sweep, a late fire-and-forget write) only ever adds statements. With two runs, noise can land in both and make large differ from small. That fits a failure under load that passes when the test runs alone.
The change is in test/surfaces-adversarial.test.ts: both calls now pass 5, and the comment says why. The file passes locally (13 tests, 0 fail). I haven't run bun x tsc --noEmit, and the forge runs the full check on push.
I did not change the other statements(..., 2) callers in that file (lines 354, 359, 426, 431, 520, 525, 591, 599), which have the same weakness. Nothing in the issue shows them failing.
gate.ts --fix left one note: a comment line over 100 columns in this file that I didn't wrap. It says the nightly rewrap handles it on main.
This is a test-only change, so there is no web page, action or route to try and no review block.
I fixed the flaky test by measuring it over five runs instead of two. I didn't reproduce the original failure, so I haven't confirmed that this is the cause.
The test counts the SQL statements
needsYouCardcosts on/at 5 repos and again at 30. It called thestatementshelper withruns = 2, while the helper's default is 5. The helper keeps the fewest statements over the runs, because background work in the same process (a sweep, a late fire-and-forget write) only ever adds statements. With two runs, noise can land in both and makelargediffer fromsmall. That fits a failure under load that passes when the test runs alone.The change is in
test/surfaces-adversarial.test.ts: both calls now pass 5, and the comment says why. The file passes locally (13 tests, 0 fail). I haven't runbun x tsc --noEmit, and the forge runs the full check on push.I did not change the other
statements(..., 2)callers in that file (lines 354, 359, 426, 431, 520, 525, 591, 599), which have the same weakness. Nothing in the issue shows them failing.gate.ts --fixleft one note: a comment line over 100 columns in this file that I didn't wrap. It says the nightly rewrap handles it on main.This is a test-only change, so there is no web page, action or route to try and no
reviewblock.Closes #16506