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
{{ message }}
Repository navigation
ui test flake: studioAddress.guard "no ui source outside the builder spells one" times out at 15 s under shard load (ejected #37114 twice) #37174
area:fleetbugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatpriority:p0Queue-jump: outranks batch and breaks the round — never exempts claiming or same-file serialtests
Filing gate: ① a test defect found while handling a merge-queue ejection; it blocks the landing of PR #37114 (seen twice with the same signature). Untriaged: grade, domain and state are triage's. Suggested route: zone a4-S (Studio, epic #36890), the owner of the guard added by #36895 / PR #36973.
Signature
ui/packages/app-shell/src/views/studio-design/studioAddress.guard.test.ts:153 › no Studio address is built by hand under ui/ (objectstack#36895) › no ui source outside the builder spells one — Error: Test timed out in 15000ms.
Mechanism (read from the file at origin/main; not force-reproduced)
The test walks every src tree under ui/packages/* and ui/apps/* synchronously (readdirSync + statSync per entry) and runs the TypeScript parser (handBuiltStudioAddresses, a full ts.createSourceFile + AST visit) over every non-test source file — the whole ui workspace — inside the default 15 s test budget. On a busy 16-way shard runner the walk plus parse exceeds 15 s.
Fix (test only)
Pre-filter before parsing: only parse a file whose text contains /studio or STUDIO_ROOT_PATH (the matcher can hit nothing else). Keep the controls (the builder file still fires; the two named files are still walked).
Give the case an explicit timeout sized to the walk (e.g. 60 s), as the second line of defence.
Pin: the existing matcher case stays; add one assertion that the pre-filter never skips a file the matcher would flag (run the matcher over the skipped set in the control, or assert the pre-filter is a superset by construction).
Not p0. The queue-flake rule needs at least two independent head groups ejected within 2h. There is one queue ejection here (run 45501281672); the second hit was PR-side.
Claim: PM loop round 3 · 2026-11-25T01:40Z
Session: session_01QSeKYpEsWWE9Y5YtSsDgqZ
Account: os-justin
Branch: claude/issue-37174-studio-address-guard-timeout
Worktree: objectstack-issue-37174
Domain: domain:ui
Seat: repo:objectstack#4
File surface: ui/packages/app-shell/src/views/studio-design/studioAddress.guard.test.ts only (test-only; no product file, no changeset unless a gate asks for one) (stop on breach; explain in the report)
Container & model: S, mode:subagent, model: default tier — no path-derived mandate, effort: medium
Clause-②: no
Metadata-protocol: none
Responsibility: objectstack test code — the guard walks and TS-parses the whole ui workspace inside the default 15 s budget (#36895 / PR #36973) | none | every PR whose Test UI shard runs it under load; blocks PR #37114 now
Thread-read: 7149683922
Premise: holds (two failing runs with one signature: queue run 45501281672; PR job 138901843717)
Serial constraints cleared: none — no open PR touches this test file; the dev runs scripts/pm/overlap-check.mjs before the first push
Routing: triage routed it to repo:objectstack#4, zone a4-S (7149683922); a4-S's three slots are full and its cap is not raised, so the seat session runs it itself.
{
"issue": 37174,
"status": "done",
"branch": "claude/issue-37174-studio-address-guard-timeout",
"pr": "https://github.com/objectstack-ai/objectstack/pull/37198",
"session": "session_01QSeKYpEsWWE9Y5YtSsDgqZ",
"premise_still_valid": true,
"summary": "Test-only fix, one file (studioAddress.guard.test.ts). A raw-text pre-filter, maySpellStudioAddress, now gates the TypeScript parse in the walk case: 123 of 2,378 ui sources are parsed at this head. The walk case went from 4471 ms to 873 ms locally and now carries an explicit { timeout: 60_000 }. The card's two-word filter (/studio or STUDIO_ROOT_PATH) was NOT an exact superset of the matcher. The matcher also flags STUDIO_LANDING_PATH (ROOT_NAMES), and it reads cooked literal and identifier text, so escapes (\\x2f, \\u002f, \\u{69}, legacy octal \\57) and line continuations spell /studio with no /studio in the raw text. The filter was widened to match each word with every character in any spelling that cooks back to it. JSX attribute strings are not cooked (measured: / stays as is). A shared FLAGGED_SPELLINGS list (the first case's 8 spellings plus 10 escaped and LANDING forms) drives both the matcher case and a new control. The control asserts each fixture is flagged once and passes the gate, that the builder file fires and passes, and that an address-free source is dropped. The existing walk controls are kept. PR #37198 is draft, states it is test-only and that it unblocks PR #37114.",
"tests": "At 45151aec2b, under os-verify-lock (shared box). Before, at base 95734fef75: walk case 4471ms, file Duration 5.79s. After: walk case 873ms, new control 18ms, Tests 3 passed (3), Duration 1.48s, VERDICT command-exit 0. Ablation 1 (scripts/ablation-replace.mjs, gate returns false): 'ok mutation landed: anchor 1 -> 0, blob fdd866a33090 -> b763c5694c5f'; the new control went red with 'AssertionError: const a = '/studio';: expected false to be true' (Tests 1 failed | 2 passed). The walk case stayed GREEN under this ablation, which is the hole the control closes. Restore: 'ok restored: blob == HEAD (fdd866a33090) and git diff HEAD is empty'. Ablation 2 (the card's two-word filter): the control went red on 'const a2 = '\\x2Fstudio';', and the restore was verified the same way. No build or dist leg: vitest reads this test file from source. Whole @object-ui/app-shell package suite (pnpm --filter @object-ui/app-shell test --maxWorkers=2): Test Files 2442 passed | 1 skipped (2443), Tests 23116 passed | 9 skipped (23125), VERDICT command-exit 0, lock held 1h21m. This run finished after the PR body was written, so the body records it as NOT MEASURED; this report carries the reading.",
"gates": "node scripts/pm/dispatch-gates.mjs --commands at 45151aec2b derived 27 commands for the one path, and all 27 were run. 26 exited 0 on the first pass. 'pnpm --dir ui exec vitest run scripts/' first went red, 22 files with Cannot find package @objectstack/spec/ui: the fresh worktree had no spec dist. After pnpm --filter @objectstack/spec build it went green: Test Files 172 passed | 2 skipped (174), Tests 5131 passed | 2 skipped, exit 0. The --ran reconciliation was not run separately, because the ran list is exactly the 27 derived commands. eslint --no-inline-config on the file: exit 0. Control-byte grep: no hits. overlap-check: VERDICT clean exit 0 (origin/main 95734fef75, 0 PR heads). Local test type-check (tsc -p tsconfig.test.json --listFiles): exit 2 with 5169 errors, mostly TS2307 for unbuilt @object-ui/* dists in the fresh worktree. The file is in the program and has zero errors of its own, but the verdict is NOT MEASURED (dependency closure not built). CI check-runs on 45151aec2b: Type Check UI success; TypeScript Type Check success; Lint & Repo Gates success; Lint UI success; Lint · PM dispatch-gates success; Governed Surface Queue Guard success; Build & E2E UI success; Live E2E UI success; Test Core success; Dogfood Regression Gate success; Check Changeset success. Test UI (1/16) through (9/16): in_progress when this report was written.",
"dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "4 REST writes, all through the fleet-write relay or post-stamped: (1) POST /repos/objectstack-ai/objectstack/pulls (pr_create, draft); (2) POST /repos/objectstack-ai/objectstack/issues/37198/assignees [os-justin]; (3) POST /repos/objectstack-ai/objectstack/issues/37198/labels [skip-changeset], read back as listed; (4) POST /repos/objectstack-ai/objectstack/issues/37174/comments (this os-dev-report). Plus one git push, which is not REST.",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [],
"deviations": "(1) The empty-branch probe push (git push -u before any edit) was denied by the auto-mode permission classifier ('Destructive or Unwanted Actions'). It was not retried by another route. The branch was pushed once later, carrying the commit, and that push succeeded. (2) The full app-shell suite and the local test type-check were run outside the PR body's timeline: the body says NOT MEASURED for the package suite, and this report holds the green reading. (3) The harness's commit attribution named a model. The commit was amended before the first push to the model-free trailer pair and to no card reference, as AGENTS.md requires."
}
Left untouched: bug, tests, priority:p0, domain:ui, area:fleet — ownership, priority and outcome are not state claims.
The label set was read back after the write and matched.
A state label claims work is in flight. This card is closed on a merged delivery, so the claim
is stale; every other label is left exactly as it was found. Nothing here is a judgement about
the card, and no verdict-bearing label is ever touched by this sweep.
seat repo:objectstack#4 closeout after PR #37198 merged (p0 #37174)
area:fleetbugSomething isn't workingdomain:uiDomain lane — seat card indexed by label:pm:seatpriority:p0Queue-jump: outranks batch and breaks the round — never exempts claiming or same-file serialtests
Activity
objectstack-fleet commentedon Nov 25, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: first touch 2026-11-25T01:33Z
Bug. Addedbug,tests,priority:p2,area:fleet,domain:uiandpm:queue.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Claim: PM loop round 3 · 2026-11-25T01:40Z
Session:
session_01QSeKYpEsWWE9Y5YtSsDgqZAccount:
os-justinBranch:
claude/issue-37174-studio-address-guard-timeoutWorktree:
objectstack-issue-37174Domain:
domain:uiSeat:
repo:objectstack#4File surface:
ui/packages/app-shell/src/views/studio-design/studioAddress.guard.test.tsonly (test-only; no product file, no changeset unless a gate asks for one) (stop on breach; explain in the report)Container & model:
S,mode:subagent,model: default tier — no path-derived mandate,effort: mediumClause-②: no
Metadata-protocol: none
Responsibility:
objectstack test code — the guard walks and TS-parses the whole ui workspace inside the default 15 s budget (#36895 / PR #36973) | none | every PR whose Test UI shard runs it under load; blocks PR #37114 nowThread-read: 7149683922
Premise: holds (two failing runs with one signature: queue run 45501281672; PR job 138901843717)
Serial constraints cleared:
none — no open PR touches this test file; the dev runs scripts/pm/overlap-check.mjs before the first pushRouting: triage routed it to repo:objectstack#4, zone a4-S (7149683922); a4-S's three slots are full and its cap is not raised, so the seat session runs it itself.
objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
Third hit, second independent queue group · 2026-11-25T02:06Z
a261b475eb, CI_FAILURE). The only failure isTest UI (1/16)›studioAddress.guard.test.ts› "no ui source outside the builder spells one":Test timed out in 15000ms(ran 16,669 ms). The other 517 files in the shard pass. ci(temporal-conformance): PostgreSQL service on pgvector's PG 16 image; merge-queue run on live paths #37155 touchesci.yml,multi-agent-discipline.mdand one driver-sql test; nothing in ui.objectstack-fleet commentedon Nov 25, 2026
triage#1 · os-warren · session_01JQwxbZKP5YM48rWMWTS7wE
Triage: raised to p0 2026-11-25T03:30Z
priority:p2→priority:p0(was p2). This is the root-cause card of queue-flake anchor Queue-flake anchor: packages/app-shell/src/views/studio-design/studioAddress.guard.test.ts #37181, now p0: the same signature ejected PR ci(temporal-conformance): PostgreSQL service on pgvector's PG 16 image; merge-queue run on live paths #37155 at 2026-11-25T01:45Z and PR fix(console): a session answered "not shown" sends no first-run checklist reads on later opens #37184 at 2026-11-25T02:48Z, both within 2h.objectstack-fleet commentedon Nov 25, 2026
repo:objectstack#4 · os-justin · session_01QSeKYpEsWWE9Y5YtSsDgqZ
os-dev-report
{ "issue": 37174, "status": "done", "branch": "claude/issue-37174-studio-address-guard-timeout", "pr": "https://github.com/objectstack-ai/objectstack/pull/37198", "session": "session_01QSeKYpEsWWE9Y5YtSsDgqZ", "premise_still_valid": true, "summary": "Test-only fix, one file (studioAddress.guard.test.ts). A raw-text pre-filter, maySpellStudioAddress, now gates the TypeScript parse in the walk case: 123 of 2,378 ui sources are parsed at this head. The walk case went from 4471 ms to 873 ms locally and now carries an explicit { timeout: 60_000 }. The card's two-word filter (/studio or STUDIO_ROOT_PATH) was NOT an exact superset of the matcher. The matcher also flags STUDIO_LANDING_PATH (ROOT_NAMES), and it reads cooked literal and identifier text, so escapes (\\x2f, \\u002f, \\u{69}, legacy octal \\57) and line continuations spell /studio with no /studio in the raw text. The filter was widened to match each word with every character in any spelling that cooks back to it. JSX attribute strings are not cooked (measured: / stays as is). A shared FLAGGED_SPELLINGS list (the first case's 8 spellings plus 10 escaped and LANDING forms) drives both the matcher case and a new control. The control asserts each fixture is flagged once and passes the gate, that the builder file fires and passes, and that an address-free source is dropped. The existing walk controls are kept. PR #37198 is draft, states it is test-only and that it unblocks PR #37114.", "tests": "At 45151aec2b, under os-verify-lock (shared box). Before, at base 95734fef75: walk case 4471ms, file Duration 5.79s. After: walk case 873ms, new control 18ms, Tests 3 passed (3), Duration 1.48s, VERDICT command-exit 0. Ablation 1 (scripts/ablation-replace.mjs, gate returns false): 'ok mutation landed: anchor 1 -> 0, blob fdd866a33090 -> b763c5694c5f'; the new control went red with 'AssertionError: const a = '/studio';: expected false to be true' (Tests 1 failed | 2 passed). The walk case stayed GREEN under this ablation, which is the hole the control closes. Restore: 'ok restored: blob == HEAD (fdd866a33090) and git diff HEAD is empty'. Ablation 2 (the card's two-word filter): the control went red on 'const a2 = '\\x2Fstudio';', and the restore was verified the same way. No build or dist leg: vitest reads this test file from source. Whole @object-ui/app-shell package suite (pnpm --filter @object-ui/app-shell test --maxWorkers=2): Test Files 2442 passed | 1 skipped (2443), Tests 23116 passed | 9 skipped (23125), VERDICT command-exit 0, lock held 1h21m. This run finished after the PR body was written, so the body records it as NOT MEASURED; this report carries the reading.", "gates": "node scripts/pm/dispatch-gates.mjs --commands at 45151aec2b derived 27 commands for the one path, and all 27 were run. 26 exited 0 on the first pass. 'pnpm --dir ui exec vitest run scripts/' first went red, 22 files with Cannot find package @objectstack/spec/ui: the fresh worktree had no spec dist. After pnpm --filter @objectstack/spec build it went green: Test Files 172 passed | 2 skipped (174), Tests 5131 passed | 2 skipped, exit 0. The --ran reconciliation was not run separately, because the ran list is exactly the 27 derived commands. eslint --no-inline-config on the file: exit 0. Control-byte grep: no hits. overlap-check: VERDICT clean exit 0 (origin/main 95734fef75, 0 PR heads). Local test type-check (tsc -p tsconfig.test.json --listFiles): exit 2 with 5169 errors, mostly TS2307 for unbuilt @object-ui/* dists in the fresh worktree. The file is in the program and has zero errors of its own, but the verdict is NOT MEASURED (dependency closure not built). CI check-runs on 45151aec2b: Type Check UI success; TypeScript Type Check success; Lint & Repo Gates success; Lint UI success; Lint · PM dispatch-gates success; Governed Surface Queue Guard success; Build & E2E UI success; Live E2E UI success; Test Core success; Dogfood Regression Gate success; Check Changeset success. Test UI (1/16) through (9/16): in_progress when this report was written.", "dogfood_battery": "n/a — no `!` in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "4 REST writes, all through the fleet-write relay or post-stamped: (1) POST /repos/objectstack-ai/objectstack/pulls (pr_create, draft); (2) POST /repos/objectstack-ai/objectstack/issues/37198/assignees [os-justin]; (3) POST /repos/objectstack-ai/objectstack/issues/37198/labels [skip-changeset], read back as listed; (4) POST /repos/objectstack-ai/objectstack/issues/37174/comments (this os-dev-report). Plus one git push, which is not REST.", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [], "deviations": "(1) The empty-branch probe push (git push -u before any edit) was denied by the auto-mode permission classifier ('Destructive or Unwanted Actions'). It was not retried by another route. The branch was pushed once later, carrying the commit, and that push succeeded. (2) The full app-shell suite and the local test type-check were run outside the PR body's timeline: the body says NOT MEASURED for the package suite, and this report holds the green reading. (3) The harness's commit attribution named a model. The commit was amended before the first push to the model-free trailer pair and to no card reference, as AGENTS.md requires." }os-justin commentedon Nov 25, 2026
os-closed-card-sweep — machine-findable marker for this generated comment.
Removed the pm-loop state label(s) this closed card no longer claims:
pm:dispatched.bc3ec37a66, merged intomain.bug,tests,priority:p0,domain:ui,area:fleet— ownership, priority and outcome are not state claims.A state label claims work is in flight. This card is closed on a merged delivery, so the claim
is stale; every other label is left exactly as it was found. Nothing here is a judgement about
the card, and no verdict-bearing label is ever touched by this sweep.
seat repo:objectstack#4 closeout after PR #37198 merged (p0 #37174)
Generated by Claude Code
Generated by Claude Code