gstack/test
Garry Tan 3c7dc78da5
fix: pre-existing test flakiness in relink.test.ts
The 23 tests in this file all shell out to gstack-config + gstack-relink
(bash scripts doing subprocess work). Under parallel bun test load, those
subprocess spawns contend with other test suites and each test can drift
~200ms past Bun's 5s default timeout, causing 5+ flaky timeouts per run
in the gate-tier ship gate.

Wrap the `test` import to default the per-test timeout to 15s. Explicit
per-test timeouts (third arg) still win, so individual tests can lower
it if needed. No behavior change — only gives subprocess-heavy tests
more headroom under parallel load.

Noticed by /ship pre-flight test run. Unrelated to the main PR fix but
blocking the gate, so fixing as a separate commit per the test ownership
protocol.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-16 13:55:46 -07:00
..
fixtures feat: Confusion Protocol, Hermes + GBrain hosts, brain-first resolver (v0.18.0.0) (#1005) 2026-04-16 10:41:38 -07:00
helpers feat: Confusion Protocol, Hermes + GBrain hosts, brain-first resolver (v0.18.0.0) (#1005) 2026-04-16 10:41:38 -07:00
analytics.test.ts
…
audit-compliance.test.ts
…
builder-profile.test.ts feat: relationship closing — office-hours adapts to repeat users (v0.16.2.0) (#937) 2026-04-08 22:21:28 -10:00
codex-e2e.test.ts
…
diff-scope.test.ts
…
gemini-e2e.test.ts feat: Confusion Protocol, Hermes + GBrain hosts, brain-first resolver (v0.18.0.0) (#1005) 2026-04-16 10:41:38 -07:00
gen-skill-docs.test.ts
…
global-discover.test.ts
…
hook-scripts.test.ts
…
host-config.test.ts feat: Confusion Protocol, Hermes + GBrain hosts, brain-first resolver (v0.18.0.0) (#1005) 2026-04-16 10:41:38 -07:00
learnings-injection.test.ts
…
learnings.test.ts
…
relink.test.ts fix: pre-existing test flakiness in relink.test.ts 2026-04-16 13:55:46 -07:00
review-log.test.ts
…
skill-e2e-bws.test.ts fix: cookie picker auth token leak (v0.15.17.0) (#904) 2026-04-08 10:10:13 -07:00
skill-e2e-cso.test.ts
…
skill-e2e-deploy.test.ts
…
skill-e2e-design.test.ts
…
skill-e2e-learnings.test.ts
…
skill-e2e-plan.test.ts
…
skill-e2e-qa-bugs.test.ts
…
skill-e2e-qa-workflow.test.ts
…
skill-e2e-review-army.test.ts
…
skill-e2e-review.test.ts feat: Confusion Protocol, Hermes + GBrain hosts, brain-first resolver (v0.18.0.0) (#1005) 2026-04-16 10:41:38 -07:00
skill-e2e-session-intelligence.test.ts
…
skill-e2e-sidebar.test.ts
…
skill-e2e-workflow.test.ts
…
skill-e2e.test.ts
…
skill-llm-eval.test.ts
…
skill-parser.test.ts
…
skill-routing-e2e.test.ts feat: Confusion Protocol, Hermes + GBrain hosts, brain-first resolver (v0.18.0.0) (#1005) 2026-04-16 10:41:38 -07:00
skill-validation.test.ts feat: UX behavioral foundations + ux-audit command (v0.17.0.0) (#1000) 2026-04-14 07:47:11 -10:00
team-mode.test.ts feat: Confusion Protocol, Hermes + GBrain hosts, brain-first resolver (v0.18.0.0) (#1005) 2026-04-16 10:41:38 -07:00
telemetry.test.ts
…
timeline.test.ts
…
touchfiles.test.ts
…
uninstall.test.ts
…
worktree.test.ts
…