From cc2782038ff044a1fc804d8727ad3e90360bbcda Mon Sep 17 00:00:00 2001 From: ScriptedAlchemy Date: Tue, 1 Sep 2026 07:37:34 +0000 Subject: [PATCH] perf(examples): run examples:check at workspace concurrency 3 with scaled budgets (#128) The five examples are disjoint directories, so the serial shape was a gate-critical-path artifact (measured 5m14s of a 9m52s green gate wall in the #128 audit). Parallel example checks share cores the same way the multi-worker integration pool does, so the script also floors AGENT_BUNDLE_TEST_TIME_SCALE at 2 without lowering an externally provided value (local-ci passes 4; hosted CI pins 4 via the CI env). Verified green end to end at concurrency 3 on a loaded 96-core machine: all five example checks pass in 3m47s wall including the root build. --- package.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package.json b/package.json index 73317258e..b7eb9b015 100644 --- a/package.json +++ b/package.json @@ -40,7 +40,7 @@ "example:audiobook": "pnpm build && pnpm --filter @agent-bundle-example/audiobook-curator dev", "example:mcp-app": "pnpm build && pnpm --filter @agent-bundle-example/mcp-app dev", "example:skills": "pnpm build && pnpm --filter @agent-bundle-example/skills-starter dev", - "examples:check": "pnpm build && pnpm --filter './examples/*' --workspace-concurrency=1 check" + "examples:check": "pnpm build && AGENT_BUNDLE_TEST_TIME_SCALE=${AGENT_BUNDLE_TEST_TIME_SCALE:-2} pnpm --filter './examples/*' --workspace-concurrency=3 check" }, "devDependencies": { "@changesets/cli": "3.0.1",