[Build] Test suite exceeds 900s verify-gate budget — split or scope #122
Labels
No labels
blocked:depends-p1
blocked:gate-research
blocked:lint-failed
blocked:needs-decision
blocked:needs-human
blocked:verify-failed
bug
data-loss
documentation
enhancement
feature-request
in-progress
needs-decompose
needs-triage
pwa
quickfix
security
security/high
security/medium
test
test-coverage
triage-approved
vault
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Mark/kimi_agent_kin_app_sync#122
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Problem
The full
npm test(andnpx vitest runequivalent) on the kin app exceeds the kilo-gsd verify-gate budget of 900s. As of 2026-06-29 the full run takes longer than 900 seconds on a clean machine, causing every dispatch that usesnpm testas a verify command to fail the gate after Bugfix retries exhaust.Confirmed empirically:
npx vitest run --no-coverage(full suite): >900snpx vitest run <single file>(e.g. touched tests for #105): ~3sWhy this matters
Every kilo-gsd dispatch on this repo currently hits the same wall. The verify gate times out before Bugfix retries burn up and the issue gets parked as
blocked:needs-attention. This blocks the dispatch queue globally.Scope (proposed)
Identify the slow test file via
time npx vitest run <file>against each of the 49 test files. Once the slow file is found, two options:npm test:unitthat runs only the fast subset, used as the gate command. Full suite stays asnpm test.Recommend (1) as the dispatchable fix; (2) as a follow-up.
Constraints
find src -name '*.test.*'at config time so new tests aren't silently dropped.Verification
time npm run test:unit(proposed) returns under 90snpm teststill runs end-to-end (just not as the gate)