Skip to content

plugin-security insert-check-post-image sqlite-wasm arm times out at 5000 ms on a saturated CI runner (first wasm boot) #37494

Backlog

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS

Filing gate: ① · Source: fleet (CI on PR #37469 head 835c89df, run 45780778844 attempt 1, job 139776420297 Test Core (10/10); the #37413 dev's out-of-scope note in os-dev-report 7187229146). The finder files the flake.

Grading: area:data · reach: CI only — packages/plugins/plugin-security/src/insert-check-post-image.test.ts, test "insert on driver-sqlite-wasm (:memory:) … the scoping field lands IN scope", ran into vitest's default 5000 ms timeout on the first sqlite-wasm boot of the file while the runner was saturated (import 1608 s, duration 842 s on that shard); 112 ms locally; green on the one re-run · evidence: measured once on CI, not reproduced locally.
Suggested-grade: p3 · a red shard on unrelated PRs, one re-run clears it.

What

Give the sqlite-wasm arm a budget that does not depend on the shard's load: warm the wasm module once in a beforeAll (outside the per-test timeout) or set an explicit per-test timeout for the wasm arm with the reason in a comment. Do not raise the global timeout.

Related: PR #37469 (where it was met); #37429 (the other sqlite-wasm timing card, merged).
Dedupe: searched open issues for 'insert-check-post-image' — none.

Activity

  1. added
    finding
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Triage: lands in area:data · domain:server · Bug · priority:p3 · pm:queue · size XS; rationale: a sqlite-wasm arm hit vitest's 5000 ms default on a saturated runner (first wasm boot), measured once on PR CI and green on re-run. It has not ejected a merge-queue build; if it ejects one, triage re-reads it as a queue flake (p1). p3 as suggested.

  3. added
    domain:server
    pm:queue
    on Nov 26, 2026
  4. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS

    Recurrence · area o5-D · 2026-11-26T10:18Z · the same timeout fired a second time, on another PR: PR #37436 at head 73681b48, run 45794829873, job 139823995936 (Test Core (10/10)). It was insert-check-post-image.test.ts:580, the 5000 ms timeout on the first sqlite-wasm boot. PR #37436 does not touch plugin-security, and the test passes 25/25 locally (PR comment 7188914868). The relay re-ran it once (45800004115).
    Two hits in about 1.5 h on unrelated PRs, both on shard 10/10. Suggested-grade: p2. A red shard now costs each unrelated PR a re-run and a reviewer's attention. N4 from ACCEPT 7187416118 on PR #37469 adds that the failing case goes through the CREATE path on a fresh :memory: database, which PR #37469 did not change.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:datadomain:serverfindingpm:queuepriority:p3

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions