Skip to content

ci: lock the isolated consumer type toolchain - #123

Merged
vincentkoc merged 2 commits into
mainfrom
ci/lock-consumer-type-tools
Nov 20, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
ci/lock-consumer-type-tools

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Nov 20, 2026 •

Copy link
Copy Markdown
Member

Summary

Install the isolated declaration-checking tools with npm ci against a dedicated lockfile. TypeScript 7.0.2 and @types/node 26.6.3 remain exact. The lock records integrity for all 20 TypeScript platform packages and the same transitive Node type dependency. The constrained-memory image uses the same manifest and lock. Changes to either the project lock or the toolchain lock give CI a new npm download-cache key.

In a replay with equivalent npm caches aged by one day, the previous install revalidated 23 registry metadata entries. With a lockfile, the compiler installed and ran from four cached tarballs with zero registry metadata entries.

Compatibility

The production-only consumer still performs a fresh npm install. The declaration probe still checks the installed compiler and Node types versions and runs with skipLibCheck disabled. The fresh consumer, registry signature checks, release jobs, resource limits and network isolation keep their existing settings.

Verification

  • All 388 runnable local tests passed after integrating the current main branch. Two platform-specific cases were skipped.
  • The packed offline consumer passed its runtime, MCP, declaration and rollback checks.
  • All 23 tool packages carry SHA-512 integrity and public npm registry URLs. The offline tarball-only fixture installed the compiler in 313 ms and reported TypeScript 7.0.2.
  • actionlint accepted the workflow with the existing xcode-27 runner label configured.

@clawsweeper

clawsweeper Bot commented Nov 20, 2026

Copy link
Copy Markdown

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

@vincentkoc
vincentkoc merged commit 453e165 into main Nov 20, 2026
9 of 10 checks passed
@vincentkoc
vincentkoc deleted the ci/lock-consumer-type-tools branch November 20, 2026 16:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant