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

Merged opened this in answer to

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

Merged

scout/forge:scout/16506-flaky-test-surfaces-adversarial-web-n-1 → main 0 commits fork

  • Merged. scout/16506-flaky-test-surfaces-adversarial-web-n-1 was merged into main as b6ae866.

Review

Sign in to review this change.
1 file changed +4 −4
test/surfaces-adversarial.test.ts +4 −4
@@ -439,8 +439,8 @@ describe("surfaces adversarial: web", () => {
439439 // so the count must not move with the number of distinct repositories.
440440 test("N+1: needsYouCard does not cost more as agent pulls span more distinct repos", async () => {
441441 // Invariant: needsYouCard costs the same statements at 30 distinct repos as at 5. Users here
442 // are passwordless with a session row (no argon2); 2
443 // measured runs.
442 // are passwordless with a session row (no argon2). Five measured runs, keeping the fewest:
443 // background noise only adds statements, and two runs let it land in both (#16506).
444444 const owner = await createUser(app.db, { origin: "seed", trusted: true,
445445 username: "needsowner",
446446 email: "[email protected]",
@@ -487,11 +487,11 @@ describe("surfaces adversarial: web", () => {
487487 await web(cookie, "/");
488488 const small = await statements(app.db, async () => {
489489 await web(cookie, "/");
490 }, 2);
490 }, 5);
491491 seed(25, 5);
492492 const large = await statements(app.db, async () => {
493493 await web(cookie, "/");
494 }, 2);
494 }, 5);
495495 expect(large).toBe(small);
496496 });
497497

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

Keyboard shortcuts

Docs