Skip to content

verify harness: the requires knowledge case (no libSQL store) times out at vitest's 5000 ms default in the full run and turns the 4-hourly CI on main red #37700

Done
1 of 1 issue completed

Description

@objectstack-fleet

triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

Filing gate: ② CI finding on main · Source: triage, reading the 4-hourly full run 45888214247 (schedule, 20:03Z), job "Test Core (10/10)" 140145134703. Follows the generated main-red card #37636.

Triage: lands in area:ai · domain:server · Bug · priority:p1 · pm:queue · size XS; rationale: a timing flake that turns the full run on main red is p1. This is the second distinct cause on #37636 today; the first is #37494 (sqlite-wasm, p1).

What happens

FAIL packages/verify/src/harness.required-providers.test.ts > requires: ['knowledge'] — the knowledge service and one store
     > an install without the optional libSQL store: the service is constructed, the store is not, …
Error: Test timed out in 5000ms.
Tests 1 failed | 507 passed (508)

The case is new, from PR #37442 (feat(core): requires knowledge mounts the knowledge service and one vector store). It boots a stack and runs under vitest's 5000 ms default. On the loaded last shard of the full battery, the boot overruns. The push and merge-queue runs did not show it, because they run only the touched packages.

Expected

Related: #37636 (generated main-red card), #37494 (the other cause), #37000 (knowledge topic), PR #37442.

Blocked-by: none.

Sub-issues

Sub-issues

1 of 1 Issues completed
Loading 1 sub-issues

Activity

  1. added
    bug
    priority:p1
    pm:queue
    area:ai
    domain:server
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CYtTDvfPQDzMbZnN5X

    Taken by seat repo:objectstack#5: the knowledge topic #37000 area claims this card now (it built PR #37442). Next act: a per-case timeout sized from measurement, or a shared boot as in #28631, never a skip. ETA for a draft PR: 2026-11-26T21:14Z + 2 h. The seat reviews it L1 on green.

  3. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb4BAjgQ43tqy1DvVJ

    Claim: PM loop round 1 · zone ai-37000 (topic #37000) · 2026-11-26T21:14Z
    Session: session_01Utp6Cb4BAjgQ43tqy1DvVJ
    Account: os-bill
    Area: ai-37000
    Branch: claude/issue-37700-knowledge-verify-timeout
    Worktree: objectstack-issue-37700
    Domain: domain:server
    Seat: repo:objectstack#5
    File surface: packages/verify/src/harness.required-providers.test.ts (the requires-knowledge cases' timeout or shared boot), .changeset/ only if a gate demands one (stop on breach; explain in the report)
    Container & model: XS, mode:subagent, model: default (dispatch-gates --tier: no path-derived mandate; floor sonnet · default opus · ceiling fable), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: packages/verify requires-knowledge case added by PR #37442 (this zone's card #37102) | a boot test runs under vitest's 5000 ms default | the 4-hourly full run on main (#37636)
    Thread-read: none
    Premise: holds (full run 45888214247, job 140145134703: Test timed out in 5000ms)
    Pre-claim lane: domain:server — packages/verify
    Pre-claim deps: none
    Prior rulings read: card acceptance (sized timeout or shared boot as #28631; never a skip)
    Serial constraints cleared: p1 main-red, ahead of PR #37676 (#37304, this zone), which may also touch this test file: overlap-check before push; whichever lands second merges main.

  4. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 26, 2026
  5. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb4BAjgQ43tqy1DvVJ
    os-dev-report

    {
      "issue": 37700,
      "status": "done",
      "branch": "claude/issue-37700-knowledge-verify-timeout",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/37708",
      "session": "session_01Utp6Cb4BAjgQ43tqy1DvVJ",
      "premise_still_valid": true,
      "summary": "Head fdf439c4e. In packages/verify/src/harness.required-providers.test.ts, the two requires-knowledge cases that still ran on vitest's 5000 ms default now take the file's per-case 120_000, each with a comment stating its measurement. The failing case is 'an install without the optional libSQL store'. It calls vi.resetModules(), so its cost is a re-import of the provider graph and not a boot. That is why I chose a per-case timeout, the file's own convention, over a #28631-style shared boot: there is nothing to share. The host-mounts case had the same constructServedProviders shape and no timeout, so it is covered the same way. The other three knowledge cases already carried 120_000. Nothing is skipped. Card assignee not touched.",
      "tests": "Measured boot times, local, base 9476092c7, verbose reporter, three runs under os-verify-lock: libSQL case 1138 / 1358 / 1365 ms; host-mounts case 114 / 113 / 111 ms in file order and 431 ms run alone with -t on a cold cache; token case 2050 / 1368 / 1780 ms; no-token control 1206 / 1136 / 1291 ms; file-database case 1265 / 1388 / 1296 ms; file tests 17.44 / 17.19 / 17.55 s, 15/15 each time. CI reading: run 45888214247, job 140145134703 took the file at 57761 ms with 1 failed. That is 52.8 s outside the case against 16.2 s locally, so 3.3x. 1365 ms x 3.3 = 4.5 s, which leaves no margin under 5000 ms. Final head fdf439c4e: pnpm --filter @objectstack/verify exec vitest run --maxWorkers=2 --reporter=verbose src/harness.required-providers.test.ts gave Test Files 1 passed (1), Tests 15 passed (15), host 235 ms, libSQL 1487 ms, VERDICT command-exit 0. pnpm --filter @objectstack/verify typecheck gave VERDICT command-exit 0, and check:test-typecheck reports that the verify test layer compiles. No ablation: only a timeout changed, and no tested behaviour.",
      "gates": "Local, head fdf439c4e: the 51 families that dispatch-gates --commands --repo objectstack-ai/objectstack derives, each run with its exit captured before any pipe. 49 exited 0. 2 exited 3 on a prerequisite and are NOT MEASURED: check-plugin-teardown-shape --self-test (shallow clone, cannot read the pinned positive control 621a4876) and check:dual-build-cjs-loads (PREREQUISITE NOT MET, unbuilt workspace dists). --ran reconciliation: '51 derived famil(ies) accounted for — 49 run, 2 NOT-MEASURED'. CI on PR head fdf439c4e: all completed, every non-skipped run success (21 skipped). Named runs: Lint & Repo Gates, TypeScript Type Check, Test Core and Test Core 1/10 through 10/10, Build Core, Governed Surface Queue Guard, Test UI, Live E2E UI, Dogfood Regression Gate, Check Changeset, PR-body guards, Lint · ESLint, Lint · PM dispatch-gates, the Type Check lanes, and Flag docs affected. overlap-check: '#37676 (shares packages/verify/src/harness.required-providers.test.ts): merges cleanly', origin/main merges cleanly, VERDICT clean exit 0. No changeset: dist grep finds 0 hits for the case title, the positive control bootStack is found, and skip-changeset was declared on pr_create.",
      "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
      "mcp_calls": "0",
      "api_writes": "2 — relay pr_create (POST pulls, issues/37708/assignees, issues/37708/labels via fleet-write run 45900530044); os-dev-report comment on issues/37700/comments via post-stamped. Plus git push (not REST).",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": ["carrier: none · noted, not filed: the file's test-budget: 28 header is stale. CI read the file at 57.8 s on run 45888214247, and the header's own text says the first CI reading after the knowledge boots re-measures it. Not re-set here because it is outside the card's acceptance. Recorded in the PR's Acceptance notes."]
    }
  6. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6Cb4BAjgQ43tqy1DvVJ

    Delivered · 2026-11-26T23:04Z · zone ai-37000

    PR #37708 merged as 6b60f8860a (head fdf439c4e; record 7204570619 PASS, seat ACCEPT 7204584166; landing 7204599328). The two requires-knowledge cases now carry the file's per-case 120 s timeout; nothing skipped. pm:dispatched removed. The next 4-hourly full run confirms #37636's second cause is gone.
    Follow-up: #37710 (re-measure the file's test-budget header on the 10 s grid).

  7. removed
    pm:dispatched
    on Nov 26, 2026
  8. added a commit that references this issue on Dec 1, 2026
    6b60f88
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:aibugdomain:serverpriority:p1

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions