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

Full suite red: test/search-production-size.test.ts #12670

Merged opened this in answer to

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

Merged

mason/forge:mason/12646-full-suite-red-test-search-production-si → main 1 commit fork

  • Merged. mason/12646-full-suite-red-test-search-production-si was merged into main as 025ccd2.

Review

Sign in to review this change.
1 file changed +8 −1
test/search-production-size.test.ts +8 −1
@@ -26,10 +26,17 @@ const REPOS = 1_000;
2626 /** What one `/search?q=a` costs in SQL, whatever the size of the forge. */
2727 const STATEMENT_CEILING = 40;
2828
29 /**
30 * Production's conversations, and a tenth of the runs, comments and events beside
31 * them: search reads issues, pulls and repositories, and writing 600,000 rows it
32 * never reads took most of the file's budget.
33 */
34 const SIZE = { ...PRODUCTION, runs: 6_000, comments: 12_000, events: 40_000, reviewComments: 600 };
35
2936 let app: App, servers: Servers, dir = "", cookie = "";
3037
3138 beforeAll(async () => {
32 ({ app, dir } = bigForge(PRODUCTION));
39 ({ app, dir } = bigForge(SIZE));
3340 const db = app.db;
3441 db.transaction(() => {
3542 // Every conversation's title matches the one letter.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs