mirror of
https://github.com/garrytan/gstack.git
synced 2026-09-22 04:40:44 +02:00
test: wire ios-qa/daemon/test into the free suite and shard runner (E2)
The daemon's 5 test files (allowlist, audit, auth-mint, cli-mint, daemon-integration — now 6 with session hardening) were invisible to every runner: not in the bun test glob, not in TEST_ROOTS. The same silent-coverage-hole class as the tracked design/test P2 — and it meant B2's auth regression tests would never have gated. All files are hermetic (stub state-servers on ephemeral ports, no devices); verified green in the shard census. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
co-authored by
Claude Fable 5
parent
b9cd094981
commit
15d1144fea
+1
-1
@@ -18,7 +18,7 @@
|
|||||||
"gen:skill-docs:user": "bun run scripts/gen-skill-docs.ts --respect-detection",
|
"gen:skill-docs:user": "bun run scripts/gen-skill-docs.ts --respect-detection",
|
||||||
"dev": "bun run browse/src/cli.ts",
|
"dev": "bun run browse/src/cli.ts",
|
||||||
"server": "bun run browse/src/server.ts",
|
"server": "bun run browse/src/server.ts",
|
||||||
"test": "bun test browse/test/ test/ make-pdf/test/ --ignore 'test/skill-e2e-*.test.ts' --ignore test/skill-llm-eval.test.ts --ignore test/skill-routing-e2e.test.ts --ignore test/codex-e2e.test.ts --ignore test/gemini-e2e.test.ts && (bun run slop:diff 2>/dev/null || true)",
|
"test": "bun test browse/test/ test/ make-pdf/test/ ios-qa/daemon/test/ --ignore 'test/skill-e2e-*.test.ts' --ignore test/skill-llm-eval.test.ts --ignore test/skill-routing-e2e.test.ts --ignore test/codex-e2e.test.ts --ignore test/gemini-e2e.test.ts && (bun run slop:diff 2>/dev/null || true)",
|
||||||
"test:free": "bun run scripts/test-free-shards.ts",
|
"test:free": "bun run scripts/test-free-shards.ts",
|
||||||
"test:windows": "bun run scripts/test-free-shards.ts --windows-only",
|
"test:windows": "bun run scripts/test-free-shards.ts --windows-only",
|
||||||
"test:evals": "EVALS=1 bun test --retry 2 --concurrent --max-concurrency ${EVALS_CONCURRENCY:-15} test/skill-llm-eval.test.ts test/skill-e2e-*.test.ts test/skill-routing-e2e.test.ts test/codex-e2e.test.ts test/gemini-e2e.test.ts",
|
"test:evals": "EVALS=1 bun test --retry 2 --concurrent --max-concurrency ${EVALS_CONCURRENCY:-15} test/skill-llm-eval.test.ts test/skill-e2e-*.test.ts test/skill-routing-e2e.test.ts test/codex-e2e.test.ts test/gemini-e2e.test.ts",
|
||||||
|
|||||||
@@ -30,7 +30,10 @@ import { spawnSync } from 'child_process';
|
|||||||
import { isPaidTestFile } from '../test/helpers/paid-test-set';
|
import { isPaidTestFile } from '../test/helpers/paid-test-set';
|
||||||
|
|
||||||
const ROOT = path.resolve(import.meta.dir, '..');
|
const ROOT = path.resolve(import.meta.dir, '..');
|
||||||
const TEST_ROOTS = ['browse/test', 'test', 'make-pdf/test'] as const;
|
// ios-qa/daemon/test joined in fork port wave 2 (E2): its 5 files were
|
||||||
|
// invisible to every runner — the exact design/test-class hole TODOS tracks.
|
||||||
|
// All are hermetic (stub state-servers on ephemeral ports, no devices).
|
||||||
|
const TEST_ROOTS = ['browse/test', 'test', 'make-pdf/test', 'ios-qa/daemon/test'] as const;
|
||||||
const TEST_FILE_REGEX = /\.test\.(?:[cm]?[jt]s|tsx|jsx)$/;
|
const TEST_FILE_REGEX = /\.test\.(?:[cm]?[jt]s|tsx|jsx)$/;
|
||||||
|
|
||||||
// POSIX-only patterns that indicate a test will fail on windows-latest no
|
// POSIX-only patterns that indicate a test will fail on windows-latest no
|
||||||
|
|||||||
Reference in New Issue
Block a user