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
[Request]: cut duplicated CI work (double builds, node --check sweep, always-on jobs) #567
npm ci runs root prepare (build) and each job then runs npm run build again (ci.yml:104,128,176,217,264,308) across ~60 jobs per full run.
scripts/check.ts:4-16 spawns node --check for 278 files (~10 s) although ESLint/tsc cover the .ts files; it also walks examples/ without skipping dist/, and omits recipes/ and action/.
The container job runs on docs-only PRs (ci-plan.ts:109 "always").
workspace-verify runs 25 jobs per full PR; the daily cron (ci.yml:12) runs 9 legs.
Example-project tests (ci.yml:131-140) have no npm script, so contributors cannot reproduce them locally.
extension-artifacts.yml lacks timeout-minutes and concurrency; extension-bundles.yml lacks timeout-minutes; release.yml step numbering is inconsistent.
Proposed behavior and alternatives
Use npm ci --ignore-scripts + one explicit build (except build-fidelity); limit check.ts to files lint/tsc don't parse; gate container on the plan; merge small workspace-verify jobs and run them on Linux for 22/26; consider a weekly cron; add npm run test:examples; add timeouts/concurrency.
Landed in #596 (#596): CI jobs now install with --ignore-scripts and build once instead of twice; scripts/check.ts checks 65 files instead of ~280 (the old per-file node --check of .ts files wasn't actually checking anything, since node --check doesn't strip types — that's fixed too, and recipes/ and action/ are now covered); the container job is skipped on docs-only PRs while keeping its required-check name so verify-complete still gates correctly; added npm run test:examples; added timeouts and concurrency limits to extension-artifacts.yml and extension-bundles.yml.
Not done: merging the workspace-verify matrix jobs, running them Linux-only for Node 22/26, and moving to a weekly cron. Each of those would cut platform coverage or change what release-run.ts looks for in scheduled runs, so they need a maintainer decision. Leaving this issue open for that.
The remaining item (scoping/merging the workspace-verify matrix and cutting its always-on cost) landed directly in #609 (#609, "ci: scope workspace verification to releases") and #611 ("ci: scope expensive PR smoke checks"), both already on main. Workspace integration, container smoke and build-fidelity now scope to what actually changed and to explicit release dispatches instead of running on every PR. Combined with #596's earlier fix (install/build dedup, check.ts scoping, container gating on the docs lane), this closes out the issue.
Activity
ci: cut duplicated CI work and widen the core boundary check (#596)
jimhoyd commentedon Sep 24, 2026
Landed in #596 (#596): CI jobs now install with
--ignore-scriptsand build once instead of twice;scripts/check.tschecks 65 files instead of ~280 (the old per-filenode --checkof.tsfiles wasn't actually checking anything, sincenode --checkdoesn't strip types — that's fixed too, andrecipes/andaction/are now covered); thecontainerjob is skipped on docs-only PRs while keeping its required-check name soverify-completestill gates correctly; addednpm run test:examples; added timeouts and concurrency limits toextension-artifacts.ymlandextension-bundles.yml.Not done: merging the
workspace-verifymatrix jobs, running them Linux-only for Node 22/26, and moving to a weekly cron. Each of those would cut platform coverage or change whatrelease-run.tslooks for in scheduled runs, so they need a maintainer decision. Leaving this issue open for that.jimhoyd commentedon Sep 24, 2026
The remaining item (scoping/merging the
workspace-verifymatrix and cutting its always-on cost) landed directly in #609 (#609, "ci: scope workspace verification to releases") and #611 ("ci: scope expensive PR smoke checks"), both already on main. Workspace integration, container smoke and build-fidelity now scope to what actually changed and to explicit release dispatches instead of running on every PR. Combined with #596's earlier fix (install/build dedup, check.ts scoping, container gating on the docs lane), this closes out the issue.