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
CI: "Type Check · workspace" runner dies mid-run when a packages/mcp change selects mcp's dependents (heavy DTS build and cli typecheck overlap on one runner) #38990
Filing gate: ② seat-filed from two merge-queue dequeues of PR #38915 (card #38870). Grading: area:fleet · Bug · p2 · domain:devx · reach: every PR whose diff selects packages/mcp's dependents in the workspace typecheck lane; it dequeues Tier H PRs after the maintainer approved them. Not claimed.
What
.github/workflows/lint.yml job "Type Check · workspace" (runs-on: ubuntu-latest, pnpm exec turbo run typecheck "${FILTERS[@]}", no --concurrency, no heap cap) died with ##[error]The runner has received a shutdown signal on 3 of 4 runs of PR #38915:
PR run 46652073461 attempt 1 (cancelled); attempt 2 green (4m51, 21 packages, 101 tasks, 82 cached).
Queue run 46694562151, job 142810857006, died at 16:49Z; queue run 46697850508, job 142822768520, died at 17:04Z. Both about 3 minutes in, at 87 of 100 tasks, with the same tasks in flight: @object-ui/data-objectstack:build at its tsup DTS step, @objectstack/cli:typecheck (and organizations:typecheck in the first). Every in-flight task prints ELIFECYCLE Command failed at the cancel second; no error TS line.
The PR's only TypeScript change is +5 string-literal lines in packages/mcp/src/ask-skill.generated.ts; it decides only that mcp's dependents miss the cache. Any packages/mcp change selects the same set. A heavier selection on another PR passed in the same hour (#38948, queue run 46697448768, 55 packages, 11m40), so the reading is an overlap of memory-heavy tasks on one hosted runner, not total work. GitHub exposes no per-job memory peak, so OOM is inferred, not proven.
Ask
Make the lane survive that overlap: e.g. --concurrency on the typecheck turbo run, or a NODE_OPTIONS=--max-old-space-size cap scoped to the DTS build, measured on a branch that touches packages/mcp (three green runs of the job with the mcp-dependents selection). Keep the selector and the remote-cache asserts as they are.
Re-check
Three consecutive green runs of "Type Check · workspace" on a branch whose diff touches only packages/mcp/src/ask-skill.generated.ts.
Claim: PM loop round 5
Session: session_01WGufzfWWgrLkABDvbRjhAk
Account: os-support-ai
Branch: claude/issue-38990-typecheck-workspace-overlap
Worktree: objectstack-issue-38990
Domain: domain:devx
Seat: repo:objectstack@os-support-ai
Area: osa-fleet
File surface: .github/workflows/lint.yml (job "Type Check · workspace", step type-check-workspace-packages: the two pnpm exec turbo run typecheck calls take a measured --concurrency and/or a heap cap scoped to the step, with a comment citing the dequeued runs; the selector, the remote-cache asserts and every other step stay as they are). The measuring branch also carries a throwaway commit to packages/mcp/src/ask-skill.generated.ts that is reverted before the PR leaves draft. Stop on breach.
Container & model: M, mode:subagent, model: default tier (dispatch-gates --tier on the surface: "Model tier — no path-derived mandate"), effort: high
Clause-②: no
Metadata-protocol: none
Responsibility: .github/workflows/lint.yml "Type check workspace packages" runs turbo run typecheck with no --concurrency and no heap cap, so a selection that overlaps a tsup DTS build with a heavy package typecheck exhausts one hosted runner.
Thread-read: none
Premise: holds. Read at 2026-12-01T17:32Z on origin/main670bc89: lint.yml:5694 (step type-check-workspace-packages) calls pnpm exec turbo run typecheck … --summarize twice, on the whole-universe path and the selected path, neither with --concurrency nor NODE_OPTIONS. Card evidence: queue runs 46694562151 and 46697850508 died at 87 of 100 tasks with the same tasks in flight.
Pre-claim lane: domain:devx (file ownership only), inside the osa-fleet lease (.github/** CI lanes).
Pre-claim deps: none. It blocks #38915's queue landing (Tier H, maintainer-approved).
Prior rulings read: check-prior-rulings --card 38990: ADR-0150 D9, ADR-0059 §2–3, ADR-0161 §31, ADR-0060 D3, ADR-0080 §3/§5, ADR-0141 D7, ADR-0144 D6, ADR-0154 D10 match by term overlap only; none answers runner memory or turbo concurrency in this lane.
Scope: the card's Ask and Re-check: three consecutive green runs of "Type Check · workspace" on a branch whose diff selects mcp's dependents. Wall-time cost of the cap is measured and stated against the lane's 35-minute body budget.
Overlap: check-handover --inflight --paths=.github/workflows/lint.yml --card=38990 reads no overlap (17 claims read; #38415 and #35238 name no path).
Tier: by check-governed-merges.mjs on the final head (.github/** is likely governed, so expect H). L1 at osa-L1-a, then the seat.
{
"issue": 38990,
"status": "done",
"branch": "claude/issue-38990-typecheck-workspace-overlap",
"pr": "https://github.com/objectstack-ai/objectstack/pull/38991",
"session": "session_01WGufzfWWgrLkABDvbRjhAk",
"premise_still_valid": true,
"summary": "Both `pnpm exec turbo run typecheck` calls in lint.yml step `type-check-workspace-packages` (whole-universe and selected paths) now take `--concurrency=4`, with a comment beside the step citing #38990, the dead runs and the three measured runs; selector, remote-cache asserts and every other step unchanged. Chosen over a heap cap from the dead jobs' own logs: turbo's `Force killed Turborepo tasks:` line lists 10 (job 142810857006) and 9 (job 142822768520) tasks in flight at the shutdown second (turbo default concurrency 10): tsc on spec, cli, organizations, runtime, rest, objectql, client, verify (+connector-app-docusign) and `@object-ui/data-objectstack:build` at `DTS Build start`, no `error TS` line; PR run 46652073461 attempt 1 (job 142658606560) log stops 1 s into the step. A per-process `--max-old-space-size` caps each heap, not how many run at once, so it does not bound the total; concurrency bounds the product, and 4 is ci.yml's documented setting for the same 4-vCPU/16 GB runner (and Type Check UI's). Final head 88d7d71b4 diff is lint.yml only (+19/-2); PR left draft. OOM remains inferred, not proven (no per-job memory peak exposed).",
"final_head": "88d7d71b4790886c87deaa8d349b9fab3434bfdd",
"measurements": [
{
"run": 46705556874,
"job": 142850596612,
"head": "d4c300e1a",
"job_conclusion": "success",
"selected_packages": 20,
"tasks": "100 successful / 100, 83 cached, 17 executed",
"typecheck_step": "4m06 (turbo Time 4m01.972s)",
"job_wall": "7m42",
"body_after_checkout": "6m24"
},
{
"run": 46707522838,
"job": 142857923863,
"head": "df77c2634",
"job_conclusion": "success",
"selected_packages": 20,
"tasks": "100 successful / 100, 83 cached, 17 executed",
"typecheck_step": "4m06 (turbo Time 4m03.294s)",
"job_wall": "7m38",
"body_after_checkout": "6m22"
},
{
"run": 46709197141,
"job": 142863920518,
"head": "7286ff3b5",
"job_conclusion": "success",
"selected_packages": 20,
"tasks": "100 successful / 100, 77 cached, 23 executed (spec, types, core, objectql, runtime, cli, organizations tsc + object-ui types/core/data-objectstack builds: the dead runs' heavy overlap reproduced; workspace build near-cold, 3 of 80 cached, 8m50)",
"typecheck_step": "5m59 (turbo Time 5m55.327s)",
"job_wall": "16m38",
"body_after_checkout": "15m18"
},
{
"baseline_uncapped_green": "PR run 46652073461 attempt 2, job 142780482563: typecheck step 4m55 (turbo 4m51.69s, 101 tasks, 82 cached, 19 executed), body after checkout 10m31; lane body budget 35 min (job comment). All three capped runs sit far inside the budget; runs 1-2 at comparable load were faster than the uncapped green."
}
],
"tests": "No package code changes; the Done-when is CI evidence. Three consecutive green 'Type Check · workspace' jobs with the mcp-dependents selection on PR #38991 (table in `measurements`): 142850596612 success 4m06 step, 142857923863 success 4m06 step, 142863920518 success 5m59 step (23 executed, incl. spec tsc + cli tsc + data-objectstack DTS). Throwaway was one appended comment line in packages/mcp/src/ask-skill.generated.ts, varied per push, then restored byte-exact from BASE 670bc89e2 (`git diff --stat 670bc89e2 HEAD` = lint.yml only). Final head 88d7d71b4 'Type Check · workspace' job 142876473378 success ('No workspace package is affected by this diff', as expected for a .github-only diff). No ablation: workflow config, not tested behaviour.",
"gates": "Local, on final head 88d7d71b4: `dispatch-gates --commands --repo objectstack-ai/objectstack` derived 43 for lint.yml; 40 exit 0 (incl. check:workflow-status-functions, check:workflow-step-name-quoting, check:required-contexts, check:aggregator-roster, check:nul-bytes, check:select-gate-families, check-step-collectors, check-self-test-workflow-commands [needed >150 s, rerun alone, exit 0]); NOT-MEASURED 3 (exit 124 at a 150 s per-command cap): check-comment-mask-corpus.mjs, check:pm-dispatch-gates, check:type-check-debt. `dispatch-gates --ran`: '43 derived, 40 run, 3 NOT-MEASURED, 0 UNRUN' exit 0. CI on final head 88d7d71b4: 45 check-runs, 29 success, 16 skipped, 0 failure: Lint & Repo Gates success, TypeScript Type Check success, Type Check · workspace success, Type Check · source gates success, Type Check · consumer gates success, Type Check · debt ledger success, Test Core success, Governed Surface Queue Guard success, Lint UI success, Type Check UI success, Test UI success, Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success, PR-body guards success, Check PR Size success. Throwaway heads d4c300e1a/df77c2634 show Lint & Repo Gates/Test UI failure plus cancelled jobs: each next push cancelled the in-flight run (lint.yml concurrency group), so their overall runs read cancelled; the measured job itself had completed success before each next push.",
"mcp_calls": "0",
"api_writes": "2 relay strokes: (1) fleet-write dispatch pr_create = POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /issues/38991/assignees [os-support-ai] + POST /issues/38991/labels [skip-changeset], read back identical; (2) post-stamped comment on #38990 (this report). Plus 7 git pushes (probe + 6), not REST.",
"classifier_refusals": [],
"deviations": [
"Commit trailer: the dispatch's `Co-Authored-By: Claude Opus 5.5` was refused by the pre-push hook (check:commit-card-trailers, model identifier in the trailer pair); the first commit was reworded to AGENTS.md's model-free pair `Co-authored-by: Claude` + `Claude-Session:` before anything was published, and every commit uses that pair.",
"PR body: os-dev writes the PR body only at pr_create and does not PATCH, so the measurement table the dispatch asked for is not in the body yet (the body says the table is delivered in this report); the seat folds `measurements` into it.",
"File surface: no breach. Only lint.yml step type-check-workspace-packages (comment + two flags) and the throwaway in ask-skill.generated.ts, reverted on the final head."
],
"not_measured": [
"The whole-universe path (push/schedule/root-level change) under --concurrency=4: no PR diff here selects it; first reading is main's next push or schedule run of this lane.",
"OOM as cause: inferred from 9-10 concurrent tsc/DTS processes and runner loss with no error TS line; GitHub exposes no per-job memory peak.",
"Merge-queue run of the original #38915 selection with the cap: lands only after this PR merges."
],
"open_questions": [],
"security_findings": "none",
"out_of_scope_findings": [
"none"
]
}
Done · 2026-12-01T19:22Z: closed by PR #38991, merge 1e1cacb18d. Tier S. Contract review PASS 7321889636 (seat os-justin, CONTRACT_REVIEW_TIER). L1 ACCEPT 7321506943. The zone landed it.
Shipped: both pnpm exec turbo run typecheck calls in lint.yml step type-check-workspace-packages (the whole-universe call and the selected call) now run with --concurrency=4 instead of turbo's default of 10. That is the same setting ci.yml uses on the same 4-vCPU / 16 GB runner. The selector and the remote-cache asserts are unchanged.
Re-check met: three consecutive green "Type Check · workspace" jobs on the mcp-dependents selection. They are 142850596612, 142857923863 and 142863920518, with the step taking 4m06, 4m06 and 5m59 against the 35-minute body budget.
Not measured:
The whole-universe path under the cap. The first reading will come from main's next push or scheduled run.
Activity
objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfWWgrLkABDvbRjhAk
Claim: PM loop round 5
Session:
session_01WGufzfWWgrLkABDvbRjhAkAccount:
os-support-aiBranch:
claude/issue-38990-typecheck-workspace-overlapWorktree:
objectstack-issue-38990Domain:
domain:devxSeat:
repo:objectstack@os-support-aiArea: osa-fleet
File surface:
.github/workflows/lint.yml(job "Type Check · workspace", steptype-check-workspace-packages: the twopnpm exec turbo run typecheckcalls take a measured--concurrencyand/or a heap cap scoped to the step, with a comment citing the dequeued runs; the selector, the remote-cache asserts and every other step stay as they are). The measuring branch also carries a throwaway commit topackages/mcp/src/ask-skill.generated.tsthat is reverted before the PR leaves draft. Stop on breach.Container & model:
M,mode:subagent,model: default tier(dispatch-gates --tieron the surface: "Model tier — no path-derived mandate"),effort: highClause-②: no
Metadata-protocol: none
Responsibility:
.github/workflows/lint.yml"Type check workspace packages" runsturbo run typecheckwith no--concurrencyand no heap cap, so a selection that overlaps a tsup DTS build with a heavy package typecheck exhausts one hosted runner.Thread-read: none
Premise: holds. Read at 2026-12-01T17:32Z on
origin/main670bc89:lint.yml:5694(steptype-check-workspace-packages) callspnpm exec turbo run typecheck … --summarizetwice, on the whole-universe path and the selected path, neither with--concurrencynorNODE_OPTIONS. Card evidence: queue runs 46694562151 and 46697850508 died at 87 of 100 tasks with the same tasks in flight.Pre-claim lane:
domain:devx(file ownership only), inside the osa-fleet lease (.github/**CI lanes).Pre-claim deps: none. It blocks #38915's queue landing (Tier H, maintainer-approved).
Prior rulings read:
check-prior-rulings --card 38990: ADR-0150 D9, ADR-0059 §2–3, ADR-0161 §31, ADR-0060 D3, ADR-0080 §3/§5, ADR-0141 D7, ADR-0144 D6, ADR-0154 D10 match by term overlap only; none answers runner memory or turbo concurrency in this lane.Scope: the card's Ask and Re-check: three consecutive green runs of "Type Check · workspace" on a branch whose diff selects mcp's dependents. Wall-time cost of the cap is measured and stated against the lane's 35-minute body budget.
Overlap:
check-handover --inflight --paths=.github/workflows/lint.yml --card=38990reads no overlap (17 claims read; #38415 and #35238 name no path).Tier: by
check-governed-merges.mjson the final head (.github/**is likely governed, so expect H). L1 at osa-L1-a, then the seat.objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfWWgrLkABDvbRjhAk
os-dev-report
{ "issue": 38990, "status": "done", "branch": "claude/issue-38990-typecheck-workspace-overlap", "pr": "https://github.com/objectstack-ai/objectstack/pull/38991", "session": "session_01WGufzfWWgrLkABDvbRjhAk", "premise_still_valid": true, "summary": "Both `pnpm exec turbo run typecheck` calls in lint.yml step `type-check-workspace-packages` (whole-universe and selected paths) now take `--concurrency=4`, with a comment beside the step citing #38990, the dead runs and the three measured runs; selector, remote-cache asserts and every other step unchanged. Chosen over a heap cap from the dead jobs' own logs: turbo's `Force killed Turborepo tasks:` line lists 10 (job 142810857006) and 9 (job 142822768520) tasks in flight at the shutdown second (turbo default concurrency 10): tsc on spec, cli, organizations, runtime, rest, objectql, client, verify (+connector-app-docusign) and `@object-ui/data-objectstack:build` at `DTS Build start`, no `error TS` line; PR run 46652073461 attempt 1 (job 142658606560) log stops 1 s into the step. A per-process `--max-old-space-size` caps each heap, not how many run at once, so it does not bound the total; concurrency bounds the product, and 4 is ci.yml's documented setting for the same 4-vCPU/16 GB runner (and Type Check UI's). Final head 88d7d71b4 diff is lint.yml only (+19/-2); PR left draft. OOM remains inferred, not proven (no per-job memory peak exposed).", "final_head": "88d7d71b4790886c87deaa8d349b9fab3434bfdd", "measurements": [ { "run": 46705556874, "job": 142850596612, "head": "d4c300e1a", "job_conclusion": "success", "selected_packages": 20, "tasks": "100 successful / 100, 83 cached, 17 executed", "typecheck_step": "4m06 (turbo Time 4m01.972s)", "job_wall": "7m42", "body_after_checkout": "6m24" }, { "run": 46707522838, "job": 142857923863, "head": "df77c2634", "job_conclusion": "success", "selected_packages": 20, "tasks": "100 successful / 100, 83 cached, 17 executed", "typecheck_step": "4m06 (turbo Time 4m03.294s)", "job_wall": "7m38", "body_after_checkout": "6m22" }, { "run": 46709197141, "job": 142863920518, "head": "7286ff3b5", "job_conclusion": "success", "selected_packages": 20, "tasks": "100 successful / 100, 77 cached, 23 executed (spec, types, core, objectql, runtime, cli, organizations tsc + object-ui types/core/data-objectstack builds: the dead runs' heavy overlap reproduced; workspace build near-cold, 3 of 80 cached, 8m50)", "typecheck_step": "5m59 (turbo Time 5m55.327s)", "job_wall": "16m38", "body_after_checkout": "15m18" }, { "baseline_uncapped_green": "PR run 46652073461 attempt 2, job 142780482563: typecheck step 4m55 (turbo 4m51.69s, 101 tasks, 82 cached, 19 executed), body after checkout 10m31; lane body budget 35 min (job comment). All three capped runs sit far inside the budget; runs 1-2 at comparable load were faster than the uncapped green." } ], "tests": "No package code changes; the Done-when is CI evidence. Three consecutive green 'Type Check · workspace' jobs with the mcp-dependents selection on PR #38991 (table in `measurements`): 142850596612 success 4m06 step, 142857923863 success 4m06 step, 142863920518 success 5m59 step (23 executed, incl. spec tsc + cli tsc + data-objectstack DTS). Throwaway was one appended comment line in packages/mcp/src/ask-skill.generated.ts, varied per push, then restored byte-exact from BASE 670bc89e2 (`git diff --stat 670bc89e2 HEAD` = lint.yml only). Final head 88d7d71b4 'Type Check · workspace' job 142876473378 success ('No workspace package is affected by this diff', as expected for a .github-only diff). No ablation: workflow config, not tested behaviour.", "gates": "Local, on final head 88d7d71b4: `dispatch-gates --commands --repo objectstack-ai/objectstack` derived 43 for lint.yml; 40 exit 0 (incl. check:workflow-status-functions, check:workflow-step-name-quoting, check:required-contexts, check:aggregator-roster, check:nul-bytes, check:select-gate-families, check-step-collectors, check-self-test-workflow-commands [needed >150 s, rerun alone, exit 0]); NOT-MEASURED 3 (exit 124 at a 150 s per-command cap): check-comment-mask-corpus.mjs, check:pm-dispatch-gates, check:type-check-debt. `dispatch-gates --ran`: '43 derived, 40 run, 3 NOT-MEASURED, 0 UNRUN' exit 0. CI on final head 88d7d71b4: 45 check-runs, 29 success, 16 skipped, 0 failure: Lint & Repo Gates success, TypeScript Type Check success, Type Check · workspace success, Type Check · source gates success, Type Check · consumer gates success, Type Check · debt ledger success, Test Core success, Governed Surface Queue Guard success, Lint UI success, Type Check UI success, Test UI success, Build & E2E UI success, Live E2E UI success, Dogfood Regression Gate success, PR-body guards success, Check PR Size success. Throwaway heads d4c300e1a/df77c2634 show Lint & Repo Gates/Test UI failure plus cancelled jobs: each next push cancelled the in-flight run (lint.yml concurrency group), so their overall runs read cancelled; the measured job itself had completed success before each next push.", "mcp_calls": "0", "api_writes": "2 relay strokes: (1) fleet-write dispatch pr_create = POST /repos/objectstack-ai/objectstack/pulls (draft) + POST /issues/38991/assignees [os-support-ai] + POST /issues/38991/labels [skip-changeset], read back identical; (2) post-stamped comment on #38990 (this report). Plus 7 git pushes (probe + 6), not REST.", "classifier_refusals": [], "deviations": [ "Commit trailer: the dispatch's `Co-Authored-By: Claude Opus 5.5` was refused by the pre-push hook (check:commit-card-trailers, model identifier in the trailer pair); the first commit was reworded to AGENTS.md's model-free pair `Co-authored-by: Claude` + `Claude-Session:` before anything was published, and every commit uses that pair.", "PR body: os-dev writes the PR body only at pr_create and does not PATCH, so the measurement table the dispatch asked for is not in the body yet (the body says the table is delivered in this report); the seat folds `measurements` into it.", "File surface: no breach. Only lint.yml step type-check-workspace-packages (comment + two flags) and the throwaway in ask-skill.generated.ts, reverted on the final head." ], "not_measured": [ "The whole-universe path (push/schedule/root-level change) under --concurrency=4: no PR diff here selects it; first reading is main's next push or schedule run of this lane.", "OOM as cause: inferred from 9-10 concurrent tsc/DTS processes and runner loss with no error TS line; GitHub exposes no per-job memory peak.", "Merge-queue run of the original #38915 selection with the cap: lands only after this PR merges." ], "open_questions": [], "security_findings": "none", "out_of_scope_findings": [ "none" ] }objectstack-fleet commentedon Dec 1, 2026
repo:objectstack@os-support-ai · os-support-ai · session_01WGufzfWWgrLkABDvbRjhAk
Done · 2026-12-01T19:22Z: closed by PR #38991, merge
1e1cacb18d. Tier S. Contract review PASS 7321889636 (seat os-justin,CONTRACT_REVIEW_TIER). L1 ACCEPT 7321506943. The zone landed it.Shipped: both
pnpm exec turbo run typecheckcalls inlint.ymlsteptype-check-workspace-packages(the whole-universe call and the selected call) now run with--concurrency=4instead of turbo's default of 10. That is the same setting ci.yml uses on the same 4-vCPU / 16 GB runner. The selector and the remote-cache asserts are unchanged.Re-check met: three consecutive green "Type Check · workspace" jobs on the mcp-dependents selection. They are 142850596612, 142857923863 and 142863920518, with the step taking 4m06, 4m06 and 5m59 against the 35-minute body budget.
Not measured:
Claim 7319480061 ends:
pm:dispatchedand theos-support-aiassignee are cleared.