Commit Graph

35 Commits

Author SHA1 Message Date
João Moreno
8efe757281 cleanup collaborators list (#321369) 2026-06-21 18:33:46 +00:00
Alexandru Dima
37e7e85b10 Optimize node_modules caching for CI & PR checks (#322074)
* CI: speed up node_modules cache with zstd + shared scripts

Switch the Linux/macOS node_modules cache from single-threaded gzip
(tar -czf) to multi-threaded zstd. The "Create node_modules archive"
step was spending ~5min of single-core gzip on a multi-GB tree on every
cache miss; zstd -T0 uses all cores and decompresses much faster, so
cache-hit jobs benefit too. Windows stays on 7-Zip (already threaded).

Extract the archive/extract commands into shared per-platform scripts
under .github/workflows/node_modules_cache/ (cache.sh / cache.ps1, each
dispatching on an archive|extract argument) so the format and flags live
in one place instead of being duplicated across ~8 workflows. Bump
build/.cachesalt to invalidate existing gzip caches.

Also remove the obsolete extensions/copilot CI workflows
(copilot-setup-steps.yml, ensure-node-modules-cache.yml, pr.yml) and the
unused build/listBuildCacheFiles.js, and drop their now-stale entries
(plus lit-html and signals-core) from .eslint-allowed-javascript-files.

* ci: seed copilot node_modules cache on main and rename cache keys

Add copilot-linux and copilot-windows jobs to pr-node-modules.yml so the
copilot node_modules cache is populated on main. Rename the copilot cache
keys to copilot-node_modules-linux / copilot-node_modules-windows in pr.yml.

* ci: extract node_modules cache into composite actions

Factor the repeated node_modules cache plumbing into two local composite
actions, restore-node-modules and save-node-modules, and migrate all
workflows that used the cache.sh/cache.ps1 archive flow (pr, pr-node-modules,
pr-{linux,darwin,win32}-test, copilot-setup-steps, component-fixtures,
css-order-scan).

- restore-node-modules computes the key, restores the cache, optionally
  extracts on a hit, and exports the resolved key via $GITHUB_ENV.
- save-node-modules archives node_modules and saves it to the cache, reusing
  the key exported by restore so callers don't repeat the prefix.
- Bespoke install steps stay in the workflows, so per-job env/secrets never
  cross the action boundary.
- Only seed the cache on branch pushes (component-fixtures skips PRs, whose
  caches aren't shared).

* save the node_modules cache for now to test it

* ci: fix node_modules cache save dropping the archive

cache.sh wrote its archive as cache.tzst, but actions/cache reserves that
name for its own tarball and passes --exclude cache.tzst, so our archive was
excluded and an empty (~200 B) cache was saved on Linux/macOS. Rename the
archive to node-modules.tzst and bump build/.cachesalt to invalidate the
broken cache entries.

* empty commit

* Remove again saving to the node modules cache from PR steps
2026-06-19 17:21:43 +02:00
Ulugbek Abdullaev
7a466cc0a2 chat-lib release: add auto option to pick version from copilot's package.json (#319696)
chat-lib release: add 'auto' option to pick version from copilot's package.json

Adds an 'auto' choice to the nextVersion parameter that publishes
whatever version is already in chat-lib/package.json (which
build-chat-lib.yml syncs from extensions/copilot/package.json),
so releasers no longer have to type the version manually.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-06-09 16:10:25 +02:00
Alex Dima
4bfaf550c1 Cache at root level to capture node_modules from the root and from the build folder too 2026-06-06 12:07:56 +02:00
Alex Dima
d0aa1042fb Remove unused emsdk setup 2026-06-06 10:28:55 +02:00
Alex Dima
518cb7ea25 Delete unused build definitions 2026-06-06 10:28:22 +02:00
Raymond Zhao
38c912eb7d fix(ci): Copilot build uses public registry (#319982)
* fix(ci): Copilot build uses public registry

* Add Windows-specific steps
2026-06-04 13:49:05 -07:00
Raymond Zhao
3aeae51bd2 chore: add copilot tag prefix (#311416)
Co-authored-by: Copilot <copilot@github.com>
2026-04-20 11:17:34 -07:00
Christof Marti
57c365ca77 Consolidate chat-lib pipelines 2026-04-16 18:44:24 +02:00
Christof Marti
1482ee8d60 Fix chat-lib pipeline 2026-04-16 18:44:24 +02:00
Christof Marti
2a4ba76926 Publish after extension (#4517) 2026-03-19 08:41:33 +00:00
Sandeep Somavarapu
bc9d6a1b3d Publish VSIX as GitHub release asset (#4254)
Adopt microsoft/vscode-engineering#2009 to attach signed VSIX files
as release assets when publishing.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
2026-03-06 16:57:14 +00:00
Bryan Chen
6f1d87bfa4 upload source maps on release (#3416)
* generate source maps

* feat: add source map upload functionality to Azure Blob Storage

* feat: implement Azure CLI task for uploading source maps and update package.json

* feat: update source map upload process to include extension ID in CDN path

* Use template uploadSourceMaps instead of custom script

- Remove uploadSourceMaps.ts script (template handles upload now)
- Remove @azure/storage-blob dependency
- Remove upload-sourcemaps npm script
- Update pre-release.yml and release.yml to use template's uploadSourceMaps parameter

* Add processLocalization parameter to pre-release pipeline

- Allows skipping localization (GetEnglishStrings/PushEnglishStrings) for test runs
- Defaults to true to maintain existing behavior

* Apply suggestion from @Copilot

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-04 00:47:39 +00:00
Ladislau Szomoru
00cc1f3ff3 Engineering - update pre-release schedule (#2996) 2026-01-20 09:50:36 +00:00
Ladislau Szomoru
1f58e6c753 Engineering - add pipeline option (#2845) 2026-01-14 10:06:49 +00:00
Don Jayamanne
ffc1496612 Ensure version of node is in sync with that in vscode repo (#2706)
* Ensure version of node is in sync with that in vscode repo

* Update other verions
2026-01-05 21:10:20 +00:00
Matt Bierner
36e2cfc997 Run local eslint rules directly as typescript (#2312)
* Run local eslint rules directly as typescript

Remove the need to use `tsx`

* Bump required node version

Matches the version we use in vscode repo

* Align node versions

* Always use `/`

* Try fixing windows

* Try another fix for windows

* Fix new rule after merge
2025-12-05 17:29:11 +00:00
Christof Marti
8aaacb4574 Reenable macOS (#2110) 2025-11-20 14:43:00 +00:00
Christof Marti
896727389f Avoid build failure due to macos-13 deprecation (#1933) 2025-11-11 21:56:59 +00:00
Dirk Bäumer
43d1664c91 Add completions core tests to pre-release and release pipeline (#1652)
* Add completions core test to release and pre-release pipeline

* name -> script

* Use correct script
2025-10-27 10:41:59 +00:00
Kyle Cutler
0e5024fea8 Add new collaborators in PR cache check (#1582)
* Add new collaborators

* Re-add collaborators after merge
2025-10-24 15:30:14 +00:00
João Moreno
1a5a5f6d43 use live collaborators list (#1583)
alternative to #1582
2025-10-24 14:06:58 +00:00
kieferrm
e03641355c Hello Copilot (#1493)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-10-22 12:19:15 +02:00
Christof Marti
1fa1cbaffd Nightly prerelease (#1467) 2025-10-21 15:40:59 +00:00
Christof Marti
c926ff47f4 Add display names (#1460) 2025-10-21 10:02:02 +00:00
João Moreno
e006e9eb54 use distro instead of implied auth token (#1302) 2025-10-13 15:46:55 +00:00
Benjamin Christopher Simmonds
beb72d8aa0 remove --depth 1 from main branch too (#1209) 2025-10-01 12:42:13 +00:00
Christof Marti
da801157c6 Fix chat-lib build (#854)
* Fix for Windows

* Windows paths

* All platforms

* bash
2025-08-31 19:04:14 +00:00
Christof Marti
a35be0b3b2 Install Node.js 22.x (#849) 2025-08-30 20:22:55 +00:00
Ladislau Szomoru
768b9c3864 Chat - update pipeline template (#834) 2025-08-29 15:12:16 +00:00
Christof Marti
3b795b1e58 Extract @vscode/chat-lib (#807)
* Extract chat lib

* Extract chat lib

* Add test

* Get test working

* Simulate response

* Fix type issue

* Package

* Cleanup

* Tuck away workspace service

* Include package.json

* Ensure shim is used

* Include tiktoken files in package

* Update @vscode/copilot-api

* Ignore chat-lib
2025-08-29 14:41:27 +00:00
Alexandru Dima
e408068c6a Ship completions code (#724)
* wip: clone copilot-client to src

* ok

* use fork of completions

* ok

* refactor: update pre-release pipeline to mixin completions core repo and clean up files

* add to gitignore

* add conditions

* move completions core commit to package.json

* GhostTextProvider behind exp

* update to latest completions core

* Add completions-core to ignore

* No need to remove esbuild.ts anymore

* update release yml

* No need to remove esbuild.ts

---------

Co-authored-by: João Moreno <joaomoreno@users.noreply.github.com>
Co-authored-by: BeniBenj <besimmonds@microsoft.com>
2025-08-22 14:02:42 +00:00
Ladislau Szomoru
09f721961c Engineering - temporary fix for the collaborators check (#74) 2025-07-01 10:20:12 +00:00
João Moreno
4d5155221e fix pr check to use collaborators (#51) 2025-06-30 15:48:40 +00:00
kieferrm
333d9a4053 Hello Copilot
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
2025-06-27 11:35:20 +02:00