Repository navigation
Description
review-split thread · os-warren · session_01JQwxbYzM6act7DgRZuPrxu
Source: maintainer — Warren, 2026-11-19, review-split discussion thread: 03:16Z 「以上都同意」 (CI speed budget for objectstack; 「变慢两成非常大了」 rejected a 20% allowance); 04:24Z 「1+2+4」, point 2 as amended by the review: budget = median 22 min, alarm = p90 32 min, measured weekly by a script that files a speed-up card when over; a PR's own before/after reading is advisory and never blocks a merge.
Filing gate: ③ a task the maintainer dispatched. Child of epic #35205.
Grade: p2 · area:fleet · Task · fleet machinery, no product surface
维护者速读
- 改了什么:每周自动量一次合并队列耗时(中位、九成、失败率),超过 22 分钟中位或 32 分钟九成就自动开一张提速卡。
- 为什么:你 11-19 定的 CI 速度预算;现在没人盯趋势,变慢没人知道。
- 最坏:量错会多开或漏开提速卡;不挡任何合并,可随时撤。
- 需要你做的:无(改 workflow 与 AGENTS.md,到时请你批)。
Baseline
merge_group runs 2026-11-17..19: 176 all-green head SHAs, first start to last end over the queue workflows (waiting for a runner included), p50 21.7 min, p90 31.9 min, max 34.5 min.
What changes
scripts/ci/queue-duration.mjs(new, read-only): reads the last 7 days ofmerge_groupruns of the workflows that run on the queue, groups them by head SHA, and for all-green SHAs measures first start to last end. Prints p50, p90, max, sample size, the queue failure rate (SHAs with any red run), and the five slowest jobs on the critical path. Takes--repo <owner/name>and--since;--jsonfor the workflow.--self-testper AGENTS.md "Writing a --self-test" (battery names, floor, handshake), offline on fixtures.scripts/ci/queue-budget.json(new):budgetMedianMinutes: 22,alarmP90Minutes: 32, the baseline above with its window, and the list of queue workflow names. Changing a number is the maintainer's call (say so in the file and in the script header).- A weekly scheduled job (a job in
fleet-patrols.ymlbesidegoverned-merges-audit, or its own workflow if the patrol pins make that cleaner): runs the script for objectstack; when the 7-day median exceeds the budget or the p90 exceeds the alarm, files or refreshes ONE deduplicated card (fixed title prefix + plain-text body marker, thescheduled-full-run-cardpattern; labels on create only:tooling,area:fleet,domain:devx,priority:p2,pm:queue, issue type Task). Writes nothing onpull_request. Also prints hotcrm's queue reading (--repo objectstack-ai/hotcrm, public) to the run summary, report-only, no card. AGENTS.md, Build & Test: one sentence that the merge queue has a speed budget held inscripts/ci/queue-budget.json, read weekly, over budget files a speed-up card; a PR that changes CI or adds a gate reports the affected job's before/after median as advisory.
Done when
node scripts/ci/queue-duration.mjs --self-testgreen; a live dry run on the last 7 days prints a reading close to the baseline (cite it with the commit it was taken on).- The scheduled job runs on
workflow_dispatchwithout writing on a PR event; the de-dup holds (second run refreshes, never files twice).
Activity
os-warren commentedon Nov 19, 2026
Claim: review-split order 2026-11-19
Session:
session_01JQwxbYzM6act7DgRZuPrxuAccount:
os-warrenBranch:
claude/issue-35322-queue-duration-budgetWorktree:
objectstack-issue-35322Domain:
domain:devxFile surface:
scripts/ci/queue-duration.mjs(new),scripts/ci/queue-budget.json(new),.github/workflows/fleet-patrols.ymlor one new workflow, the patrol pin script if it must learn the new job,AGENTS.md(one sentence in Build & Test)Container & model:
M,mode:subagent,effort: highClause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: none
Premise: holds (baseline measured 2026-11-19 over merge_group 11-17..19)
Serial constraints cleared: none (AGENTS.md also edited by #35321 in a different section)
Generated by Claude Code
objectstack-fleet commentedon Nov 19, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Release: #35322 · holder os-warren is out of tokens (seat-offline, brief 7005006297 on #32588) · back to
pm:queuefor an online sibling seatResume-from: claude/issue-35322-queue-duration-budget@e1626c63 (PR #35343)
2026-11-19T09:26Z · No fleet-lane seat is online; it waits in the queue. The claimant picks up PR #35343 where it stands.
objectstack-fleet commentedon Nov 19, 2026
repo:objectstack#1 · os-sales · session_01L6bhgWSASohaoSSt6uSFPv
Claim: PM loop round 1 (repo:objectstack#1 card thread for #35322, lease:b1-Q)
Session:
session_01L6bhgWSASohaoSSt6uSFPvThread session:
session_01L6bhgWSASohaoSSt6uSFPvAccount:
os-salesBranch:
claude/project-thread-aun4m7(platform exception: this card thread can push only its assigned branch; it starts from the Resume-from sha and opens its own PR, PR #35343 of os-warren is left as it stands)Worktree:
objectstack-issue-35322Domain:
domain:devxSeat:
repo:objectstack#1Area:
b1-QFile surface:
scripts/ci/queue-duration.mjs,scripts/ci/queue-budget.json,.github/workflows/queue-duration-budget.yml,.github/workflows/lint.yml(one self-test line),docs/agents/build-and-test.md(the budget paragraph),AGENTS.mdonly if the card's one sentence fits the line ceilingContainer & model:
M,mode:thread,model: default (no path-derived mandate; governed .github/workflows/** lands Tier H by the seat),effort: highClause-②: no
Metadata-protocol: none
Responsibility: n/a — not a defect card
Thread-read: 7005096299
Premise: holds (PR #35343 at e1626c6 carries a live 7-day reading p50 21.9 / p90 31.9 min against the card's 21.7 / 31.9 baseline)
Pre-claim lane:
scripts/ci/**,.github/workflows/**,docs/agents/**; repo:objectstack seat covers every domain, card carriesarea:fleet(lease b1-Q); not held by seat 5 and not an epic #35205 step orderPre-claim deps: none named; parent epic #35205 is open and orders nothing that blocks this card
Prior rulings read: the card's own Ruling-ref (maintainer, 2026-11-19 03:16Z and 04:24Z: budget = median 22 min, alarm = p90 32 min, weekly script files a speed-up card when over; a PR's before/after reading is advisory and never blocks a merge);
check-prior-rulings.mjs --card 35322on the file surface: 698 hit lines in 42 files (count only, not read line by line here; the dev reads the hits on the files it touches); thescheduled-full-run-cardde-dup pattern is the one the card namesSerial constraints cleared:
overlap-check.mjson e1626c6 against origin/main b65488a: merges cleanly, 0 open PR heads share a file, exit 0. #35321 (AGENTS.md, other section) is unclaimed; this branch leaves AGENTS.md byte-identical.Resume-from: claude/issue-35322-queue-duration-budget@e1626c63
objectstack-fleet commentedon Nov 20, 2026
repo:objectstack#1 · os-sales · session_01L6bhgWSASohaoSSt6uSFPv
Ruling record: maintainer (Sales, os-sales), 2026-11-20T16:00Z, in this card's project thread, on a decision card.
Question, verbatim: 「AGENTS.md 上限从 1050 抬到 1053,写进这句规则吗?」
Answer, verbatim (option A, tapped by the maintainer): 「抬到 1053,整句写进去」
What it orders: the card's item-4 rule sentence (the merge queue's speed budget in
scripts/ci/queue-budget.json, read weekly, an over week files one speed-up card, and a PR that changes CI or adds a gate reports the affected job's before/after median as advisory, never a gate) goes intoAGENTS.mdBuild & Test in full, linked todocs/agents/build-and-test.md#the-merge-queue-speed-budget. TheAGENTS.mdceiling inscripts/pm/check-skill-line-ratchet.mjsis raised 1050 → 1053 by the measured delta (+3), in PR #35582, as an ordinary ruled raise under standing ruling record 6184799323 (letter B).Closes the open question behind L2 finding S1 (record 7015520405 on PR #35582). Options not taken: a short zero-line spelling at a line's tail; no rule sentence for now.