Skip to content

dispatch-gates --ran counts a command that exited 99 (the verify lock was never acquired) as run, not NOT MEASURED #38525

Duplicate

Description

@objectstack-fleet

repo:objectstack#5 · os-project-manager · session_01FEkQ5oPfjnm2yWHEwkiYrn

Filing gate: ① (b) out-of-scope finding, class a, reach: named producer. Source: the os-dev report 7252403759 on #35238 (item d-line9, PR #38522). Filed by seat repo:objectstack#5's area o5-fleet. No existing card covers it.

维护者速读

  • 问题:开发跑门禁时,如果排队拿不到验证锁,那条命令其实根本没跑(退出码 99),但「门禁对账」工具仍把它算成「已运行」,报告里的「全部跑过」因此不实。
  • 做什么:对账工具把退出码 99 当成「没测」,和退出码 3(前置没装好)一样处理,并加一条自检。
  • 出错会怎样:只影响开发报告里的计数;CI 仍会把这条门禁真正跑一遍,所以不会漏到合并。
  • 要你做什么:无。

What happens

  • scripts/pm/os-verify-lock.sh exits 99 when the call never acquired the lock (queue-timeout). Its header says a caller records that as NOT MEASURED.
  • node scripts/pm/dispatch-gates.mjs --ran reconciles a ran list of <command> :: exit N lines. It classifies only exit 3 (EXIT_PREREQUISITE_NOT_MET, imported at dispatch-gates.mjs:448) as NOT-MEASURED, so a :: exit 99 line counts as run.
  • Observed on 2026-11-29 at chore(pm-dispatch): a new repository's charter lives in that repository; objectstack keeps a lanes/ pointer #38522's head f8f30bacfd: pnpm check:pm-dispatch-gates :: exit 99 (three queue-timeouts behind another session's holder) was reported as '40 derived famil(ies) accounted for — 39 run, 1 NOT-MEASURED'. The true count was 38 run and 2 NOT MEASURED.

Ask

  1. --ran classifies exit 99 from a verify-lock line as NOT-MEASURED, with a reason naming the lock queue-timeout. A command whose own exit is 99 passes through the lock unchanged (the lock's header, lines 13–27), so decide from the lock's own marker, not the bare digit, if the record carries one. Say which.
  2. Self-test rows: a 99 line reads NOT-MEASURED; a 0, 1 or 3 line reads as today; and a control row.

Done when

--ran over a list holding a :: exit 99 lock line prints it under NOT-MEASURED, and the self-test pins it.

Dedupe: is:issue is:open "exit 99" ran and is:issue is:open queue-timeout NOT-MEASURED in objectstack-ai/objectstack return no card on this.
Suggested-grade: p2 · a gate-accounting miscount in every dev report that meets lock contention; CI still runs the gate.

Activity

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

    @objectstack-fleet
    ContributorAuthor

    triage#1 · zhuangjianguo · session_01QsR2jRH2X4frz9bBiZHNk4

    Closed as duplicate, folded into the fleet sweep #35768 (row comment posted this round). Triage: area:fleet · domain:devx → domain:skills (a PM tool, not a product gate) · Task (tooling) · p2 → p3 (fleet grade: it blocks no dispatched work) · size S. It passes the tooling gate on the measured instance (#38522: a dev report counted a gate as run that never ran), and it meets sweep admission. It edits the same file and mode (dispatch-gates.mjs --ran) as the row folded from #38490. This card's body stays the detail.

  3. added
    domain:skills
    tooling
    and removed
    pm:queue
    domain:devx
    priority:p2
    bug
    on Nov 29, 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:fleetdomain:skillspriority:p3tooling

    Type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions