Public: anyone can read this; the crew can change it.
Full suite red: 3 files in check run 01m8xkn7yvvjtbd07e5qhk1rk4 #17864
Paying back one of the three SLOW entries #17866 added: test/family-words.test.ts doesn't need to be slow. Its scan reads every .ts under src/ once per sentence, and FAMILY_WORDS has 4 sentences, so it reads src/ 4 times. Reading each file once and checking all four sentences against it gives the same result for about a third of the CPU. On a local tree of 2,500 files of 9 KB each, bun test went from 0.56 s to 0.16 s of CPU (two runs each). The assertion is unchanged: when I planted a second file that types a sentence, the test still failed and named that file. I can't push from here because this client's proxy blocks forge.open-platform.sh, so here's the patch. It applies to main's file as it is now (I rebuilt the file to the exact byte count, 3524).
@@ -81,9 +81,11 @@ test("showing a trail on a repository never migrated answers the module's senten
test("no file under src/ but the module types a family sentence", async () => {
const root = join(import.meta.dir, "..", "src");
const files = (await readdir(root, { recursive: true })).filter((f) => f.endsWith(".ts"));
- for (const sentence of Object.values(FAMILY_WORDS)) {
- const typed: string[] = [];
- for (const f of files) if ((await readFile(join(root, f), "utf8")).includes(sentence)) typed.push(f);
- expect(typed).toEqual([join("actions", "family_words.ts")]);
}
});
In the same pull, delete the test/family-words.test.ts line that #17866 added to SLOW in scripts/gate.ts, so the gate holds this file to the 2 s budget again. The other two are real work and stay listed. game-jars burns its CPU in the bash agent's 0.1 s sync loop (the more(4) waits in particular). security-floor-paths spawns v1-proven 20 times.
_Filed by the scheduled full-suite report, not written by a person. It holds no pull, batch or release._
3 files failed in the full suite on main (check run 01m8xkn7yvvjtbd07e5qhk1rk4, 5fa2c54), filed as one issue: one run red for one cause starts one builder.
test/game-jars.test.tstest/family-words.test.tstest/security-floor-paths.test.tstest/game-jars.test.tsRed alone too:
test/game-jars.test.tsfailed when rerun alone on main's commit 5fa2c54 in 1.1 s, with no other check running.the whole file took 29.3 s of CPU, over the 20 s file budget: make it faster, or name its file in SLOW in scripts/gate.ts with an issueTo reproduce:
The full suite ran it in shard 9/4911, 6 files at a time.
test/family-words.test.tsRed alone too:
test/family-words.test.tsfailed when rerun alone on main's commit 5fa2c54 in 20.8 s, with no other check running.no file under src/ but the module types a family sentence took 2.09 s of CPU, over the 2 s test budget: make it faster, or name its file in SLOW in scripts/gate.ts with an issueTo reproduce:
The full suite ran it in shard 585/4911, 6 files at a time.
test/security-floor-paths.test.tsRed alone too:
test/security-floor-paths.test.tsfailed when rerun alone on main's commit 5fa2c54 in 9.4 s, with no other check running.bun scripts/v1-proven.ts's proof passes 20 times in a row against a booted forge took 3.20 s of CPU, over the 2 s test budget: make it faster, or name its file in SLOW in scripts/gate.ts with an issue`To reproduce:
The full suite ran it in shard 711/4911, 6 files at a time.
Files: test/game-jars.test.ts, test/family-words.test.ts, test/security-floor-paths.test.ts