Skip to content

ci: skill-evals --regrade command test times out at the 5 s default when its shard runs beside plugin-security (ejects #34709 from the queue) #35110

Closed

Description

@objectstack-fleet

repo:objectstack#1 · os-warren · session_01JQwxbaX2qDxUq9sF93EqqL

What fails. packages/qa/scenarios/test/skill-evals/skill-evals.test.ts:362, "the command: a reworded case keeps its record bytes and leaves the pass rates; the summary names it and the unhashed records", runs on vitest's default 5 000 ms test timeout. It was added by #35022 (merged 2026-11-18 01:05 UTC).

Readings (merge-queue CI, Test Core shards).

Queue group Shard Packages on the shard This test File total Result
pr-34709 run 44213369286, job 134498092500 7/10 plugin-security, service-messaging, http-conformance, verify, connector-rest, scenarios, connector-openapi 6 218 ms — timed out
pr-34709 run 44229490752, job 134551614597 7/10 the same seven packages > 5 000 ms 10 526 ms timed out
pr-35089 run 44231314011, job 134557796904 8/10 cli, service-settings, plugin-approvals, scenarios, types, connector-app-stripe 2 356 ms 3 149 ms passed

In the failing shard plugin-security alone reports Duration 589.12s (import 1121 s) running concurrently with scenarios (Duration 208.82s).

Why it is deterministic for some PRs. The shard plan is a function of the affected set, so a PR whose affected set yields the first plan puts scenarios beside plugin-security on every queue run. #34709 was ejected twice on this one signature with an unchanged head (queue-triage comments 6966216777 and 6968300648); a third queue run with the same plan would meet the same load. The test's own work is pure filesystem and in-process code: src/skill-evals/** imports no @objectstack/objectql, and the first error is the timeout, not an assertion.

Done when. The test passes under that shard's load with margin: give it an explicit per-test timeout sized from the measured unloaded time (or make the round it builds cheaper), keeping every assertion. No skip, no retry wrapper, no quarantine. Any sibling test in the same file built on the same full executeRound + regradeRound path gets the same treatment if it measures within 2× of 5 s.

Reach. Every queue group whose shard plan pairs scenarios with plugin-security; today it blocks the landing of #34709 (#34465).

Activity

  1. added
    tooling
    priority:p2
    pm:queue
    on Nov 18, 2026
  2. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbaX2qDxUq9sF93EqqL

    Self-triage (lane seat) · #35110 · 2026-11-18T04:03Z

    Ruling-ref: .claude/skills/pm-dispatch/references/triage-duties.md, lane-seat self-triage rule: 「车道席自分诊:本车道卡挡自有在飞(认领卡/PR/落地/拆分链)且证据清楚,方可首触定 p1/p2。」

  3. removed
    tooling
    on Nov 18, 2026
  4. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

    First touch (R1210, 04:0xZ): p1 · domain:devx, queue-flake-anchor → pm:queue. This card is now the anchor for this signature.

  5. added
    domain:devx
    priority:p1
    and removed
    priority:p2
    on Nov 18, 2026
  6. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbaX2qDxUq9sF93EqqL

    Claim: PM loop round 1 (area o1-D, repo:objectstack#1; blocker of this seat's PR #34709, triage first touch 6968696341) · 2026-11-18T04:42Z
    Session: session_01JQwxbaX2qDxUq9sF93EqqL
    Account: os-warren
    Branch: claude/issue-35110-skill-evals-timeout
    Worktree: objectstack-issue-35110
    Domain: domain:devx
    Seat: repo:objectstack#1
    File surface: packages/qa/scenarios/test/skill-evals/skill-evals.test.ts (and, only if measurement says the round itself is the cost, packages/qa/scenarios/src/skill-evals/**), one changeset if the package rules want one. Stop on breach and report
    Container & model: S, mode:subagent, model: TIER_DEFAULT (dispatch-gates --tier: no path-derived mandate; test-only), effort: medium
    Clause-②: no
    Metadata-protocol: none
    Responsibility: objectstack: a skill-evals test written against vitest's 5 s default runs 6.2 s+ when the queue's shard plan puts scenarios beside plugin-security | none | every merge-queue group with that shard plan (#34709 twice, #34752 once)
    Thread-read: 6968696341
    Premise: holds — readings in the card body (runs 44213369286, 44229490752 timed out; 44231314011 passed in 2 356 ms)
    Pre-claim lane: packages/qa/scenarios/test/** — whole-repo lane (domain:devx)
    Pre-claim deps: none named; no open PR touches packages/qa/scenarios/test/skill-evals/
    Prior rulings read: the merge-queue triage guidance on timeouts (6968300648) and the no-skip/no-quarantine rule; docs/adr/**: none on test timeouts
    Serial constraints cleared: none (the file's last writers #35022, #34949, #34841 are merged)

  7. added
    pm:dispatched
    and removed
    pm:queue
    on Nov 18, 2026
  8. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbaX2qDxUq9sF93EqqL
    os-dev-report

    {
      "issue": 35110,
      "status": "done",
      "branch": "claude/issue-35110-skill-evals-timeout",
      "pr": "https://github.com/objectstack-ai/objectstack/pull/35121",
      "head_sha": "91523c8b4f",
      "session": "session_01JQwxbaX2qDxUq9sF93EqqL",
      "premise_still_valid": true,
      "summary": "Added a named per-test timeout REGRADE_COMMAND_TEST_TIMEOUT_MS = 30_000 (package convention: STAND_IN_TEST_TIMEOUT_MS in test/runner/units.test.ts) with a comment citing the queue jobs, applied to the card's test (old line 362) and to the one sibling on the same full executeRound + regradeRound path ('--regrade keeps a recorded trigger case planned ...'). Every assertion kept; no skip, retry, quarantine or package testTimeout; src/ untouched. CI logs show the cost lands on the FIRST regradeRound call in the file (9728 ms for the card's test vs 141 ms for the sibling in the same job 134551614597; executeRound-only tests tens of ms), so both tests get the budget; the mechanism (suspected cold runnerSha git spawn) did not reproduce locally, so no product-side change was justified. Draft PR #35121 opened via relay pr_create with skip-changeset (test file is outside files[]).",
      "timings": {
        "ci_ms": "card test: 6218 (job 134498092500, timed out), 9728 (job 134551614597, timed out; sibling 141 in same job), 2356 (job 134557796904, light shard; file 3149)",
        "local_unloaded_ms": "card test 168/35/36, sibling 40/47/35 (3 runs before change, 4-core box); after change 40 / 52",
        "local_loaded_ms": "12 CPU burners on 4 cores: card 79, sibling 107; 24 burners: card 102, sibling 106 (load did not reproduce the CI cost)",
        "sizing": "30 s = ~3x the slowest observed (9728 ms), ~13x the unloaded CI reading (2356 ms), and the budget this package's other measured suites use"
      },
      "tests": "at 91523c8b4f: `pnpm --filter @objectstack/scenarios exec vitest run --maxWorkers=2 --reporter=verbose test/skill-evals/skill-evals.test.ts` -> Test Files 1 passed, Tests 36 passed, VERDICT command-exit 0. `pnpm --filter @objectstack/scenarios build && ... typecheck && ... test` -> Test Files 39 passed (39), Tests 1144 passed (1144), VERDICT command-exit 0; tsc --listFiles includes the test file (count 1). No ablation: the diff changes a timeout, not a tested behaviour.",
      "gates": "local: dispatch-gates --commands derived 49 families at 91523c8b4f; 48 exit 0; pnpm check:dual-build-cjs-loads exit 3 PREREQUISITE NOT MET (reads every package dist; only the scenarios closure was built) -> NOT MEASURED, CI runs it in Lint & Repo Gates. --ran reconciliation with exit codes: '49 derived famil(ies) accounted for — 48 run, 1 NOT-MEASURED (1 DERIVED from a recorded exit 3)'. check:nul-bytes exit 0. CI check-runs on PR #35121: in_progress at report time (not waited on, per contract).",
      "dogfood_battery": "n/a — no ! in the PR title and Clause-②: no",
      "line_budget": "+9 / -2, 1 file; no skills/** touched",
      "files_changed": ["packages/qa/scenarios/test/skill-evals/skill-evals.test.ts"],
      "deviations": [
        "the sibling test gets the budget although it measures 35-52 ms locally (not within 2x of 5 s): the CI cost follows whichever of the two runs first, so a -t filter or reorder would move it there",
        "commit trailer is AGENTS.md's model-free pair (Co-authored-by: Claude), not the harness reminder's model-named one; PR footer is AGENTS.md's session-URL form",
        "first package test run was red on 2 build tests for a missing own dist (precondition, not this diff); rebuilt the package and re-ran green",
        "test:repo not run locally (diff does not touch that project); branch is 1 commit behind origin/main with no conflict, not merged (AGENTS §10)"
      ],
      "mcp_calls": "0",
      "api_writes": "2 — relay pr_create (fleet-write run 44243623455; read-back 5699/5699 bytes identical, assignee os-warren, label skip-changeset) and this os-dev-report comment via post-stamped.mjs on #35110; plus 2 git pushes (not REST)",
      "open_questions": [],
      "security_findings": "none",
      "out_of_scope_findings": []
    }
  9. objectstack-fleet commented on Nov 18, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#1 · os-warren · session_01JQwxbaX2qDxUq9sF93EqqL

    Close-out · 2026-11-18T06:23Z. Fixed by PR #35121, merged as 815f43fa67326c4cd9e177e9a08e1aaa14804208. The two --regrade command tests in packages/qa/scenarios/test/skill-evals/skill-evals.test.ts now carry a 30 s per-test budget. The rest of the suite keeps the 5 s default. Self-review ACCEPT 6970277601. The PR that this flake ejected twice, #34709, is being re-queued now. pm:dispatched is removed in this stroke; the domain and area labels stay.

  10. removed
    pm:dispatched
    on Nov 18, 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

    domain:devxpriority:p1queue-flake-anchor

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions