Files
gbrain/scripts/check-test-isolation.allowlist
T
Garry Tan 65a5994a9b Merge origin/master (v0.31.6) into v0.31.7 wave
Brings v0.31.4.1 (#815: VERSION/package.json alignment + 4-segment
version mandate) and v0.31.6 (#796: extract facts during sync,
real-time hot memory) into the wave assembly.

Conflicts resolved:

1. VERSION + package.json — kept 0.31.7 (highest semver wins).

2. scripts/test-shard.sh — took master's version. v0.31.4.1 (#815)
   independently shipped the same .serial.test.ts exclusion fix I
   added in 45c40048, plus a richer --dry-run-list flag this branch
   didn't have. Master's shape supersedes mine.

3. .github/workflows/test.yml — took master's version. Master added
   the serial-test step inside shard 1 with `if: matrix.shard == 1`
   guarding it; mine added it as a sibling `test-serial` job. Master's
   shape uses one less runner and is now the canonical pattern.

4. CHANGELOG.md — kept v0.31.7 entry on top, layered v0.31.4.1 below
   it followed by v0.31.3 (chronology preserved). Master never wrote
   a v0.31.6 entry; the v0.31.6 commit reused the v0.31.4.1 section.

5. test/doctor.test.ts — auto-merged cleanly. v0.31.6's
   `facts_extraction_health` test (line 110+) lives alongside this
   wave's IRON-RULE graph_coverage hint test.

6. test/scripts/test-shard.test.ts (mine, deleted) — superseded by
   master's test/scripts/test-shard.slow.test.ts which ships a more
   thorough regression suite that actually drives `--dry-run-list`
   to verify the exclusion against real shard buckets.

7. scripts/check-test-isolation.allowlist — added
   test/migration-orchestrator-v0_31_0.test.ts. Master's v0.31.6
   shipped this file with R1 process.env mutation in beforeEach/
   afterEach but didn't allowlist it; the file follows the existing
   try/finally restore pattern (functionally correct, just doesn't
   use withEnv()). Allowlisting per the linter's own help text for
   baseline files; sweep candidate for a future env-pattern PR.

Verified post-merge:
- typecheck clean
- bun run verify clean
- bun run check:test-isolation clean
- 102/0 fail across resolver/doctor/repo-root/check-resolvable surfaces
- live gbrain check-resolvable: 39/39 reachable, ok=true
2026-05-10 12:54:31 -07:00

75 lines
2.5 KiB
Plaintext

# v0.26.7 baseline allow-list for scripts/check-test-isolation.sh.
#
# Files here violate one or more of the lint rules (env mutation,
# mock.module, PGLite outside beforeAll, missing afterAll{disconnect}).
# The lint ships in v0.26.7 and v0.26.8 (env sweep) + v0.26.9 (PGLite
# sweep) remove entries from this file as each sweep makes the file
# clean.
#
# RULES:
# - This list MUST shrink over time. Never add new entries — adding a
# new file means accepting cross-file flake risk for that file.
# - When you fix a file (apply withEnv, add the canonical PGLite
# block, etc.), remove its entry here.
# - When you cannot fix a file cleanly (genuinely env-coupled,
# or shares state intentionally), rename it to *.serial.test.ts
# instead of leaving it allow-listed.
#
# Permanent exemption: the test of the lint itself. Its fixture strings
# (passed verbatim into subprocesses) legitimately match the lint
# patterns it is testing detection of. The file does NOT mutate
# process.env at runtime. Permanent — do not remove.
test/scripts/check-test-isolation.test.ts
test/autopilot-install.test.ts
test/bootstrap.test.ts
test/brain-resolver.test.ts
test/check-resolvable-cli.test.ts
test/claw-test-cli.test.ts
test/code-def-refs.test.ts
test/core/cycle.test.ts
test/destructive-guard.test.ts
test/doctor-minions-check.test.ts
test/doctor.test.ts
test/dream.test.ts
test/embed.test.ts
test/eval-capture.test.ts
test/friction-cli.test.ts
test/friction.test.ts
test/gbrain-home-isolation.test.ts
test/helpers/with-env.test.ts
test/http-transport.test.ts
test/hybrid-meta.test.ts
test/init-migrate-only.test.ts
test/integrations.test.ts
test/mcp-eval-capture.test.ts
test/migrate.test.ts
test/migration-orchestrator-v0_31_0.test.ts
test/migration-resume.test.ts
test/migrations-v0_11_0.test.ts
test/migrations-v0_13_1.test.ts
test/migrations-v0_14_0.test.ts
test/migrations-v0_19_0.test.ts
test/migrations-v0_22_4.test.ts
test/minions-shell.test.ts
test/minions.test.ts
test/mounts-cli.test.ts
test/multi-source-integration.test.ts
test/orphans.test.ts
test/pages-soft-delete.test.ts
test/preferences.test.ts
test/reindex-code.test.ts
test/resolve-prepare.test.ts
test/resolvers.test.ts
test/scenarios.test.ts
test/schema-bootstrap-coverage.test.ts
test/search-limit.test.ts
test/seed-pglite.test.ts
test/skillpack-check.test.ts
test/source-resolver.test.ts
test/storage-sync.test.ts
test/subagent-audit.test.ts
test/supervisor.test.ts
test/sync-failures.test.ts
test/sync-parallel.test.ts
test/transcription.test.ts