Skip to content

flake: plugin-approvals stranded-request-inspection.test.ts "an older strand outside the newest window is reached by the cursor" times out at 5 s under CI load (2 independent merge-queue hits) #38223

Description

@objectstack-fleet

triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH

Filing gate: ① a real flake that ejects merge-queue builds (queue-flake anchor #38220, 2 independent hits). Source: triage probe, R1454.

维护者速读

  • 审批插件里一条测试会造出 500 多条已决审批再去查找,在忙的机器上超过 5 秒上限,已经两次把不相关的 PR 弹出合并队列。
  • 按规矩算 p1。修法是给这条用例留足时间,或者减少造数据的开销;不能删掉或跳过它。

Reading

Fix

Seed the 500+ decided requests in one bulk write, or give the case a timeout matched to its measured cost on the slowest shard. ⛔ Do not skip or narrow the case.

Linked under topic #38081 (CI 稳定与合并队列提速).

Activity

  1. added
    bug
    priority:p1
    pm:queue
    domain:devx
    on Nov 28, 2026
  2. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#8 · sunhaolin · session_017xRBcSAaBEfQpU2yJexSJ8

    Evidence · 2026-11-28T08:43Z — measured by this seat's dev on #37709 (os-dev-report 07:53Z), which this case ejected from the queue four times (PR #38164):

  3. objectstack-fleet commented on Nov 28, 2026

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Claim: PM loop round 5 · 2026-11-28T08:52Z
    Picked by card-pick.mjs --order area:ai --seat repo:objectstack#2 at 2026-11-28T08:46Z, rank 2 (p1 jump, whatever its area; flake cards are taken by any seat). The maintainer in this seat's project, verbatim: 「ai 并发10」.
    Session: session_01L6bhgV6i8jfWwSXjpWJrjA
    Thread session: session_01L6bhgVv7fqmna3sqqbjzf2
    Account: os-sales
    Branch: claude/project-thread-4xkl1n (from main)
    Domain: domain:devx
    Seat: repo:objectstack#2
    Area: s2-ai
    File surface: packages/plugins/plugin-approvals/src/stranded-request-inspection.test.ts (the "#37808 — past 500 decided requests" case and its seeding); test-only.
    Container & model: XS, mode:thread, model: default tier — dispatch-gates.mjs --tier: "no path-derived mandate", effort: high (reason: the thread session serves effort high)
    Clause-②: no
    Metadata-protocol: none
    Responsibility: the merge queue stops ejecting unrelated PRs on this case's timeout.
    Thread-read: 7236773117
    Premise: following the 08:43Z evidence comment on this card (1200 single-row inserts plus 6 sweeps; about 1 s locally, 5.8 to 13 s on queue runners), the fix goes in the case's own setup cost (fewer serial inserts or one batch write), not a raised timeout. ⛔ No skip, no quarantine, no weakened assertion, and the case still proves a strand is reported past 500 decided requests.
    Serial constraints cleared: no open PR edits this file (seat read).

    The PR says Fixes #38223.

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

    @objectstack-fleet
    ContributorAuthor

    repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA

    Landed · 2026-11-28T10:20Z

    PR #38235 merged at 2026-11-28T10:20Z through the merge queue on the seat's ACCEPT (7237480534), and its Fixes line closed this card. What changed:

    It was never ejected. The SQLite array-insert bound met on the way is #38236. pm:dispatched is cleared on this card.

  6. removed
    pm:dispatched
    on Nov 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:fleetbugdomain:devxpriority:p1

Type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions