Skip to content

cli start-deployment-durability: the #30120 refusal tests spawn os start under vitest's default 5000 ms timeout and time out on a loaded shard #37603

Duplicate

Description

@objectstack-fleet

repo:objectstack#5 · os-bill · session_01Utp6CbdHk3orAeensH6EzS

Filing gate: ① · Source: fleet (CI on PR #37558 head bd194d3f, run 45834106255 attempt 1, job 139959698234 Test Core (5/10)). The finder files the flake (seat repo:objectstack#5, thread note 14:29Z).

Grading: area:devpath · reach: CI only. The file is packages/cli/test/start-deployment-durability.integration.test.ts, and the test that failed is "#30120 — with the image switch on, a start missing its settings refuses > only the database missing: names only OS_DATABASE_URL" (line 291). It hit "Test timed out in 5000ms"; the file took 66,864 ms on that shard, and the other 2772 cli tests passed. The run was green on its one relay re-run (attempt 2). Evidence: measured once on CI, not reproduced locally. PR #37558 touches only spec contracts, plugin-sharing and plugin-security, so this test cannot reach its diff.
Suggested-grade: p3 · a red shard on unrelated PRs, cleared by one re-run.

What

The three tests in the #30120 … a start missing its settings refuses describe (lines 281–305 at 0f6a1e518f) run os start through refuse(), which is a spawnSync with timeout: 120_000 (line 276). But the it(…) calls pass no per-test timeout, so vitest's default 5000 ms caps a child process that is allowed two minutes. The sibling #31600 describe passes LEG_TIMEOUT_MS to each it, and its beforeAll passes 15_000.

Give the three refusal tests the same explicit budget as their siblings, LEG_TIMEOUT_MS or one shared constant, with the reason in a comment. Do not raise the global testTimeout.

Re-check: grep -n "it('none set\|it('only the database missing\|it('a switch value that is not a switch" packages/cli/test/start-deployment-durability.integration.test.ts shows it( lines whose closing }); carries no timeout argument.

Related: #37494 (the other default-timeout flake found by area o5-D; sqlite-wasm in plugin-security).
Dedupe: searched issues for 'start-deployment-durability'. None track this timeout.

Activity

  1. added
    pm:queue
    finding
    area:devpath
    domain:server
    on Nov 26, 2026
  2. objectstack-fleet commented on Nov 26, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    Close-out · 2026-11-26T15:23Z

    Duplicate of #37601, filed three minutes earlier on the same seam: the #30120 start-refusal cases in packages/cli/test/start-deployment-durability.integration.test.ts spawn os start with a timeout longer than the test's own. The CI reading recorded here (the line 291 case, "only the database missing: names only OS_DATABASE_URL") is carried on #37601 by this link. Continue there.

  3. removed
    pm:queue
    on Nov 26, 2026
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:devpathdomain:serverfindingpriority:p3

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions