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
flake: organizations elevated-organization-wall.wall.test.ts:609 "a system hook's write is refused" times out at 5 s under CI load (twice on 11-28, once in the merge queue) #38221
Filing gate: ① (a recurring CI flake that ejected a merge-queue entry) · Source: fleet (PR #38162: PR-side Test Core 10/10 rerun note 7234565365; merge-group run 46121604593)
What happens
packages/plugins/organizations/src/elevated-organization-wall.wall.test.ts:609, "a caller with no active organization > a system hook's write is refused, and the write it served lands nothing", failed twice on 2026-11-28 with Test timed out in 5000ms, never with an assertion:
PR #38162 touches only packages/mcp/**, three dogfood pins, one docs line and a changeset; @objectstack/organizations does not depend on @objectstack/mcp. The file passes locally (28/28 in 28 s), and main's push CI at a9901ed is green. The case is load-sensitive: under a loaded shard it runs past the default 5 s test timeout.
Expected
Find what makes this one case slow (it boots or writes more than its neighbours), and either make it cheaper or give it an explicit timeout that names why, as the file's other slow cases do if they do.
No assertion is weakened.
Grade: area:ai · bug (CI flake) · reach: every merge-queue entry that lands on the shard that runs this file · evidence: two CI runs on 2026-11-28
Suggested-grade: p2
Size: XS
Related: PR #38162.
Triage: lands in area:fleet · domain:devx · Bug · p1 · pm:queue · size XS; rationale: organizationselevated-organization-wall.wall.test.ts:609 ("a system hook's write is refused…") timed out at 5 s twice on 2026-11-28, never on an assertion. One of those runs (merge-group 46121604593, shard 10/10) ejected PR #38162 from the queue. A flake that ejects merge-queue builds is p1. Tests sit in area:fleet (the filer suggested area:ai), linked under topic #38081. Recorded 2026-11-28T08:14Z.
Claim: PM loop round 5 · 2026-11-28T08:49Z
Picked by card-pick.mjs --order area:ai --seat repo:objectstack#2 at 2026-11-28T08:46Z, rank 1 (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_01L6bhgUKwLJGuPNozqDYxto
Account: os-sales
Branch: claude/project-thread-bqgthm (from main)
Domain: domain:devx
Seat: repo:objectstack#2
Area: s2-ai
File surface: packages/plugins/organizations/src/elevated-organization-wall.wall.test.ts (the case at line 609 and, if it is the cost, its own setup); 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: none
Premise: the case is load-sensitive, not a regression (two timeouts on 2026-11-28, never an assertion; green locally and on main). The thread measures what makes it slower than its neighbours first. ⛔ No skip, no quarantine, no weakened assertion; an explicit timeout only if the cost cannot be cut, with its reason in the code.
Serial constraints cleared: no open PR edits this file (seat read).
{
"issue": 38221,
"status": "done",
"branch": "claude/project-thread-bqgthm",
"pr": "https://github.com/objectstack-ai/objectstack/pull/38242",
"session": "session_01L6bhgUKwLJGuPNozqDYxto",
"premise_still_valid": true,
"summary": "Explicit timeout route, with the reason in the code. The case is not slow on a normal shard: three green merge-group runs on 2026-11-28 put it at 454, 532 and 481 ms, beside its neighbour hook-read case at 465, 380 and 481 ms. On both failing runs (merge-group 46121604593, PR run 46109476616) the worker's event loop was blocked: nothing is logged between the eow_note_add action audit line and the engine's Insert operation failed WARN (5.8 s and 10.8 s apart), the case ends right after that line (6096 ms and 11178 ms against a 5 s timer) and the next case starts only then. What this case alone does: it is the file's first write that fails inside the engine's insert door, and that door's failure log (writeFailureLogMeta) reads error.stack, whose first read over these frames has vite's module runner decode the source maps synchronously. Local CPU profile: 136 ms wall for the case, 51 ms of it that prepareStackTrace; the same case run a second time: 61 ms, prepareStackTrace 0.3 ms. Cheaper was not available inside a test card: warming the path in beforeAll only moves the stall and hides it, and changing the log line is product behaviour. So the case gets 30_000 ms (the value the sibling writes.wall.test.ts gives its slow cases) and a comment naming the cause and the two runs. No assertion, setup or fixture changed. NOT MEASURED: why a loaded runner stretched about 50 to 75 ms of local synchronous work to 6 to 11 s; not reproduced locally (four runs, 199 to 389 ms, including one beside eight busy loops on four cores). skip-changeset: the package ships dist, README.md and CHANGELOG.md only.",
"tests": "At e1104045a: vitest run src/elevated-organization-wall.wall.test.ts 28/28 passed (also before the rebase). Whole package vitest run twice before the edit: 23 files, 315 tests passed, this case 220 and 206 ms. No ablation: no tested behaviour changed (a timeout only).",
"gates": "Local: node scripts/pm/dispatch-gates.mjs --commands --changed at e1104045a -> 53 commands; 51 exit 0, 2 exit 3 NOT MEASURED: check-plugin-teardown-shape --self-test (positive control commit unreachable on the shallow clone), check:dual-build-cjs-loads (needs every package's dist). --ran reconciliation: 53 derived, 51 run, 2 NOT-MEASURED, 0 UNRUN. CI on e1104045a at report time: 4 success, 23 skipped, 3 in progress, 0 failed.",
"dogfood_battery": "n/a - no ! in the PR title and no (narrowing) arm",
"mcp_calls": "0",
"api_writes": "3 - fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls with assignees os-sales and label skip-changeset); fleet-write relay issue_patch on #38242 (one body correction: the acceptance note had said every other case stayed under 1.6 s on both failing runs, the PR run's first case took 3290 ms; trailer-signed); this os-dev-report comment (POST issues/38221/comments)",
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"carrier: none - the engine's insert failure log formats error.stack on every refused insert; under vitest the first such read in a file costs a synchronous source-map decode. A product log line, not changed by a test card; noted in the PR, not filed"
]
}
PR #38242 merged at 2026-11-28T10:28Z through the merge queue on the seat's ACCEPT (7237635939), and its Fixes line closed this card. What changed:
The case at line 609 has an explicit 30 s timeout with its reason in the code: it is the file's first write that fails inside the engine's insert door, so it alone pays a one-time synchronous source-map decode, which an overloaded shard stretched to 6–11 s. On a green shard it runs in about 0.5 s like its neighbours. No assertion, setup or fixture changed.
It was never ejected. pm:dispatched is cleared on this card.
Activity
objectstack-fleet commentedon Nov 28, 2026
triage#1 · hotlong · session_01Q4EjjMnyLqJdzuktEmRPXH
Triage: lands in area:fleet · domain:devx · Bug · p1 · pm:queue · size XS; rationale:
organizationselevated-organization-wall.wall.test.ts:609("a system hook's write is refused…") timed out at 5 s twice on 2026-11-28, never on an assertion. One of those runs (merge-group 46121604593, shard 10/10) ejected PR #38162 from the queue. A flake that ejects merge-queue builds is p1. Tests sit in area:fleet (the filer suggested area:ai), linked under topic #38081. Recorded 2026-11-28T08:14Z.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA
Claim: PM loop round 5 · 2026-11-28T08:49Z
Picked by
card-pick.mjs --order area:ai --seat repo:objectstack#2at 2026-11-28T08:46Z, rank 1 (p1 jump, whatever its area; flake cards are taken by any seat). The maintainer in this seat's project, verbatim: 「ai 并发10」.Session:
session_01L6bhgV6i8jfWwSXjpWJrjAThread session:
session_01L6bhgUKwLJGuPNozqDYxtoAccount:
os-salesBranch:
claude/project-thread-bqgthm(frommain)Domain:
domain:devxSeat:
repo:objectstack#2Area:
s2-aiFile surface:
packages/plugins/organizations/src/elevated-organization-wall.wall.test.ts(the case at line 609 and, if it is the cost, its own setup); 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: none
Premise: the case is load-sensitive, not a regression (two timeouts on 2026-11-28, never an assertion; green locally and on
main). The thread measures what makes it slower than its neighbours first. ⛔ No skip, no quarantine, no weakened assertion; an explicit timeout only if the cost cannot be cut, with its reason in the code.Serial constraints cleared: no open PR edits this file (seat read).
The PR says
Fixes #38221.objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#2 · os-sales · session_01L6bhgUKwLJGuPNozqDYxto
os-dev-report
{ "issue": 38221, "status": "done", "branch": "claude/project-thread-bqgthm", "pr": "https://github.com/objectstack-ai/objectstack/pull/38242", "session": "session_01L6bhgUKwLJGuPNozqDYxto", "premise_still_valid": true, "summary": "Explicit timeout route, with the reason in the code. The case is not slow on a normal shard: three green merge-group runs on 2026-11-28 put it at 454, 532 and 481 ms, beside its neighbour hook-read case at 465, 380 and 481 ms. On both failing runs (merge-group 46121604593, PR run 46109476616) the worker's event loop was blocked: nothing is logged between the eow_note_add action audit line and the engine's Insert operation failed WARN (5.8 s and 10.8 s apart), the case ends right after that line (6096 ms and 11178 ms against a 5 s timer) and the next case starts only then. What this case alone does: it is the file's first write that fails inside the engine's insert door, and that door's failure log (writeFailureLogMeta) reads error.stack, whose first read over these frames has vite's module runner decode the source maps synchronously. Local CPU profile: 136 ms wall for the case, 51 ms of it that prepareStackTrace; the same case run a second time: 61 ms, prepareStackTrace 0.3 ms. Cheaper was not available inside a test card: warming the path in beforeAll only moves the stall and hides it, and changing the log line is product behaviour. So the case gets 30_000 ms (the value the sibling writes.wall.test.ts gives its slow cases) and a comment naming the cause and the two runs. No assertion, setup or fixture changed. NOT MEASURED: why a loaded runner stretched about 50 to 75 ms of local synchronous work to 6 to 11 s; not reproduced locally (four runs, 199 to 389 ms, including one beside eight busy loops on four cores). skip-changeset: the package ships dist, README.md and CHANGELOG.md only.", "tests": "At e1104045a: vitest run src/elevated-organization-wall.wall.test.ts 28/28 passed (also before the rebase). Whole package vitest run twice before the edit: 23 files, 315 tests passed, this case 220 and 206 ms. No ablation: no tested behaviour changed (a timeout only).", "gates": "Local: node scripts/pm/dispatch-gates.mjs --commands --changed at e1104045a -> 53 commands; 51 exit 0, 2 exit 3 NOT MEASURED: check-plugin-teardown-shape --self-test (positive control commit unreachable on the shallow clone), check:dual-build-cjs-loads (needs every package's dist). --ran reconciliation: 53 derived, 51 run, 2 NOT-MEASURED, 0 UNRUN. CI on e1104045a at report time: 4 success, 23 skipped, 3 in progress, 0 failed.", "dogfood_battery": "n/a - no ! in the PR title and no (narrowing) arm", "mcp_calls": "0", "api_writes": "3 - fleet-write relay pr_create (POST /repos/objectstack-ai/objectstack/pulls with assignees os-sales and label skip-changeset); fleet-write relay issue_patch on #38242 (one body correction: the acceptance note had said every other case stayed under 1.6 s on both failing runs, the PR run's first case took 3290 ms; trailer-signed); this os-dev-report comment (POST issues/38221/comments)", "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "carrier: none - the engine's insert failure log formats error.stack on every refused insert; under vitest the first such read in a file costs a synchronous source-map decode. A product log line, not changed by a test card; noted in the PR, not filed" ] }objectstack-fleet commentedon Nov 28, 2026
repo:objectstack#2 · os-sales · session_01L6bhgV6i8jfWwSXjpWJrjA
Landed · 2026-11-28T10:29Z
PR #38242 merged at 2026-11-28T10:28Z through the merge queue on the seat's ACCEPT (7237635939), and its
Fixesline closed this card. What changed:It was never ejected.
pm:dispatchedis cleared on this card.