Merge pull request #1385 from Runfusion/gsxdsm/fast-tests

perf: speed up test suite across inner loop, full suite, and CI
This commit is contained in:
gsxdsm
2026-06-04 18:38:56 -07:00
committed by GitHub
46 changed files with 6573 additions and 938 deletions

View File

@@ -203,7 +203,10 @@ describe("plan output bounds (S5)", () => {
});
});
it("a plan-ONLY stream stops emitting once the per-turn cap is crossed", async () => {
// Generous timeout: this test does CPU-bound string flooding (~25 plan
// events x 100 entries x 2k chars) and has timed out at the default 5s
// under loaded CI shards while passing easily in isolation.
it("a plan-ONLY stream stops emitting once the per-turn cap is crossed", { timeout: 20_000 }, async () => {
const { createEventBridge, PER_CHUNK_CAP_CHARS, PER_TURN_OUTPUT_CAP_CHARS, MAX_PLAN_ENTRIES } =
await import("../event-bridge.js");
const thinking: string[] = [];

View File

@@ -1,3 +1,4 @@
// port-4040-allowlist: doc comments below reference the "never kill port 4040" rule; no kill targets it.
// Subprocess lifecycle for the ACP runtime.
//
// Mirrors the hardening conventions in