Skip to content

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

Description

@objectstack-fleet

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.

What is measured

  • lint.yml passes no TURBO_TOKEN / TURBO_TEAM / TURBO_REMOTE_CACHE_SIGNATURE_KEY (grep: 0 lines), so its three builds cannot hit the remote cache; ci.yml passes 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)").
  • Jobs API, step timestamps, pull_request runs 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.
    • Build Core: build packages 6.2 min.
    • Dogfood shards 2/3, 1/3, 3/3: build dogfood deps 5.4 / 5.2 / 3.8 min; Temporal: build driver-sql deps 1.7 and more.
    • 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.

Done when


Generated by Claude Code

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:devpathThe road — create, dev, verify, publish/install, connect an agent, iteratedomain:devxpriority:p2Medium: important, M3tooling

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions