You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
domain:devxDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p0Queue-jump: outranks batch and breaks the round — never exempts claiming or same-file serialqueue-flake-anchor
scripts/__tests__/check-hand-rolled-comment-mask.test.ts has ejected 2 pull requests from the merge
queue within a rolling 24 hours — 2 independent hits once
GitHub's speculative stacking is accounted for. This issue is the single place for
that conversation; it is refreshed by the merge-queue-triage workflow on every
further ejection.
This issue is a NAME, not a diagnosis. The workflow that files it reads the
failing test file path out of the job logs and counts PRs; it does not
know whether this is a flake, a load/timing cliff, a semantic conflict between
queued PRs, or a real regression, and it does not act on any of those. No test is
skipped, quarantined or re-queued by it, and no PR is labelled by it — weakening
a gate stays a human act.
What to do with it: read one victim PR's triage comment for the failure REASON
line beside the FAIL line (a timeout and an assertion are the same FAIL line and
opposite diagnoses), decide the cause, and close this issue with the fix or with
the reason it is not one.
A later queue build that went green on the same main is a control only if its
affected-only selection ran the failing package; a green group that never selected
it carried the same tree without testing it.
What fails.scripts/__tests__/check-hand-rolled-comment-mask.test.ts › "this tree, today › exits 0 as a process, which is what CI reads" (:241) fails in Test UI 3/16. The case spawns the checker over the whole tree; it took 15.1 s and 19.1 s in the two red runs. The script's own self-test passes (13/13) in both. This is the shape of a timing cliff in a test that scans the full tree, not an assertion about a single PR's change.
Why p0 (#34152 rule plus its addendum). The failing case runs against main's own tree, and the workflow counts 2 independent hits on unrelated roots: PR #34447 (run 43951019700, 20:38Z) and PR #34429 (run 43980731814, 23:45Z). Two unrelated heads ejected by one main-side signature is the queue-stall class, so this is p0.
Fix. Give the whole-tree process case a budget that matches its cost (or make it scan a fixture instead of the live tree). ⛔ Do not skip or quarantine it.
No fix PR exists yet, so there is nothing to jump. The whole-repo seat is knocked.
Claim: PM loop · area o2-C · p0 queue-flake anchor · 2026-11-17T00:50Z
Session: session_01ADHkmRH4UCX1tvddXMS7cq (area o2-C; the dev is an os-dev subagent of this session)
Account: os-steve
Branch: claude/issue-34523-comment-mask-process-budget
Worktree: objectstack-issue-34523
Domain: domain:devx
Seat: repo:objectstack#2
Ruling-ref: triage 6934114979 (p0; fix = a budget that matches the case's cost, or a fixture instead of the live tree; ⛔ no skip or quarantine)
File surface: ui/scripts/__tests__/check-hand-rolled-comment-mask.test.ts only (the exits 0 as a process case, :241). Test-only, no published package moves ⇒ skip-changeset.
Container & model: S, mode:subagent, model: TIER_DEFAULT, effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack: a whole-tree gate case is timed against the 15 s default test budget (ui/vitest.config.mts testTimeout 15000) while its spawned sweep takes 15.1–19.1 s in Test UI | an explicit per-case budget matched to the measured cost | the merge queue: two unrelated PRs (#34447, #34429) ejected by this signature
Thread-read: 6934114979
Premise: the case at :241 spawns check-hand-rolled-comment-mask.mjs over the live tree with no per-case timeout, so the root testTimeout: 15000 applies; triage read 15.1 s and 19.1 s in the two red runs, self-test 13/13 green in both. The dev re-reads the failing job log's REASON line (timeout vs assertion) before changing anything.
Pre-claim lane: domain:devx (ui/scripts/** gate tests); full-repo seat.
Pre-claim deps: no Blocked-by:; no open PR touches the test file or ui/vitest.config.mts (diff scan of every open PR head against origin/main).
Prior rulings read: check-prior-rulings.mjs --card 34523 → 41 term hits (ADR-0007 §10, ADR-0029 D8, ADR-0034 §4, ADR-0041 §1, ADR-0045 §6, ADR-0054 §1/§4, ADR-0059 §2, ADR-0060 D2/D6), none on test budgets; thread: none.
Serial constraints cleared: none needed.
Lease: lease:o2-C.
{
"issue": 34523,
"status": "done",
"branch": "claude/issue-34523-comment-mask-process-budget",
"pr": "https://github.com/objectstack-ai/objectstack/pull/34572",
"head": "b7b424d7e582781e97a805645ce793b3e1e48d98",
"session": "session_01ADHkmRH4UCX1tvddXMS7cq",
"premise_still_valid": true,
"summary": "Premise confirmed from the red queue job (run 43980731814, Test UI 3/16, job 133698990223): the case failed with REASON 'Error: Test timed out in 15000ms.' at check-hand-rolled-comment-mask.test.ts:241:3, case wall 19146 ms, self-test 13/13 green; a timeout, not a status assertion. Fix (test-only, one file): the 'exits 0 as a process, which is what CI reads' case now carries WHOLE_TREE_CASE_MS = 60_000 (19.1 s worst seen, about 3x headroom), and run()'s spawnSync timeout drops from 300_000 to SPAWN_TIMEOUT_MS = 50_000, below the case budget, so a hung sweep fails the assertion as status null instead of on vitest's timer. Other whole-tree work in the file: the describe-level sweep({ root: REPO_ROOT }) runs at collection time, and the only other run() call is the usage-error case run(['--all-of-them']) (143 ms in the red run, exits on argument parsing), so no second case needed the treatment. No skip, quarantine, retry, global testTimeout change or fixture swap.",
"log_reason_quote": "FAIL unit scripts/__tests__/check-hand-rolled-comment-mask.test.ts > this tree, today > exits 0 as a process, which is what CI reads / Error: Test timed out in 15000ms. / scripts/__tests__/check-hand-rolled-comment-mask.test.ts:241:3 (case 19146ms)",
"measured_durations": "queue 43951019700 (PR #34447): 15.1 s timed out (triage reading); queue 43980731814 (PR #34429): 19146 ms timed out; local origin/main d4c0c12104, no budget: 6472 ms green; local fix leg b7b424d7e5: 5518 ms green; local ablation leg (budget removed) on b7b424d7e5: 5917 ms green; PR CI Test UI (2/16) job 133752359941 on b7b424d7e5: 6112 ms green",
"tests": "All under os-verify-lock, cwd ui/: 'pnpm exec vitest run --project unit --maxWorkers=2 --reporter=verbose scripts/__tests__/check-hand-rolled-comment-mask.test.ts'. Baseline origin/main d4c0c12104: VERDICT command-exit 0, Tests 22 passed (22), case 6472 ms. Fix leg b7b424d7e5: Tests 22 passed (22), case 5518 ms. Ablation (one-shot, committed fix first): node scripts/ablation-replace.mjs anchor ' }, WHOLE_TREE_CASE_MS);' -> ' });', 'anchor hits 1 time(s)', 'ok mutation landed: anchor 1 -> 0, blob d64bac701269 -> 1e8ac353729e', run Tests 22 passed (22), case 5917 ms (green on this unloaded box, as expected: the failure needs a loaded queue runner; reported as a duration, not a verdict), 'ok restored: blob == HEAD (d64bac701269) and git diff HEAD is empty', plus a trap restore and a hash-object check against the HEAD blob. Bundle VERDICT command-exit 0, held 565s. No build/dist involved: the test imports the .mjs script source directly.",
"gates": "Derived: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at b7b424d7e5 -> 21 commands; each run with stdin from /dev/null, exit captured before any pipe. 20 exit 0: check-closing-keyword-parity (+ --self-test), check-comment-mask-corpus, check:adr-anchors, check:cross-package-test-inputs, check:driver-memory-census, check:engine-double-contract, check:gitlink-declared, check:nul-bytes, check:published-files, check:query-options-erasure, check:refd-timer-probe, check:registry-log-declared, check:rest-log-spy-declared, check:tier-file-adoption, check:type-check-coverage, check:type-check-debt (first unlocked try exit 3 PREREQUISITE NOT MET on lock queue-timeout; re-run under the lock exit 0), check:undeclared-dep-imports, check:watch-hint-literal, check:where-matcher. 'pnpm --dir ui exec vitest run scripts/' exit 1 = PREREQUISITE NOT MET locally (fresh worktree, no @objectstack/spec dist: 16x 'Cannot find package @objectstack/spec/...'; 22 failed files, none of them the changed file); the family's verdict is CI's: Test UI success on b7b424d7e5. --ran reconciliation: '21 derived, 21 run, 0 NOT-MEASURED, 0 UNRUN' exit 0. File: /mnt/project-files/objectstack-seat2/34523-gates-ran.txt. PR check-runs on b7b424d7e5 (all non-skipped completed success): Lint & Repo Gates, TypeScript Type Check, Test Core, Governed Surface Queue Guard, Lint UI, Type Check UI, Test UI (shards 1/16, 2/16), Build & E2E UI, Live E2E UI, Dogfood Regression Gate, Check Changeset, Check PR Size, PR-body guards, Type Check debt ledger/source/workspace/consumer gates. Build Core skipped by selector.",
"dogfood_battery": "n/a: no ! in the PR title and Clause-② is no",
"files_changed": ["ui/scripts/__tests__/check-hand-rolled-comment-mask.test.ts (+7 / -2)"],
"line_budget": "n/a: no skills/** or ratcheted ledger touched",
"deviations": "Merged origin/main once before pr_create (b7b424d7e5, clean). Opened the draft PR before the local post-fix and ablation readings because the shared verify lock was held for about 58 min by another agent's ui vitest run (pid 13603, alive at 179 to 190 percent CPU, not hung); those readings are in this report, not the PR body, which the dev writes only once. Comment carries the full report JSON per os-dev.md; standard-order item 10 asks for machine-checkable fields only (gates / line_budget / deviations / files_changed), which are included.",
"mcp_calls": "4, all reads: get_job_logs x2 (run 43980731814 failed_only, job 133698990223), actions_list x1 (list_workflow_jobs), issue_read x1 (get_comments 34523). No MCP write.",
"api_writes": "2 relay writes: POST /repos/objectstack-ai/objectstack/dispatches op pr_create (run 43996962899, PR #34572, body 4290 bytes read back identical, assignees os-steve, labels skip-changeset); post-stamped.mjs --comment=34523 (this report). git push x3 (not REST).",
"open_questions": [
{ "question": "ui/AGENTS.md test discipline and standard-order item 6 both forbid raising timeouts to hide flakiness; this card's triage ruling (6934114979) and delta order chose a per-case budget. Is that conflict accepted as read?", "options": ["A accept: the cost is real work (a whole-tree sweep in a child process), not a module-load race, and the budget is per case, not global", "B swap the case to a fixture tree (triage's second option), which changes what the case proves"], "recommendation": "A, because the case's point is the real tree's process exit, and the measurement shows a work-bound cost, not a race" },
{ "question": "The file's whole-file wall in the red run was 19942 ms, above the 10 s line scripts/measure-test-shard-timings.mjs reports on (report-only). Add a '// test-budget:' header?", "options": ["A leave it: report-only, outside this card's file surface claim", "B a follow-up adds the header with a class from TEST_BUDGET_CLASSES"], "recommendation": "A for this p0; the seat decides whether the refresh lane's report needs it" }
],
"security_findings": "none",
"out_of_scope_findings": ["carrier: none · noted, not filed: the usage-error case (run(['--all-of-them'])) shares run()'s 50 s spawn timeout under the 15 s default case budget; it exits on argument parsing in about 140 ms, so this is not a reachable failure"]
}
domain:devxDomain lane — seat card indexed by label:pm:seatfindingRecorded observation — held, not dispatchable until the findings triage round grades itpriority:p0Queue-jump: outranks batch and breaks the round — never exempts claiming or same-file serialqueue-flake-anchor
Activity
objectstack-fleet commentedon Nov 17, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Path: none
Triage: queue-flake anchor → p0 ·
domain:devx· 2026-11-17T00:46Z⛔ Not a claim.
What fails.
scripts/__tests__/check-hand-rolled-comment-mask.test.ts› "this tree, today › exits 0 as a process, which is what CI reads" (:241) fails in Test UI 3/16. The case spawns the checker over the whole tree; it took 15.1 s and 19.1 s in the two red runs. The script's own self-test passes (13/13) in both. This is the shape of a timing cliff in a test that scans the full tree, not an assertion about a single PR's change.Why p0 (#34152 rule plus its addendum). The failing case runs against main's own tree, and the workflow counts 2 independent hits on unrelated roots: PR #34447 (run 43951019700, 20:38Z) and PR #34429 (run 43980731814, 23:45Z). Two unrelated heads ejected by one main-side signature is the queue-stall class, so this is p0.
Fix. Give the whole-tree process case a budget that matches its cost (or make it scan a fixture instead of the live tree). ⛔ Do not skip or quarantine it.
No fix PR exists yet, so there is nothing to jump. The whole-repo seat is knocked.
objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRH4UCX1tvddXMS7cq
Claim: PM loop · area o2-C · p0 queue-flake anchor · 2026-11-17T00:50Z
Session:
session_01ADHkmRH4UCX1tvddXMS7cq(area o2-C; the dev is anos-devsubagent of this session)Account:
os-steveBranch:
claude/issue-34523-comment-mask-process-budgetWorktree:
objectstack-issue-34523Domain:
domain:devxSeat:
repo:objectstack#2Ruling-ref: triage 6934114979 (p0; fix = a budget that matches the case's cost, or a fixture instead of the live tree; ⛔ no skip or quarantine)
File surface:
ui/scripts/__tests__/check-hand-rolled-comment-mask.test.tsonly (theexits 0 as a processcase,:241). Test-only, no published package moves ⇒skip-changeset.Container & model:
S,mode:subagent,model: TIER_DEFAULT,effort: highClause-②: no
Metadata-protocol: none
Responsibility:
objectstack: a whole-tree gate case is timed against the 15 s default test budget (ui/vitest.config.mts testTimeout 15000) while its spawned sweep takes 15.1–19.1 s in Test UI | an explicit per-case budget matched to the measured cost | the merge queue: two unrelated PRs (#34447, #34429) ejected by this signatureThread-read: 6934114979
Premise: the case at
:241spawnscheck-hand-rolled-comment-mask.mjsover the live tree with no per-case timeout, so the roottestTimeout: 15000applies; triage read 15.1 s and 19.1 s in the two red runs, self-test 13/13 green in both. The dev re-reads the failing job log's REASON line (timeout vs assertion) before changing anything.Pre-claim lane:
domain:devx(ui/scripts/**gate tests); full-repo seat.Pre-claim deps: no
Blocked-by:; no open PR touches the test file orui/vitest.config.mts(diff scan of every open PR head againstorigin/main).Prior rulings read:
check-prior-rulings.mjs --card 34523→ 41 term hits (ADR-0007 §10, ADR-0029 D8, ADR-0034 §4, ADR-0041 §1, ADR-0045 §6, ADR-0054 §1/§4, ADR-0059 §2, ADR-0060 D2/D6), none on test budgets; thread: none.Serial constraints cleared: none needed.
Lease:
lease:o2-C.objectstack-fleet commentedon Nov 17, 2026
repo:objectstack#2 · os-steve · session_01ADHkmRH4UCX1tvddXMS7cq
os-dev-report
{ "issue": 34523, "status": "done", "branch": "claude/issue-34523-comment-mask-process-budget", "pr": "https://github.com/objectstack-ai/objectstack/pull/34572", "head": "b7b424d7e582781e97a805645ce793b3e1e48d98", "session": "session_01ADHkmRH4UCX1tvddXMS7cq", "premise_still_valid": true, "summary": "Premise confirmed from the red queue job (run 43980731814, Test UI 3/16, job 133698990223): the case failed with REASON 'Error: Test timed out in 15000ms.' at check-hand-rolled-comment-mask.test.ts:241:3, case wall 19146 ms, self-test 13/13 green; a timeout, not a status assertion. Fix (test-only, one file): the 'exits 0 as a process, which is what CI reads' case now carries WHOLE_TREE_CASE_MS = 60_000 (19.1 s worst seen, about 3x headroom), and run()'s spawnSync timeout drops from 300_000 to SPAWN_TIMEOUT_MS = 50_000, below the case budget, so a hung sweep fails the assertion as status null instead of on vitest's timer. Other whole-tree work in the file: the describe-level sweep({ root: REPO_ROOT }) runs at collection time, and the only other run() call is the usage-error case run(['--all-of-them']) (143 ms in the red run, exits on argument parsing), so no second case needed the treatment. No skip, quarantine, retry, global testTimeout change or fixture swap.", "log_reason_quote": "FAIL unit scripts/__tests__/check-hand-rolled-comment-mask.test.ts > this tree, today > exits 0 as a process, which is what CI reads / Error: Test timed out in 15000ms. / scripts/__tests__/check-hand-rolled-comment-mask.test.ts:241:3 (case 19146ms)", "measured_durations": "queue 43951019700 (PR #34447): 15.1 s timed out (triage reading); queue 43980731814 (PR #34429): 19146 ms timed out; local origin/main d4c0c12104, no budget: 6472 ms green; local fix leg b7b424d7e5: 5518 ms green; local ablation leg (budget removed) on b7b424d7e5: 5917 ms green; PR CI Test UI (2/16) job 133752359941 on b7b424d7e5: 6112 ms green", "tests": "All under os-verify-lock, cwd ui/: 'pnpm exec vitest run --project unit --maxWorkers=2 --reporter=verbose scripts/__tests__/check-hand-rolled-comment-mask.test.ts'. Baseline origin/main d4c0c12104: VERDICT command-exit 0, Tests 22 passed (22), case 6472 ms. Fix leg b7b424d7e5: Tests 22 passed (22), case 5518 ms. Ablation (one-shot, committed fix first): node scripts/ablation-replace.mjs anchor ' }, WHOLE_TREE_CASE_MS);' -> ' });', 'anchor hits 1 time(s)', 'ok mutation landed: anchor 1 -> 0, blob d64bac701269 -> 1e8ac353729e', run Tests 22 passed (22), case 5917 ms (green on this unloaded box, as expected: the failure needs a loaded queue runner; reported as a duration, not a verdict), 'ok restored: blob == HEAD (d64bac701269) and git diff HEAD is empty', plus a trap restore and a hash-object check against the HEAD blob. Bundle VERDICT command-exit 0, held 565s. No build/dist involved: the test imports the .mjs script source directly.", "gates": "Derived: node scripts/pm/dispatch-gates.mjs --commands --repo objectstack-ai/objectstack at b7b424d7e5 -> 21 commands; each run with stdin from /dev/null, exit captured before any pipe. 20 exit 0: check-closing-keyword-parity (+ --self-test), check-comment-mask-corpus, check:adr-anchors, check:cross-package-test-inputs, check:driver-memory-census, check:engine-double-contract, check:gitlink-declared, check:nul-bytes, check:published-files, check:query-options-erasure, check:refd-timer-probe, check:registry-log-declared, check:rest-log-spy-declared, check:tier-file-adoption, check:type-check-coverage, check:type-check-debt (first unlocked try exit 3 PREREQUISITE NOT MET on lock queue-timeout; re-run under the lock exit 0), check:undeclared-dep-imports, check:watch-hint-literal, check:where-matcher. 'pnpm --dir ui exec vitest run scripts/' exit 1 = PREREQUISITE NOT MET locally (fresh worktree, no @objectstack/spec dist: 16x 'Cannot find package @objectstack/spec/...'; 22 failed files, none of them the changed file); the family's verdict is CI's: Test UI success on b7b424d7e5. --ran reconciliation: '21 derived, 21 run, 0 NOT-MEASURED, 0 UNRUN' exit 0. File: /mnt/project-files/objectstack-seat2/34523-gates-ran.txt. PR check-runs on b7b424d7e5 (all non-skipped completed success): Lint & Repo Gates, TypeScript Type Check, Test Core, Governed Surface Queue Guard, Lint UI, Type Check UI, Test UI (shards 1/16, 2/16), Build & E2E UI, Live E2E UI, Dogfood Regression Gate, Check Changeset, Check PR Size, PR-body guards, Type Check debt ledger/source/workspace/consumer gates. Build Core skipped by selector.", "dogfood_battery": "n/a: no ! in the PR title and Clause-② is no", "files_changed": ["ui/scripts/__tests__/check-hand-rolled-comment-mask.test.ts (+7 / -2)"], "line_budget": "n/a: no skills/** or ratcheted ledger touched", "deviations": "Merged origin/main once before pr_create (b7b424d7e5, clean). Opened the draft PR before the local post-fix and ablation readings because the shared verify lock was held for about 58 min by another agent's ui vitest run (pid 13603, alive at 179 to 190 percent CPU, not hung); those readings are in this report, not the PR body, which the dev writes only once. Comment carries the full report JSON per os-dev.md; standard-order item 10 asks for machine-checkable fields only (gates / line_budget / deviations / files_changed), which are included.", "mcp_calls": "4, all reads: get_job_logs x2 (run 43980731814 failed_only, job 133698990223), actions_list x1 (list_workflow_jobs), issue_read x1 (get_comments 34523). No MCP write.", "api_writes": "2 relay writes: POST /repos/objectstack-ai/objectstack/dispatches op pr_create (run 43996962899, PR #34572, body 4290 bytes read back identical, assignees os-steve, labels skip-changeset); post-stamped.mjs --comment=34523 (this report). git push x3 (not REST).", "open_questions": [ { "question": "ui/AGENTS.md test discipline and standard-order item 6 both forbid raising timeouts to hide flakiness; this card's triage ruling (6934114979) and delta order chose a per-case budget. Is that conflict accepted as read?", "options": ["A accept: the cost is real work (a whole-tree sweep in a child process), not a module-load race, and the budget is per case, not global", "B swap the case to a fixture tree (triage's second option), which changes what the case proves"], "recommendation": "A, because the case's point is the real tree's process exit, and the measurement shows a work-bound cost, not a race" }, { "question": "The file's whole-file wall in the red run was 19942 ms, above the 10 s line scripts/measure-test-shard-timings.mjs reports on (report-only). Add a '// test-budget:' header?", "options": ["A leave it: report-only, outside this card's file surface claim", "B a follow-up adds the header with a class from TEST_BUDGET_CLASSES"], "recommendation": "A for this p0; the seat decides whether the refresh lane's report needs it" } ], "security_findings": "none", "out_of_scope_findings": ["carrier: none · noted, not filed: the usage-error case (run(['--all-of-them'])) shares run()'s 50 s spawn timeout under the 15 s default case budget; it exits on argument parsing in about 140 ms, so this is not a reachable failure"] }