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: Lint's three Type Check jobs, the Test Core shards, dogfood and Temporal each rebuild the workspace (3.5–5.8 min per job, ~25–30 job-min per CI+Lint pair) — extend #21186's turbo remote cache to them #22077
Filing gate: ③ a maintainer-directed task — the maintainer, after this seat's CI assessment in this session, verbatim: 「CI 优化按照你的建议创建任务」 — carrying ① a measured cost with a named fix site: each CI and Lint run rebuilds the workspace in several jobs that share nothing (the three Type Check jobs, the Test Core shards' closures, the dogfood shards, Temporal, Build Core), 3.5–5.8 minutes per job, about 25–30 job-minutes per CI+Lint pair, while the turbo remote cache #21186 wired is read by ci.yml's Build Core only. Filed by domain:skills seat 2 (seat post #19287, session_0181E4ZeZmWyknawnauxD2CE). ⛔ Not a claim. The tooling entry rule (triage-duties.md:34) is met by the maintainer's instruction quoted here; the guarded surfaces are the required contexts TypeScript Type Check, Test Core, Dogfood Regression Gate and Temporal Conformance.
Reader: triage first-touch → domain:devx (CI wiring; #21186 was routed domain:spec — triage decides); the owning seat dispatches it.
Dedupe: page-looped REST listings, closed included (union 1,266 as on the sibling cards) grepped for build once|share.*dist|remote cache|turbo.*(cache|remote)|duplicate.*build|rebuild → 5 hits: #21186 (closed 2026-10-05: wire the Vercel turbo remote cache — team object-stack — into ci.yml; trusted events write, PRs read, signed), #21193 (closed: build hashes omit five root inputs the builds read), #11264 and #19086 (closed: two cache-served-dist pitfalls, kept below as pins), #19541 (unrelated). None extends the cache beyond Build Core.
Nothing is passed between jobs as an artifact; every heavy job repeats checkout + setup-pnpm + pnpm install --frozen-lockfile (install itself is cheap, 0.07–0.18 min).
Per CI+Lint pair that is roughly 25–30 job-minutes of repeated build; the queue re-runs the same set per entry (about 235 job-minutes per queue build).
Setup-side caches today: pnpm store via actions/cache keyed on the lockfile; turbo LOCAL cache via actions/cache keyed per job + shard + ref + sha (a new entry per run; restore-keys fall back to main); the remote cache only in Build Core.
Measured before/after on one pull_request run and one merge_group run: each affected build step's seconds and turbo's cache-hit summary lines, quoted in the PR body with run ids; the expected effect is each 3.5–5.8-minute build step falling to cache-restore time on a warm cache.
If the remote cache cannot serve a job (signature or permission shape), the alternative measured is an upload-artifact of dist/ from Build Core consumed by the typecheck jobs; the PR states which route landed and why.
⛔ No job removed, no required context changed, no new gate; ⛔ the local actions/cache entries stay until the remote hit rate is measured.
Filing gate: ③ a maintainer-directed task — the maintainer, after this seat's CI assessment in this session, verbatim: 「CI 优化按照你的建议创建任务」 — carrying ① a measured cost with a named fix site: each CI and Lint run rebuilds the workspace in several jobs that share nothing (the three
Type Checkjobs, theTest Coreshards' closures, the dogfood shards, Temporal, Build Core), 3.5–5.8 minutes per job, about 25–30 job-minutes per CI+Lint pair, while the turbo remote cache #21186 wired is read byci.yml's Build Core only. Filed bydomain:skillsseat 2 (seat post #19287,session_0181E4ZeZmWyknawnauxD2CE). ⛔ Not a claim. Thetoolingentry rule (triage-duties.md:34) is met by the maintainer's instruction quoted here; the guarded surfaces are the required contextsTypeScript Type Check,Test Core,Dogfood Regression GateandTemporal Conformance.Reader: triage first-touch →
domain:devx(CI wiring; #21186 was routeddomain:spec— triage decides); the owning seat dispatches it.Dedupe: page-looped REST listings, closed included (union 1,266 as on the sibling cards) grepped for
build once|share.*dist|remote cache|turbo.*(cache|remote)|duplicate.*build|rebuild→ 5 hits: #21186 (closed 2026-10-05: wire the Vercel turbo remote cache — team object-stack — intoci.yml; trusted events write, PRs read, signed), #21193 (closed: build hashes omit five root inputs the builds read), #11264 and #19086 (closed: two cache-served-dist pitfalls, kept below as pins), #19541 (unrelated). None extends the cache beyond Build Core.What is measured
lint.ymlpasses noTURBO_TOKEN/TURBO_TEAM/TURBO_REMOTE_CACHE_SIGNATURE_KEY(grep: 0 lines), so its three builds cannot hit the remote cache;ci.ymlpasses them only in the Build Core job (the block at about:2185-2219, "Turbo remote cache (ci: wire the Vercel turbo remote cache (team object-stack) into ci.yml — trusted events write, PRs read, signed — so cloud's pinned framework build can replay what this repo's main already built #21186)").pull_requestruns 37567293616 (CI) and 37567293525 (Lint), same commit:Type Check · workspace: build 3.5 min, then typecheck 6.2;Type Check · consumer gates: build 3.5;Type Check · debt ledger: build 4.5.pnpm install --frozen-lockfile(install itself is cheap, 0.07–0.18 min).Done when
Type Checkjobs and theci.ymlbuild steps of the Test Core shards, the dogfood shards and Temporal read the turbo remote cache with the same env block, the same signing rule and the same trusted-event write rule as ci: wire the Vercel turbo remote cache (team object-stack) into ci.yml — trusted events write, PRs read, signed — so cloud's pinned framework build can replay what this repo's main already built #21186 (writes only onmerge_groupandpushtomain; PRs read).pull_requestrun and onemerge_grouprun: each affected build step's seconds and turbo's cache-hit summary lines, quoted in the PR body with run ids; the expected effect is each 3.5–5.8-minute build step falling to cache-restore time on a warm cache.check:generated --fixwrites artifacts from a turbo CACHE-SERVED dist and then reports 「All 16 generated artifacts are up to date」 — a verifier reporting success over a measurement it did not take #19086 (a step that writes artifacts from a cache-served dist must not be among those served) and turbo: build hashes do not cover five root inputs the builds read (tsup-drop-sources-content, scaffold policy + cli init.ts, three build-time check scripts) — stage-2 precondition of the remote cache #21193 (the build hash covers every root input the builds read, so a cache hit is a correct hit).dist/from Build Core consumed by the typecheck jobs; the PR states which route landed and why.Generated by Claude Code