Repository navigation
Description
Filing gate: ② ruling-directed sibling card — batch #5 item 1, letter C (#25373 comment 6366946328, maintainer 「同意」 2026-10-23T14:13:20Z). Reader: the domain:devx execution seat, dispatch step. Dedup: search_issues on objectstack-ai/objectstack, "Actions cache pool 10 GB eviction turbo seed" → 0 hits. Session: cse_01LKHDniRQSWjRJyDtacwpEd.
One-sentence problem
Every push to main writes about 12.8 GB of per-sha Turbo seeds to the Actions cache (six Test Core shard seeds of about 2.1 GB each, plus the Build Core, Type Check and other seeds), while the repository's Actions cache pool is 10 GB, so each merge can evict the seeds — and the pnpm store and Next.js caches — that the next PR run restores, and PR builds go cold for reasons the seed design cannot see.
Evidence (file lines at objectstack commit 2b7c331)
- Per-sha seed keys, saved on every push event, including cancelled runs (
if: always() && github.event_name == 'push'):ci.yml:1397-1402(Test Core, per shard),ci.yml:2242-2247,ci.yml:2749-2754(Build Core),lint.yml:5928-5930(typecheck). Keys end in${{ github.ref_name }}-${{ github.sha }}(ci.yml:606,:1786,:2087,:2320,:2529,:2974;lint.yml:5140,:5753), so no two merges share a key and nothing is overwritten — every merge adds a full set. - Cancelled push run 39923516471 saved all six Test Core shard seeds at about 2.1 GB each (the ci: the push-to-main CI run is cancelled by the next merge 9 times in 13, so the Turbo cache seed that only that run saves goes stale and every PR shard and lint lane rebuilds cold (Build Core 51 s → 4m30s, shard closures Σ 20–31 runner-min per run) #25373 card thread's falsification, comment 6364570166).
- Plain
actions/cache@v6steps (restore and post-save on every event, PRs included) sit in 12 workflow files;ci.yml:2785-2798saves the pnpm store andapps/docs/.next/cacheon PR runs too. PR-scoped entries count toward the same pool. - The Turbo remote cache is ON: on PR ci: assert the Turbo remote cache is on after Build Core, the Test Core closure and the three Type Check builds #25419 (card ci: no job asserts the Turbo remote cache is actually on — TURBO_TOKEN is withheld whenever the signing secret is empty, turbo then prints "Remote caching disabled" and builds cold with nothing red; add the assertion to Build Core and the closure builds #25374) Build Core printed "Remote caching enabled" with 76/76 remote hits, and Type Check · workspace 71/71 (
TURBO_TOKEN/TURBO_TEAM,ci.yml:749-750). For the tasks the remote cache serves, the per-sha.turbo/cacheseed in the Actions pool may be redundant weight. - Pool usage is NOT measured yet.
GET /repos/objectstack-ai/objectstack/actions/cache/usageandGET /repos/objectstack-ai/objectstack/actions/cachesare refused from a cloud seat container (egress proxy 403 on Actions cache paths, 2026-10-23T14:17Z).
Governing text
ci.yml:597-610andlint.yml:5101-5145— the seed discipline comments (main writes, PR and merge_group restore by prefix). This card changes what and how much is written, not the restore order, unless the measurement shows the seeds are redundant with the remote cache.- AGENTS.md lines 371–372 are about the local worktree cache, not CI.
- Ruling 6366946328: "Raising the pool limit is a billing item and comes back to the maintainer."
Change (in order; the dev pins what the measurement supports)
- Measure first. Read
actions/cache/usageand the 100 largest entries ofactions/caches(sorted bysize_in_bytes, desc), from a localghor a one-off read step in aworkflow_dispatchjob withactions: read. Record in the PR: pool total, the share held by*-turbo-*keys, byrefs/pull/*refs, and bypnpm-store/nextjskeys, plus the age of the oldest live Test Core seed. If the pool is well under 10 GB and seeds survive at least 5 merges, stop and say so — the card closes with the reading. - Then shrink, cheapest first, choosing from: (a) drop the
.turbo/cacheActions seed for jobs whose tasks the remote cache already serves (Build Core, Type Check), keeping the seed only where the remote cache misses; (b) save the Test Core seeds from one shard-independent job, or prune.turbo/cacheto the run's own hashes before save, to cut the per-shard size; (c) stop PR runs from saving the Next.js cache (restore-only on PRs, as the Turbo seed already is). - Never raise the pool limit in this card. If after (a)–(c) the pool is still over budget, return the billing option to the maintainer as a needs-user-decision with the measured numbers.
Acceptance
- The PR records the before-measurement (pool total and the four shares above) and the after-measurement taken after ≥ 5 merges to main.
- After: pool total ≤ 8 GB at steady state, and over the next 10 PR runs whose closure matches main, the shard "Build this shard's dependency closure" step median is ≤ 1.7 min and Build Core's build step is ≤ 2.5 min (the speed acceptance moved here from ci: the push-to-main CI run is cancelled by the next merge 9 times in 13, so the Turbo cache seed that only that run saves goes stale and every PR shard and lint lane rebuilds cold (Build Core 51 s → 4m30s, shard closures Σ 20–31 runner-min per run) #25373 by the ruling).
- Or, if step 1 shows the pool is not the cause: a comment with the reading, and the card closes
not_plannedwith the measured cause named for a follow-up card.
Risks
- Dropping a seed the remote cache does not actually cover makes those jobs colder; the dev keeps the remote-cache hit counts from the
assert-turbo-remote-cachelines (ci: assert the Turbo remote cache is on after Build Core, the Test Core closure and the three Type Check builds #25419, once landed) before and after. - Actions cache eviction is least-recently-used; a measurement taken right after a burst of merges can overstate pressure — take two readings at least an hour apart.
Work estimate
Lane domain:devx · 1 PR (.github/workflows/ci.yml, .github/workflows/lint.yml; possibly .github/workflows/*.yml for the Next.js save gate) · Clause-②: no · Metadata-protocol: none · Tier H (governed surface — the PR waits for a GOVERNED_APPROVERS approval before ready). Size M. Serial: lands after #25373's PR (same ci.yml concurrency/save region) and after #25419 (needs its remote-cache assert lines for the before/after reading).
Related: #25373 (ruled sibling), #25374 / PR #25419 (remote cache assert), #5401 (closed).
Maintainer directive (verbatim, untranslated)
同意
— the maintainer, 2026-10-23T14:13:20Z, on director batch #5 item 1 (letter C = land the staged concurrency change as a coverage fix and file a separate card for the cache pool).
Generated by Claude Code
Activity
hotlong commentedon Oct 24, 2026
Reopened · back to
pm:queue(domain:devx) · maintainer's go, 2026-10-24Maintainer directive (verbatim, untranslated), typed to the cloud ops seat in chat:
Why it's reopened: the pool reading 6385406892 is 10.30 GB, against the card's acceptance of ≤ 8 GB at steady state. #25523's Test Core seed prune holds; the remaining weight is the work the card's changes (c) and (a) name.
The next round, in order:
pull_requestandmerge_groupevents, the Next.js cache (ci.yml:2918-2923) and thepnpm-store-v3steps (plainactions/cache@v6inci.ymlandlint.yml) restore only and do not save.main(push) keeps saving, as the Turbo seed discipline already does.turbo-build-core,turbo-typecheckandturbo-pack-smokeActions seeds whose tasks the Turbo remote cache already serves. Keep theassert-turbo-remote-cachehit counts (ci: assert the Turbo remote cache is on after Build Core, the Test Core closure and the three Type Check builds #25419) from before and after, so a seed the remote cache doesn't cover shows up as a miss.main:actions/cache/usageplus the fullactions/cacheslisting, in the same shares as 6385406892. The cloud ops seat can take the reading locally, since the seat container gets a 403 on these paths.Unchanged from the card:
.github/workflows/*): a GOVERNED_APPROVERS approval before ready.objectstack-fleet commentedon Oct 26, 2026
Note from the director seat · 2026-10-26T13:25Z · ruling on #26070 (batch #397 item 1, maintainer 「同意」 on letter A)
Pull-request CI runs stay without a Turbo remote-cache token: with
remoteCache.signature: truea PR run that could read signed artifacts would also hold the signing key, and a same-repo PR runs its own edited workflow with repository secrets, so no client-sideremote:rconvention bounds it. This card's per-sha Actions-cache seeds are therefore the only cache a PR build uses; #26070 is closednot_plannedand a read-only cache path (a self-hosted cache or proxy) would be a design card of its own.objectstack-fleet commentedon Oct 27, 2026
Triage: audit line · triage seat ·
session_01AavokzJ5DndAwitDXvKy4U· 2026-10-27T01:55Z⛔ Not a claim, ⛔ not a dispatch. This card was in
pm:queuewithout its own triage line, which keeps execution seats from claiming it (#26387)..github/workflows/ci.yml/lint.ymlcache steps; rationale: p2. The scope is the maintainer's 2026-10-24 directive (reopen comment 6385486517): (c) Next.js and pnpm caches restore but do not save on PRs and in the queue, then (a) drop the build-core, typecheck and pack-smoke seeds that the remote cache covers, then measure the pool again. PR runs stay without a remote-cache token ([Decision] Pull-request CI runs get no Turbo remote-cache token at all 13 sites, so every PR build is cold: grant a read path, or keep PRs on the Actions-cache seed alone #26070 ruling A). Lane:.github/workflows/**is governed, so the PR is Tier H whoever writes it. The claim stays with its assignee (os-elon-musk, devx); it is not moved mid-flight.Generated by Claude Code
objectstack-fleet commentedon Oct 27, 2026
devx seat 2 · overlap note, not a claim on this card. Seat 2 claimed #26083 (6432280359), the composite
setup-workspaceaction. That action owns the pnpm store step, so the store becomes restore-only onpull_requestandmerge_groupthere, which is the pnpm half of this card's directive (c) (6385486517). This card keeps the rest: the Next.js cache restore-only, (a) the build-core / typecheck / pack-smoke seeds, and the second pool reading. Whichever PR lands second mergesmain; if this card's PR is already touching the store steps, say so here and seat 2 will narrow #26083.Generated by Claude Code
objectstack-fleet commentedon Oct 27, 2026
Claim: PM loop round 1 · takeover · change (c) only · 2026-10-27T22:55Z
Release: claim 6371859957 (
session_01SawdJgiuoz8deqVdM51jAE, card thread of seat sessionsession_01LKHDniRQSWjRJyDtacwpEd,domain:devx#1, accountos-elon-musk). Who: the maintainer. Verbatim: 「seat 1 只负责手上的卡,你接管车道后续的卡,并发5,可以派云卡」. Where: this seat's sessionsession_01QSeKYmTYfaPbLQD4BJfomW, recorded on #20163. That claim's work landed as PR #25523, merged03243fc637. The card was reopened afterwards (6385486517) and nobody claimed it again, so theos-elon-muskassignee is the half-state seat 1 named in 6437564074.Handover record: the old branch
claude/project-thread-53z7ntis gone from the remote (git ls-remoteempty). Its last pushed head wasfcae6e3a53, PR #25523's head, merged. There is no unmerged work to resume.Session:
session_01QSeKYmTYfaPbLQD4BJfomWAccount:
os-justin(the seat's linked user asGET /useranswers it; the card's assignee)Branch:
claude/issue-25452-cache-restore-onlyWorktree:
objectstack-issue-25452Domain:
domain:devxSeat:
domain:devx#2File surface: the directive's step 1, change (c) (6385486517). On
pull_requestandmerge_groupevents, the Next.js cache (ci.yml~L3012,apps/docs/.next/cache) and every remaining plainactions/cachepnpm-store-v3step in.github/workflows/ci.yml,lint.ymlandgoverned-surface-guard.ymlrestore only and do not save. A push tomainkeeps saving..github/actions/setup-workspace/action.ymlwas already done by #26083, so it stays out unless a reading shows a gap. ⛔ Not change (a), dropping theturbo-build-core/turbo-typecheck/turbo-pack-smokeseeds. Ruling #26070 → A (6417142465) keeps PR runs without a remote-cache token, so those seeds are what PR builds restore today (ci.ymlL2055/2548/3232/3368/3865 andlint.ymlL4847/5449 restore-keys). (a)'s premise, "the remote cache already serves them", is false for PRs, so it goes to the maintainer as a separate decision card. ⛔ Not step 3, the pool reading: the seat container gets 403 onactions/cache/*. Tier H (.github/workflows/**) (stop on breach; explain in the report)Container & model: M,
mode:subagent,model: TIER_DEFAULT(dispatch-gates --tieron the surface: "no path-derived mandate"),effort: highClause-②: no
Metadata-protocol: none
Responsibility: this repository's own CI workflows | no platform path: GitHub evicts at the 10 GB pool limit | every PR and queue run that restores a seed evicted by per-ref pnpm or Next.js saves (pool reading 6385406892: 10.30 GB)
Ruling-ref: 6385486517
Thread-read: 6432296324
Premise: holds in part at
origin/mainaa00362f. (c) is still undone outsidesetup-workspace: a plainpnpm-store-v3cache sits atci.ymlL3219/3311/3355/3613/3852/4174 andgoverned-surface-guard.ymlL247, and the Next.js cache atci.ymlL3012. (a) is corrected as written above.Serial constraints cleared: open PR #26854 (draft, Tier H) edits
ci.ymlL117–130 and L4237+/L4289+, which are other regions; whichever lands second mergesmain. No other open PR toucheslint.ymlorgoverned-surface-guard.yml. #26586 item 2 (a stale comment inlint.yml~L4209) is a separate card and stays there.Generated by Claude Code
objectstack-fleet commentedon Oct 27, 2026
devx seat 2 · pointer · 2026-10-27T23:07Z
Change (a) of the directive (drop the build-core / typecheck / pack-smoke seeds) is now decision card #26957. Ruling #26070 → A (6417142465) keeps PR runs off the remote cache, so those seeds are what PR builds restore. #26957 offers A (prune them with the existing
prune-turbo-cache.mjs), B (drop them as written) or C (measure the pool first); the seat recommends A. Change (c) stays in flight under claim 6455607148 and does not wait on #26957.Generated by Claude Code
objectstack-fleet commentedon Oct 28, 2026
os-dev-report
{ "issue": 25452, "status": "done", "branch": "claude/issue-25452-cache-restore-only", "pr": "https://github.com/objectstack-ai/objectstack/pull/26984", "session": "session_01QSeKYmTYfaPbLQD4BJfomW — dispatching seat's session (mode:subagent)", "premise_still_valid": true, "summary": "Change (c) only. In ci.yml job build-docs, the combined actions/cache@v6 'Setup Next.js cache' (post-saved on every event) became 'Restore Next.js cache' (actions/cache/restore@v6, no if:, runs on every event; path/key/restore-keys byte-identical) plus a new last step 'Save Next.js cache' (actions/cache/save@v6, if: (github.event_name == 'push' || github.event_name == 'schedule') && steps.nextjs-cache.outputs.cache-hit != 'true', key = steps.nextjs-cache.outputs.cache-primary-key, timeout-minutes 5, continue-on-error). That mirrors setup-workspace and ui-deps 'Save pnpm cache', and it keeps the combined action's post-if success() and its primary key. Premise correction, partial: every pnpm-store-v3 site the dispatch listed (ci.yml ui-deps/type-check-ui/test-ui/lint-ui/build-e2e-ui, governed-surface-guard.yml) was ALREADY actions/cache/restore@v6 at aa00362f and on this head, not plain actions/cache. The one save among them (ci.yml ui-deps 'Save pnpm cache', now L3336) is already gated push||schedule and cache-hit. lint.yml has no pnpm-store key of its own (12 setup-workspace callers). So no pnpm step changed, and the Next.js cache was the only remaining step of (c). Events after the change: pull_request and merge_group restore and skip the save; push(main) and schedule restore and save on a miss; workflow_dispatch restores and no longer saves (the house rule; it used to save). lookup-only was rejected because it does not download (actions/cache v6 restore/action.yml).", "tests": "Workflow-only diff, so no package test applies. A yaml-package parse of ci.yml lists the build-docs steps 'Checkout repository | Setup workspace | Restore Next.js cache | Build Docs (the command production runs) | Assert the docs app actually built | Save Next.js cache', with both new steps carrying the expressions above. Control-byte grep -naP over ci.yml: no hits. No ablation (config, not tested behaviour). CI log proof that the PR restores and does not save: NOT MEASURED at report time; Build Docs had not reported.", "gates": "Local union at head 4597816157, from dispatch-gates --commands --repo objectstack-ai/objectstack: 53 commands, each exit code captured before any pipe. 50 exit 0, including check:pm-dispatch-gates (fast tier 1935 cases pass, 312 s), check-comment-mask-corpus, check-self-test-workflow-commands, check:required-contexts, check:pm-expected-skips, check:workflow-status-functions, check:workflow-step-name-quoting, check:nul-bytes, check:node-version, check:pnpm-acquisition, check:ci-filter-parity and check:type-check-coverage. Three NOT MEASURED, each declared. check:type-check-debt: os-verify-lock VERDICT queue-timeout (exit 99) after 540 s, holder another agent's cli vitest run. check:dts-closure and check:dual-build-cjs-loads: exit 1 on a half-built local dist, because my own 400 s wrapper timeout killed an earlier type-check-debt closure build before @objectstack/organizations emitted index.d.ts; the diff touches no package, and CI Build Core builds fresh. --ran verbatim: '✓ dispatch-gates --ran: 53 derived famil(ies) accounted for — 50 run, 3 NOT-MEASURED (0 DERIVED from a recorded exit 3, 3 claimed).' actionlint: not derived and not installed, so not run. PR check-runs at 4597816157 when the report was written: Governed Surface Queue Guard success, Check Changeset success; Lint·*, Type Check·*, filter, PR-body guards and Check PR Size in_progress; Build Docs not yet reported.", "dogfood_battery": "n/a — no ! in the PR title and Clause-②: no with no (narrowing) arm", "mcp_calls": "0", "api_writes": "3 REST writes plus this comment. Through the relay, one fleet-write dispatch (run 40606535316): POST /repos/objectstack-ai/objectstack/pulls (draft), POST /issues/26984/assignees [os-justin], POST /issues/26984/labels [skip-changeset]. Then this os-dev-report comment, POST /issues/25452/comments, through post-stamped. Not REST: git push x4 (empty probe, commit, two merges of origin/main).", "open_questions": [], "out_of_scope_findings": [ "carrier: #25452 (step 3 pool re-reading) · noted, not filed. These combined actions/cache steps post-save a per-sha .turbo/cache on pull_request and are outside directive (c), which names Next.js and pnpm only: os-create-smoke.yml:95 (pull_request/schedule/workflow_dispatch) and pack-smoke-optin.yml:125 (pull_request, label opt-in). If the re-reading still shows refs/pull turbo entries from them, raise them there. Dedupe words: os-create-smoke turbo cache pull_request save; pack-smoke-optin actions/cache post-save; per-sha turbo key PR ref.", "carrier: none · noted in Acceptance notes. setup-pnpm's Corepack store save (action.yml:228) runs on any event on a cold, pin-content-addressed key, so a PR saves only right after a packageManager bump: one entry per pin, left as is." ], "deviations": "(1) Container restart mid-run: an earlier gate sweep died with exit 137, and the coordinator resumed the task. The earlier results were superseded by the reruns at 4597816157. (2) I waited on pm-dispatch-gates with tail --pid on a PID resolved through pgrep -o by command name, not a recorded PID; type-check-debt used a recorded PID. (3) main moved 7 commits after the last merge, behind the final head; none of the gate files the stale-tree warning named is in this diff. I did not chase it further; PR CI runs on the merge ref. (4) The first commit carried a card-relation line that the pre-push hook refused. I amended it before the first push, so no history was rewritten on the remote. (5) Commit trailers are the model-free pair (Claude-Session + Co-authored-by: Claude), per os-dev over the harness reminder." }Generated by Claude Code
objectstack-fleet commentedon Oct 28, 2026
devx seat 2 · premise correction · 2026-10-28T00:09Z
Claim 6455607148 listed a "plain
pnpm-store-v3cache" atci.ymlL3219/3311/3355/3613/3852/4174 andgoverned-surface-guard.ymlL247 as undone work for change (c). That was wrong. The seat grepped the cache keys, not theuses:lines. Every one of those steps is alreadyactions/cache/restore@v6onorigin/main(re-read now: ci.yml L3216/3352/3610/3849/4171/4421uses: actions/cache/restore@v6), andlint.ymlroutes every job throughsetup-workspace. The dev measured this in os-dev report 6456906843. So the only step of (c) left was the Next.js cache, which PR #26984 makes restore-only onpull_request/merge_group. The pnpm half of the directive was already done (setup-workspacevia #26083, and the ui jobs' restore-only steps).PR #26984 is in review (a contract review at
CONTRACT_REVIEW_TIERis under way; Tier H). Out of scope, carried to step 3's pool re-reading:os-create-smoke.yml:95andpack-smoke-optin.yml:125post-save a per-sha.turbo/cacheonpull_request, outside directive (c), which names Next.js and pnpm only.Generated by Claude Code
objectstack-fleet commentedon Oct 28, 2026
ACCEPT → PR #26984 comment 6457218903 · 2026-10-28T00:20Z · contract review PASS 6457159321 · os-zhuang approved and armed auto-merge; CI on head
4597816157: 48 success, 11 skipped, 0 failure.Generated by Claude Code
objectstack-fleet commentedon Oct 28, 2026
Landed (partial): step 1, change (c), via PR #26984, merged as
eae9a588e7· 2026-10-28T00:48ZRelease:
session_01QSeKYmTYfaPbLQD4BJfomW(domain:devx#2) · partial landing · landed: the Next.js cache restores on every run and saves only onpush/schedule. The pnpm half was already restore-only onmain(correction 6457011853). · remaining: step 2, change (a), now decision card #26957; step 3, the pool re-reading after ≥ 5 merges, which needs a reader withactions/cache/*access because the seat container gets 403 · state:pm:dispatched→pm:blocked, assignee clearedBlocked-by: #26957
The merged diff matches the reviewed head
4597816157(sorted +/− lines ofci.ymlhash-identical,merge-base..headagainsteae9a588e7^1..eae9a588e7). ACCEPT → PR #26984 comment 6457218903; contract review PASS 6457159321; os-zhuang approved.Restart: when #26957 is ruled, its letter decides step 2 (A: prune the build-core / typecheck / pack-smoke seeds; B: drop them; C: no change until the pool reading). Either way, step 3's pool reading also carries the two per-sha
.turbo/cachepost-saves onpull_request(os-create-smoke.yml:95,pack-smoke-optin.yml:125) noted in the dev's report.Generated by Claude Code
objectstack-fleet commentedon Oct 28, 2026
Pointer for the devx seat · director seat · 2026-10-28T02:11Z
Step 2 of the directive 6385486517 (「再去掉远程缓存已覆盖的 build-core/typecheck/pack-smoke 种子」) is rewritten by ruling #26957 → A (「同意」 to batch #416): prune, do not drop. The three seeds stay; each seed-save step is wired behind
scripts/ci/prune-turbo-cache.mjs --site …as Test Core and the UI jobs are. Its premise fell with ruling #26070 → A (6417142465): PR runs carry no remote-cache token, so these seeds are the only cache a PR build has. Step 3 (the pool reading after ≥ 5 merges) and "⛔ The pool limit is not raised here" stand. Dispatch #26957 as this card's step 2; change (c) is unaffected. ⛔ Not a claim.objectstack-fleet commentedon Oct 28, 2026
Dispatch note · devx seat 2 · 2026-10-28T03:12Z
Step 2 is ruled (#26957 → A, prune not drop, 6458731814) and dispatched on #26957 (claim 6459608872, cloud session
session_01QSeKYooUn7D13pPguPf727). This card stayspm:blockedon #26957 until that PR lands; then step 3, the pool reading, remains.Generated by Claude Code
objectstack-fleet commentedon Oct 28, 2026
Step 2 landed (prune, not drop; ruling 6458731814) · devx seat 2 · 2026-10-28T06:52Z
PR #27067 merged as
6817bf1eae. The first post-prune seed sizes are in #26957 comment 6462677575:turbo-typecheck: 5,885.7 MB → 33.3 MB on disk.turbo-build-core: 55.4 MB, unchanged; it was already clean.turbo-pack-smoke: 148.7 MB → 54.9 MB.Step 3, the pool reading after ≥ 5 merges, is next. It needs an account that can read
actions/cache/*; the seat container gets 403 there. This card stayspm:blockedon that reading.Generated by Claude Code
objectstack-fleet commentedon Oct 29, 2026
triage#1 · os-zhuang · session_01AavokzJ5DndAwitDXvKy4U
Triage: unblocked ·
pm:blocked→pm:queue· 2026-10-29T03:47Z⛔ Not a claim.
6817bf1e;turbo-typecheckwent from 5,885.7 MB to 33.3 MB), and [Decision] #25452 change (a) assumed the Turbo remote cache serves PR builds, but ruling #26070 → A keeps PRs on the Actions-cache seeds alone: drop, prune or keep the build-core / typecheck / pack-smoke seeds? #26957 is closed. Only step 3, the pool reading, remains..github/workflows/**).Generated by Claude Code
objectstack-fleet commentedon Oct 29, 2026
domain:devx#2 · os-justin · session_01QSeKYmTYfaPbLQD4BJfomW
Maintainer-action: read the Actions cache pool for objectstack-ai/objectstack —
gh api repos/objectstack-ai/objectstack/actions/cache/usageandgh api --paginate 'repos/objectstack-ai/objectstack/actions/caches?per_page=100' --jq '.actions_caches[] | [.key, .size_in_bytes, .last_accessed_at] | @tsv'— and paste both outputs on this card — done when a comment on this card carries both outputs, read at or after6817bf1eaeplus ≥ 5 merges tomainWhy it is parked with the maintainer · 2026-10-29T21:22Z · ⛔ not a claim
Triage's unblock 6487355419 leaves step 3, the pool reading, as the only remaining step. The lane seat cannot take that reading: re-probed now,
GET /repos/objectstack-ai/objectstack/actions/cache/usageandGET …/actions/cachesboth answer 403 to this seat's token. The relay has no cache-read operation either. Nothing else on the card is open, so dispatching a dev would not help, because the dev's container has the same token scope.The reading decides the card's end (see its Acceptance section). Either the seeds still crowd the 10 GB pool, which means a shrink/retire step; or they no longer do, and the card closes
not_plannedwith the measured cause named. Since the step-2 prune,turbo-typecheckis down from 5,885.7 MB to 33.3 MB (6462691006). Once a reading is posted, any lane seat acts on it.Generated by Claude Code
hotlong commentedon Nov 5, 2026
coordinator#1 · hotlong · session_6eb9ec2e0e3f410b91239dab7a337b9e
缓存池读数(Maintainer-action 完成) · 2026-11-05T01:30Z · 维护者原话「A 组 + B 组全做」,本条由协调席以维护者的 gh 账号(hotlong)读取。读数时 main 是
474c030b13,从6817bf1eae起已有 1,527 次合并,满足「≥ 5 次合并」。结论:种子仍然挤满 10 GB 池,而且主因是卡上没列的一个新 key
active_caches_size_in_bytes= 10,925,870,698(27 条,超过 10 GB);*-turbo-*占 7,733 MB(99.8%):Linux-turbo-dogfood-1-main-<sha>每个 sha 约 3.69 GB,池里同时有两个,合计 7.37 GB,占 95%。它来自.github/workflows/upgrade-harness-optin.yml:96,不在本卡第 5 段列的种子里。turbo-typecheck已降到 36.5 MB(step-2 prune 生效);turbo-test-*每片 25–35 MB。refs/pull/*8 MB;pnpm-store和nextjs都是 0(不在池里,已被逐出或不再保存)。建议给车道:先看
turbo-dogfood种子要不要每个 main sha 都存(要么限定 opt-in 运行才存,要么改成只恢复)。这一步就能把池降到 1 GB 以内。原始输出
gh api repos/objectstack-ai/objectstack/actions/cache/usage(第二次)actions/caches(key · bytes · ref · last_accessed_at · created_at)🤖 Generated with Claude Code
objectstack-fleet commentedon Nov 5, 2026
domain:devx#2 · marchtian · session_017ihL2ebbZkr2QAEG1x7UC8
Claim: PM loop round 1
Session:
session_017ihL2ebbZkr2QAEG1x7UC8Account:
marchtianBranch:
claude/issue-25452-dogfood-seed-pruneWorktree:
objectstack-issue-25452Domain:
domain:devxSeat:
domain:devx#2File surface:
.github/workflows/ci.yml, thedogfoodjob's seed-save step only: wire it behindscripts/ci/prune-turbo-cache.mjs --site …exactly as Test Core and Build Core are (ruling 6458731814 → A, "prune, not drop"; precedent #25523, #27067). ⛔ No new script, no new gate, the pool limit is not raised, and the restore keys (ci.ymldogfood,upgrade-harness-optin.yml:96) are not changed.Container & model:
S,mode:subagent,model: default tier (dispatch-gates --tier: no path-derived mandate),effort: mediumClause-②: no
Metadata-protocol: none
Responsibility: n/a — tooling card, step after the pool reading
Thread-read: 6647111495
Premise: holds (pool reading 6647111495 at
474c030b13:Linux-turbo-dogfood-1-main-<sha>≈ 3.69 GB per sha, two live = 95% of the pool; atorigin/mainf2a9007 the dogfood job'sSave Turbo cache (main only)has no prune step, unlike Test Core'sci.yml~1750–1766).Serial constraints cleared: #25373 and #25419 closed/merged; no open PR touches
.github/workflows/**. Tier H (.github/workflows/**): lands only after ACCEPT + contract review PASS, then the GOVERNED_APPROVERS hand-off.objectstack-fleet commentedon Nov 5, 2026
domain:devx#2 · marchtian · session_017ihL2ebbZkr2QAEG1x7UC8
os-dev-report
{ "issue": 25452, "status": "done", "branch": "claude/issue-25452-dogfood-seed-prune", "pr": "https://github.com/objectstack-ai/objectstack/pull/30241", "head": "2a737765df", "session": "session_017ihL2ebbZkr2QAEG1x7UC8", "premise_still_valid": true, "files_changed": [".github/workflows/ci.yml (+23 / -2, job dogfood only)"], "dogfood_turbo_invocations": { "closure_build": ".github/workflows/ci.yml:2494 (pnpm turbo run build --filter=@objectstack/dogfood --concurrency=4 --log-order=stream; no --summarize, unchanged)", "test": ".github/workflows/ci.yml:2545 (pnpm turbo run test --filter=@objectstack/dogfood --summarize --log-order=stream; --summarize added by this PR, absent at base f2a9007e93 L2542)", "prune_step": ".github/workflows/ci.yml:2591-2596 (id prune-turbo-cache, if always() && push, --site 'Dogfood Regression Gate (N/3)' --cache .turbo/cache --run-summaries .turbo/runs)", "save_gate": ".github/workflows/ci.yml:2601 (ANDs steps.prune-turbo-cache.outputs.save == 'true')", "summaries_before_this_pr": "none (no --summarize on either invocation, no TURBO_RUN_SUMMARY in the job)", "extra_summaries_needed": false, "extra_summaries_reason": "base dry-run plans: 71 tasks shared by the closure build and the OS_TEST_SHARD=1/3 test plan, 71 hash-identical, 0 differing; only @objectstack/dogfood#build (no command, no cache entry) is absent from the test plan" }, "prune_estimate_mb": { "before": 304.3, "after": 35.7, "scope": "closure only, at 4f583910e4 (base + diff): private --cache-dir seeded with a copy of the container's shared .turbo/cache (260 MB) as the stand-in restored seed, closure build (69 tasks, 2 cached), the test step as spelled with OS_TEST_SHARD=9/3 so dogfood#test failed fast (summary still written: 69 cached, 70 total), then the prune exactly as the new step; kept 69 task entries, dropped 1053 files, save=true. Real dogfood#test entry size NOT MEASURED (full shard not run). CI before = ~3.69 GB per seed (pool reading 6647111495)." }, "harness_closure_covered": { "covered": 69, "of": 69, "missing": [], "basis": "every closure task with a command in turbo run build --filter=@objectstack/dogfood --dry=json has its tar.zst in the pruned seed; upgrade-harness-optin.yml:96-102 restore keys unchanged" }, "gates": { "derived": 53, "run": 53, "exit_0": 53, "not_measured": 0, "tree": "objectstack-ai/objectstack@2a737765df", "ran_verdict": "✓ dispatch-gates --ran: 53 derived famil(ies) accounted for — 53 run, 0 NOT-MEASURED (a DERIVED zero — all 53 recorded an exit code and none of them is 3).", "rerun": "pnpm check:dual-build-cjs-loads exit 3 (PREREQUISITE NOT MET, 7 packages without dist) then exit 0 after check:type-check-debt built every package; ran.list records the re-run", "not_derived": "actionlint not installed, not run", "pr_check_runs": "in_progress at report time; the dogfood job does not run on pull_request" }, "dogfood_battery": "n/a: no ! in the PR title, Clause-②: no without a (narrowing) arm", "deviations": [ "gate sweep started on 4f583910e4, stopped by recorded PID after 2 commands to merge origin/main once, then re-run whole on 2a737765df; derived list byte-identical", "merge commit 2a737765df carries git's default merge message, no trailer pair", "harness reminder asked for a model-named Co-Authored-By trailer; commit 4f583910e4 carries the model-free pair per os-dev and the dispatch order", "prune estimate measured on the closure plus a fast-failing test step, not a full dogfood shard" ], "mcp_calls": 0, "api_writes": { "count": 4, "list": [ "POST /repos/objectstack-ai/objectstack/dispatches (fleet-write relay, run 41958955637)", "relay: POST /repos/objectstack-ai/objectstack/pulls (draft, #30241)", "relay: POST /repos/objectstack-ai/objectstack/issues/30241/labels [skip-changeset]", "post-stamped: POST /repos/objectstack-ai/objectstack/issues/25452/comments (this report)" ], "not_rest": "git push x3 (empty-branch probe, commit, merge of origin/main)" }, "security_findings": "none", "open_questions": [ { "question": "The PR body carries Fixes #25452 as ordered, so merging closes the card before the after-reading (the pool after at least 5 merges).", "options": ["A keep Fixes; the after-reading is posted on the closed card", "B the seat rewrites line 3 to Part of #25452 before landing"], "recommendation": "the seat's call; the order chose A" } ], "out_of_scope_findings": [ "carrier: #25452 · noted, not filed. Pool reading 6647111495 names upgrade-harness-optin.yml:96 as the source of Linux-turbo-dogfood-1-main-*, but that step is actions/cache/restore; the writer is ci.yml job dogfood's save (key Linux-turbo-dogfood-SHARD-main-SHA, ci.yml:2600-2605), which this PR prunes." ] }objectstack-fleet commentedon Nov 5, 2026
domain:devx#2 · marchtian · session_017ihL2ebbZkr2QAEG1x7UC8
Maintainer-action: read the Actions cache pool again —
gh api repos/objectstack-ai/objectstack/actions/cache/usageandgh api --paginate 'repos/objectstack-ai/objectstack/actions/caches?per_page=100' --jq '.actions_caches[] | [.key, .size_in_bytes, .ref, .last_accessed_at, .created_at] | @tsv'— two readings at least an hour apart, and paste them on this card — done when a comment on this card carries both, read at or after1d4103779cplus ≥ 5 merges tomainLanded (partial): the dogfood seed prune, PR #30241 merged as
1d4103779c· 2026-11-05T04:44Z · ⛔ not a claimACCEPT 6648704645, Fable contract review PASS 6648691312, approved and queued by os-zhuang. The PR said
Part of #25452, so this card stays open for its after-reading.First push run with the prune (run 41968115334 on
eb6199b39b, which contains1d4103779c), the threeprune-turbo-cache:lines the ruling asks for:So each per-sha dogfood seed drops from about 3.69 GB (pool reading 6647111495) to about 36 MB. Shard 2's red is its test step (
permission-set-clone-door, already on main before this merge: the six previous main runs are red on the same shard; card #30255,domain:serverp0). It is not this change, and its prune and save ran as designed.What remains: the Acceptance's after-measurement (pool ≤ 8 GB at steady state, plus the closure / Build Core step medians). This seat's token gets 403 on
actions/cache/*, so the reading is the maintainer's (as hotlong's 6647111495 was). If the pool reading still shows pressure, the next suspects are the per-shaturbo-test-*seeds (25–35 MB each × 8 shards × live shas) and the two PR-side post-saves named in 6457643938.State:
pm:dispatched→pm:awaiting-maintainer, assignee cleared. Any lane seat acts on the reading once it is posted.objectstack-fleet commentedon Nov 5, 2026
coordinator#1 · hotlong · session_6eb9ec2e0e3f410b91239dab7a337b9e
两次缓存池读数,间隔 65 分钟,都在
1d4103779c之后 · 2026-11-05T14:42Z维护者 2026-11-05 让协调席代做本卡的读数(「按推荐做」)。读数命令就是卡上写的两条
gh api。bc8945f13dfa9c0aa2a0active_caches_size_in_bytesactive_caches_count说明(只是读数,不下结论,判读交给车道)
created_at晚于 13:31Z 计算)。同一窗口里 main 只合了 3 个提交。ref都是refs/heads/main,没有 PR 分支的缓存。Linux-nextjs2.72 GB(4 个)、turbo-pack-smoke0.82 GB(14 个)、turbo-typecheck-main0.66 GB(18 个)、turbo-build-core-main0.64 GB(11 个)、turbo-type-check-ui-main0.61 GB(15 个)、turbo-lint-ui-main0.56 GB(13 个)。两份完整的
--paginate列表(key、size、ref、last_accessed、created)分别放在后面两条评论里。objectstack-fleet commentedon Nov 5, 2026
coordinator#1 · hotlong · session_6eb9ec2e0e3f410b91239dab7a337b9e
读数 1 完整列表 · 2026-11-05T14:43Z
key · size_in_bytes · ref · last_accessed_at · created_at
objectstack-fleet commentedon Nov 5, 2026
coordinator#1 · hotlong · session_6eb9ec2e0e3f410b91239dab7a337b9e
读数 2 完整列表 · 2026-11-05T14:43Z
key · size_in_bytes · ref · last_accessed_at · created_at
objectstack-fleet commentedon Nov 6, 2026
coordinator#1 · hotlong · session_6eb9ec2e0e3f410b91239dab7a337b9e
2026-11-06T14:56Z
State:
pm:awaiting-maintainer→pm:queue. The measurement this card waited on is posted: two cache-pool readings 65 minutes apart, both after1d4103779c, with full key lists (2026-11-05 14:42–14:44Z). Both readings are over the 10 GB pool. The call (shrink or retire the per-sha seeds) is thedomain:devxlane's, so the card goes back to the queue.🤖 Generated with Claude Code
objectstack-fleet commentedon Nov 8, 2026
domain:devx#3 · os-project-manager · session_01FEkQ5njkh3xbcDN6EtSfw7
Maintainer ruling recorded · 2026-11-08T11:01Z · #25452 is now in devx bounds
Ruling-ref: the maintainer's tap on 整体解除 (2026-11-08T10:59Z, decision card
cmsg_01TenzsRopZj4jMbvjX8uz1XPQwuwKJ4wbCdbisMvLwz77), recorded on #20163.ci.ymlconstraint that kept this card out of thedomain:devxlane is lifted lane-wide.ui/.github/**stays out of bounds.ci.yml.Linux-nextjs2.72 GB the largest prefix), and PR ci: prune each Test Core Turbo seed to its own run's tasks before saving it #25523 (pruning the Test Core seeds) has merged. What remains is step 2 (a), dropping the.turbo/cacheseed where the remote cache serves, and (c), making the Next.js cache restore-only on PRs.The current devx seat is going off duty, so this card stays
pm:queuefor the next devx seat.objectstack-fleet commentedon Nov 8, 2026
domain:devx#2 · zhuangjianguo · session_01QsR2jTo666XXx9e1Gm21C6
Claim: PM loop round 6 · 2026-11-08T21:47Z
Session:
session_01QsR2jU13BVJrAhzrBEZomQ(card thread, dev) · seatsession_01QsR2jTo666XXx9e1Gm21C6Account:
zhuangjianguoBranch:
claude/project-thread-f8jm6nWorktree:
objectstack-issue-25452Domain:
domain:devxSeat:
domain:devx#2File surface:
.github/workflows/*.ymlsave and restore steps for the per-sha.turbo/cacheActions seeds and the Next.js cache (ci.yml,lint.yml, and whichever workflow savesLinux-nextjs), plus the pins and self-tests that read them. Tier H, hand-merged. ⛔ No pool-limit change, noui/.github/**.Container & model: M,
mode:thread,model: default tier(no path-derived mandate),effort: highClause-②: no
Metadata-protocol: none
Responsibility: the Actions cache pool | 10.92 / 10.73 GB over a 10 GB pool on 2026-11-05 (6660842058), with Test Core and dogfood seeds already pruned (PR #25523, PR #30241) | every PR run's restore hit rate and every main push's seed save
Thread-read: 6720663979
Premise: holds; the maintainer ruling 6720663979 leaves step 2 (a) and (c), and its serial condition (#22034) cleared at
8210894cSerial constraints cleared: #22034 (PR #31644,
8210894c) and #31519 (PR #31611,df91a35d) both landed inci.yml. No other open devx PR edits workflow files.Scope: step 1 is a read-only seed and remote-cache table, posted before code. Then one PR for step 2 (a) and (c). The PR says
Fixes #25452. Brief:/mnt/project-files/issue-25452/brief.md. Summons: the maintainer's 「开一个 devx 车道」 (this project, 2026-11-08T11:03Z).objectstack-fleet commentedon Nov 8, 2026
domain:devx#2 · zhuangjianguo · session_01QsR2jU13BVJrAhzrBEZomQ
Step 1 reading (read-only, before code) · 2026-11-08T21:57Z · ⛔ not a claim
Tree:
objectstack-ai/objectstackmainatcd43416f. Pool data: hotlong's two readings 65 minutes apart (6660842058, full lists 6660862422 and 6660886860). Job logs: push run 42522030859 (8c9260f7, a full uncovered run) and PR runs 42524973022 (#31637) and 42524366873 (#31668).Headline: neither remaining step changes the pool, and the pool's weight is entries no run can restore
eae9a588e7) made the Next.js cache restore-only on PRs: onmainthe save step is gated(push || schedule) && cache-hit != 'true'(ci.yml"Save Next.js cache"). Both 11-05 readings hold 0refs/pull/*entries. A restore-only PR leg loses nothing because it already is one.TURBO_TOKENreaches onlymerge_groupandmainruns (everyTURBO_TOKEN:line inci.ymlandlint.ymlcarries that gate). Ruling [Decision] Pull-request CI runs get no Turbo remote-cache token at all 13 sites, so every PR build is cold: grant a read path, or keep PRs on the Actions-cache seed alone #26070 → A (6417142465) keeps it that way, and ruling [Decision] #25452 change (a) assumed the Turbo remote cache serves PR builds, but ruling #26070 → A keeps PRs on the Actions-cache seeds alone: drop, prune or keep the build-core / typecheck / pack-smoke seeds? #26957 → A (6458731814) already turned "drop" into "prune". Every seed below has a restorer that holds no token, or one that reads only the local cache. The 11-08 recap (6720663979) names (a) and (c) as what remains. (c) landed on 10-28, (a) was rewritten to prune on 10-28 (PR ci: prune the build-core, typecheck and pack-smoke Turbo seeds before saving them #27067), and the recap reverses neither.*-main-SHAseed is dead once the next push saves a newer one. In reading 2, 0 of 196 non-newest entries were accessed after a newer entry of their prefix existed. Between the two readings, 89 keys were evicted, and every prefix's newest entry in reading 1 is either still in reading 2 or has a newer successor there (0 live entries lost). The pnpm store and corepack were the oldest live entries, about 13 hours old and still hit. So the pool runs over 10 GB, but LRU eviction drops only dead entries.Seed table
Live counts are from reading 2 (
fa9c0aa2a0). "Per entry" is the saved size the prune printed on push run 42522030859 (8c9260f7) where marked (log), else the mean entry in reading 2.turbo-test-K-main(K = 1..8)ci.yml·test·actions/cache/save64 cached, 65 totalfrom the seedturbo-dogfood-K-main(K = 1..3)ci.yml·dogfood· saveupgrade-harness-optin.yml(labelled PRs, no token). Also thedogfood#teststep, which never reads the remote (its comment), so the seed is the only cache a queue or push run can replay that task's entry fromturbo-build-core-mainci.yml·build-core· save0 remote hit(s), 41 local hit(s), 78 miss(es)on both PR runs (no token). It is also the fallback prefix of 13 other restore stepsturbo-typecheck-mainlint.yml·typecheck-workspace· saveturbo-ui-deps-mainci.yml·ui-deps· saveui-coverage-nightly.ymlturbo-type-check-ui-mainci.yml·type-check-ui· saveturbo-lint-ui-mainci.yml·lint-ui· saveturbo-pack-smoke-SHApublish-smoke.yml·pack-smoke(after each Release run,mainref) andpack-smoke-optin.yml(labelled PRs) · saveTURBO_TOKENturbo-create-scaffold-smoke-SHAos-create-smoke.yml· plainactions/cacheAn uncovered push run saves up to 17 seeds of 30 to 70 MB each, about 0.6 GB in all. Reading 2 carries 24 shas created over 2.4 hours, 10 of them with 13 or more seeds. The 17 newest entries, one per prefix, are 0.58 GB together.
Next.js cache:
ci.yml·build-docs· "Save Next.js cache" (actions/cache/save). Its key hashespnpm-lock.yaml,apps/docs/**JS and TS, andcontent/**/*.mdx, so every uncovered push that touches docs writes a new key. Reading 2 holds 4 entries, 0.64 to 0.71 GB each, 2.72 GB in all, all onrefs/heads/main. Only the newest is ever restored (PRs restore by the lockfile prefix). Build Docs is skipped on covered pushes (queue-verdictcovered).Predicted pool, by change (computed from reading 2, total 10.73 GB in 217 entries)
refs/heads/mainonly)scheduleonly (every 4 h), not on pushRemote-cache risk per dropped seed: none, because no seed is dropped. (A) and (B) drop no seed a run can restore. (A)'s own risk is a delete landing while a concurrent job is still downloading that entry: that restore misses, which is not fatal. Keeping 2 per prefix covers it.
What it means for the card
mainseed.not_plannedwith the measured cause named") fits this reading.objectql,metadata-protocol), so most of the closure rebuilds whatever the pool holds. That is the measured cause of the slow PR builds the speed acceptance names, and it is not the pool.Options for the seat (four axes)
actions: writethat deletes all but the newest 2 entries per seed prefix onrefs/heads/main. It meets "≤ 8 GB" (about 2.5 GB). Cost: a new mechanism and a write-scoped token onmainruns, to move a number with no measured harm behind it. Outside the card's listed (a) to (c), so it needs the maintainer's word.scheduleonly. About 1.3 to 2.0 GB saved, does not reach 8 GB alone, and PR docs builds would restore a cache up to 4 h older. Not recommended alone.NOT MEASURED
Nothing was changed. Every call above was a read.
objectstack-fleet commentedon Nov 9, 2026
domain:devx#2 · zhuangjianguo · session_01QsR2jTo666XXx9e1Gm21C6
Closed
not_planned· 2026-11-09T00:51Z · maintainer chose "Close it, no code"Ruling-ref: the maintainer's pick on the decision card in the devx seat 2 project thread (2026-11-09T00:51Z): "Close it, no code" (card message
cmsg_018ETKaNwMZCNRYD7D8Q9UbbK5DTcBN1Ex9eprzLgYb4xE). The seat recommended it. The evidence is the step-1 reading 6727676728 (devsession_01QsR2jU13BVJrAhzrBEZomQ, claim 6727578727), which the seat checked against its sources.main. PR ci: restore the Next.js cache on every run, save it on push and schedule only #26984 merged 2026-10-28: the Next.js cache is restored on every run and saved on push and schedule only. Both 11-05 pool readings (6660842058) hold onlyrefs/heads/mainentries.TURBO_TOKENreaches onlymerge_groupandmainruns (ruling [Decision] Pull-request CI runs get no Turbo remote-cache token at all 13 sites, so every PR build is cold: grant a read path, or keep PRs on the Actions-cache seed alone #26070 → A). Ruling [Decision] #25452 change (a) assumed the Turbo remote cache serves PR builds, but ruling #26070 → A keeps PRs on the Actions-cache seeds alone: drop, prune or keep the build-core / typecheck / pack-smoke seeds? #26957 → A had already turned "drop" into "prune" (PR ci: prune the build-core, typecheck and pack-smoke Turbo seeds before saving them #27067). Every seed prefix has a tokenless or local-only restorer, and PR Build Core read0 remote / 41 local / 78 misson two PR runs.objectql,metadata-protocol) rebuild most of the closure, and PR runs have no remote cache by ruling [Decision] Pull-request CI runs get no Turbo remote-cache token at all 13 sites, so every PR build is cold: grant a read path, or keep PRs on the Actions-cache seed alone #26070 → A (PR Build Core 6m50s with 78 misses). The only lever is that ruling, so no follow-up card is filed.actions: writethat keeps the newest 2 entries per prefix (predicted pool about 2.5 GB), and option B, Next.js saved on schedule only (saves 1.3–2.0 GB). Either can come back as its own card.No PR was opened.
pm:dispatchedcomes off.