Commit Graph

17269 Commits

Author SHA1 Message Date
cathaysia
43755b4762 fix(json.schemaDownload.trustedDomains): avoid always update json.sch… (#298423)
fix(json.schemaDownload.trustedDomains): avoid always update json.schemaDownload.trustedDomains

Signed-off-by: loongtao.zhang <loongtao.zhang@outlook.com>
2026-03-02 10:19:12 +00:00
Ladislau Szomoru
39cd99fe01 Git - add commands to copy information in the repositories view (#298558) 2026-03-01 17:38:47 +01:00
Lee Murray
e46f6f29f8 Merge pull request #297703 from microsoft/mrleemurray/custom-menu-update
Add separator option to select box
2026-03-01 08:27:13 +00:00
João Moreno
d2f1f7ce97 Inline Compile & CompileCLI stages into platform specific jobs (#296006)
* chore: ralph loop checkpoint - 2026-02-17 12:48

* fix shell script

* Inline compile stage into platform jobs

Remove the standalone Compile stage from the ADO pipeline. Each
platform job (Windows, Linux, macOS, Alpine, Web) now compiles
TypeScript itself instead of downloading a shared Compilation artifact.

- Add VSCODE_RUN_CHECKS parameter to Linux jobs for hygiene/lint/CG
- Add VSCODE_RUN_COMPILE_EXTRAS parameter to macOS jobs for telemetry
  extraction and sourcemap upload
- Remove VSCODE_COMPILE_ONLY parameter entirely
- Delete product-compile.yml (no longer referenced)

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

* Always run telemetry extraction on macOS builds

The macOS Universal app merge requires both x64 and arm64 builds to have
identical file sets. Telemetry extraction was only running on arm64 (via
VSCODE_RUN_COMPILE_EXTRAS), causing the universal merge to fail due to
missing telemetry-core.json and telemetry-extensions.json in the x64 build.

Move telemetry extraction outside the VSCODE_RUN_COMPILE_EXTRAS gate so
it runs on all macOS builds. Sourcemap upload remains gated.

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

* Run telemetry extraction on all client builds

All client builds (Linux, Windows, macOS) need telemetry-core.json and
telemetry-extensions.json. Previously only macOS arm64 ran extract-telemetry.

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

* Only run telemetry extraction on Linux x64 (client build)

Linux arm64 and armhf are server-only builds, no need for telemetry files.

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

* Remove .ralph scaffolding files

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

* Fix telemetry extraction on Windows with native PowerShell

The bash extract-telemetry.sh script fails on Windows because the Unix
bin shim gets interpreted as Node.js code. Use a native PowerShell
implementation that calls the extractor JS entry point directly.

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

* Handle missing telemetry files gracefully on Windows

The telemetry extractor may skip emitting declarations-resolved.json
when no events are found. Handle this case with a warning instead of
failing the build.

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

* Use deterministic build date from git commit timestamp

When each platform compiles independently, the build date embedded in
cli.js (via INSERT_PRODUCT_CONFIGURATION) differs between machines
because each uses new Date().toISOString(). This causes the macOS
Universal app merge to fail since cli.js SHA differs between x64/arm64.

Fix: use the git commit date (git log -1 --format=%cI HEAD) instead
of the current wall-clock time. This ensures all independent builds
on different machines produce identical timestamps.

Updated in:
- build/lib/date.ts: writeISODate() uses git commit date
- build/next/index.ts: bundle(), transpile, and readISODate fallback
  all use git commit date

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

* Remove redundant extensions-ci task from CI pipelines

core-ci (esbuild path) already includes cleanExtensionsBuildTask,
compileNonNativeExtensionsBuildTask, and compileExtensionMediaBuildTask.
Running extensions-ci in parallel caused a race condition where
core-ci's rimraf of .build/extensions clashed with extensions-ci
writing to the same directory.

Also removes dead code:
- extensions-ci and extensions-ci-pr task definitions (fully subsumed)
- core-ci-old task (useEsbuildTranspile is always true)

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

* remove VSCODE_RUN_COMPILE_EXTRAS

* address PR feedback regarding code duplication of `getGitCommitDate()` function by exporting a single helper function from `build/lib/date.ts` and importing it in `build/next/index.ts` to ensure consistent behavior and improve code maintainability.

* update readISODate function to return git commit date instead of current date

* add telemetry sorting script and integrate into build process for consistent output

* refactor telemetry extraction process: replace shell script with TypeScript implementation

* update skill

* update telemetry-extractor dependency to version 1.19.0

* fix build

* fix more duplicate telemetry definition issues

* cleanup

* refactor: consolidate validation checks into quality checks and remove obsolete tasks

* bust the cache

* undo cache bust

* fix expression

* fix

* fix: update Azure storage account name in quality checks

* fix: initialize stages set with 'Quality'

* fix: add VSCODE_BUILD_TYPE parameter with options for Product and CI builds

* fix: update Azure Pipeline CLI to use parameters instead of variables for queueing builds

* fix: update VSCODE_BUILD_TYPE parameter values for clarity

* fix: update default value for VSCODE_BUILD_TYPE parameter to 'Product'

* leaner

* even leaner

* only npm ci in build

* 💄

* run entire npm ci

* fix

* fix

* fix it

* Inline CompileCLI into platform stages

- Remove centralized CompileCLI stage
- Move CLI jobs into Windows, Linux, macOS stages as independent jobs
- CLI jobs now compile, publish unsigned mid-job, sign, and publish signed
- Platform compile jobs use deemon + waitForArtifacts for async CLI download
- Delete separate CLI sign jobs (now merged into CLI compile jobs)
- Remove CompileCLI from publish.ts stage tracking

* fix: macOS CLI signing - use proper directory structure for ESRP

* fix: add BUILDS_API_URL to Windows and Linux job templates

* fix: label Linux CLI jobs clearly

---------

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: João Moreno <22350+joaomoreno@users.noreply.github.com>
2026-03-01 08:48:08 +01:00
Benjamin Pasero
fe85be6c2d Merge branch 'main' into mrleemurray/custom-menu-update 2026-03-01 08:08:21 +01:00
Ladislau Szomoru
f06f86226b Git - file-system provider should open the repository if not already opened (#297783)
* Git - file-system provider should open the repository if not already opened

* Git - only open the repository in the empty/session window

* Add logging
2026-02-28 17:49:43 +01:00
dependabot[bot]
182ee88b48 Bump minimatch from 10.2.2 to 10.2.4 in /extensions/css-language-features (#298308)
Bump minimatch in /extensions/css-language-features

Bumps [minimatch](https://github.com/isaacs/minimatch) from 10.2.2 to 10.2.4.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v10.2.2...v10.2.4)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 10.2.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 18:31:14 +00:00
dependabot[bot]
0005b2dcc9 Bump minimatch from 10.2.2 to 10.2.4 in /extensions/json-language-features (#298307)
Bump minimatch in /extensions/json-language-features

Bumps [minimatch](https://github.com/isaacs/minimatch) from 10.2.2 to 10.2.4.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v10.2.2...v10.2.4)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 10.2.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 18:24:26 +00:00
dependabot[bot]
d013e8cdaa Bump minimatch from 5.1.6 to 5.1.7 in /extensions/npm (#297523)
Bumps [minimatch](https://github.com/isaacs/minimatch) from 5.1.6 to 5.1.7.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v5.1.6...v5.1.7)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 5.1.7
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 18:01:18 +00:00
dependabot[bot]
df40d0e363 Bump minimatch from 3.1.2 to 3.1.3 in /extensions/markdown-language-features (#297527)
Bump minimatch in /extensions/markdown-language-features

Bumps [minimatch](https://github.com/isaacs/minimatch) from 3.1.2 to 3.1.3.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v3.1.2...v3.1.3)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 3.1.3
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-27 17:59:58 +00:00
Benjamin Pasero
77044e33d8 sessions - specific auth branding for auth redirect (#298277) 2026-02-27 16:22:14 +00:00
Benjamin Pasero
7027856936 sessions - allow callback scheme in auth (#298270) 2026-02-27 15:27:08 +00:00
Benjamin Pasero
8f0ea5c65c sessions - shorter button for PR open/create (#298257) 2026-02-27 16:11:16 +01:00
mrleemurray
7325d2b95a update syntax colors for 2026 theme in dark and light modes
Co-authored-by: Copilot <copilot@github.com>
2026-02-27 12:02:02 +00:00
mrleemurray
ea2dc89c51 fix: update border colors and remove unnecessary shadows in 2026 Light theme 2026-02-27 11:10:40 +00:00
Osvaldo Ortega
2c7d2ca665 Merge pull request #298110 from microsoft/copilot-worktree-2026-02-26T19-05-36
Sessions window: open pull request if created
2026-02-26 17:06:10 -08:00
Osvaldo Ortega
756602da18 Set GitHub context for open pull requests based on session resolution 2026-02-26 16:26:55 -08:00
dependabot[bot]
7b33d47baf Bump minimatch from 10.0.3 to 10.2.4 in /extensions/html-language-features (#298010)
Bump minimatch in /extensions/html-language-features

Bumps [minimatch](https://github.com/isaacs/minimatch) from 10.0.3 to 10.2.4.
- [Changelog](https://github.com/isaacs/minimatch/blob/main/changelog.md)
- [Commits](https://github.com/isaacs/minimatch/compare/v10.0.3...v10.2.4)

---
updated-dependencies:
- dependency-name: minimatch
  dependency-version: 10.2.4
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-02-26 15:48:01 -08:00
Osvaldo Ortega
c040dd4b13 Refactor pull request handling to open repository page on API failure and update command to open pull request 2026-02-26 15:18:43 -08:00
Osvaldo Ortega
19a12a4ff3 Update pull request state handling to include all states in checks 2026-02-26 15:16:05 -08:00
Osvaldo Ortega
7c32c58bbd Remove 'state: open' from pull request creation and check functions 2026-02-26 15:09:54 -08:00
Osvaldo Ortega
c4f26872d1 Add command to check for open pull requests and refactor session repository resolution 2026-02-26 15:08:16 -08:00
Osvaldo Ortega
6ce4655c56 enable virtual workspaces capability in package.json 2026-02-26 14:54:56 -08:00
Osvaldo Ortega
68f9ece10a add logging for activation in GitHub extension 2026-02-26 14:48:20 -08:00
Osvaldo Ortega
abf18a18fc Refactor code structure for improved readability and maintainability 2026-02-26 14:40:52 -08:00
Matt Bierner
a453d99821 Port git extension to use esbuild
Fixes #296355
2026-02-26 14:10:15 -08:00
Osvaldo Ortega
0d0acbcde2 remove unnecessary context setting for open pull request in createPullRequest function 2026-02-26 11:58:29 -08:00
Osvaldo Ortega
21049d3dc8 add openPullRequest command and update related logic in GitHub extension 2026-02-26 11:55:52 -08:00
David Dossett
a6bcce17ed Align custom menu styling with chat picker visuals 2026-02-26 10:04:34 -08:00
mrleemurray
b9afe180fa enhance notifications styling for reduced transparency mode
Co-authored-by: Copilot <copilot@github.com>
2026-02-26 17:55:00 +00:00
mrleemurray
4dec73ed63 enhance defineKeybindingWidget styles with important flags for shadow and background color 2026-02-26 17:43:45 +00:00
mrleemurray
0371658b57 fix: improve notification styles and adjust shadow properties 2026-02-26 15:33:54 +00:00
Benjamin Christopher Simmonds
e30f28558f feat: add clone repository option to folder picker (#297995) 2026-02-26 14:59:13 +01:00
mrleemurray
0d6dd5d5d5 fix: add missing semicolon in sticky widget background style 2026-02-26 11:54:43 +00:00
mrleemurray
494df680c8 fix: add missing semicolon in sticky widget background style 2026-02-26 11:54:27 +00:00
mrleemurray
b75d9899e6 feat: enhance dropdown and sticky widget styles with improved shadows and backgrounds 2026-02-26 11:41:35 +00:00
David Dossett
a57eec6e74 Use icon.foreground color for titleBar.activeForeground in 2026 themes (#297494) 2026-02-25 23:00:26 +00:00
Paul
c1ecf2f791 Fix seti icon build script (#297749) 2026-02-25 19:57:45 +01:00
Lee Murray
8d1f10b0b8 Apply suggestion from @Copilot
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-25 17:13:26 +00:00
mrleemurray
b595f2b94c Add depth shadows for panels in the editor to enhance UI layering
Co-authored-by: Copilot <copilot@github.com>
2026-02-25 16:08:31 +00:00
Matt Bierner
136e80015a Merge pull request #297513 from mjbvz/dev/mjbvz/competitive-aardvark
Align js/ts extension name
2026-02-24 17:11:56 -08:00
Matt Bierner
06518a468d Merge pull request #297490 from mjbvz/dev/mjbvz/copilot/update-package-json-config-names
Update package json config names
2026-02-24 16:01:01 -08:00
Matt Bierner
8979069f1d Align js/ts extension name
Fixes #297310

Matches the new setting scope as well as the terms we often use in product
2026-02-24 14:23:04 -08:00
Matt Bierner
88f25bc452 Add reference support too 2026-02-24 14:20:38 -08:00
Matt Bierner
ef748e3095 Add definition support for nls strings in package.json
Fixes #297496
2026-02-24 13:29:21 -08:00
Matt Bierner
6c446ea94e Support old settings too for now 2026-02-24 12:55:16 -08:00
Dmitriy Vasyura
e395fe2993 Finalize env.isAppPortalable API proposal (#297177) 2026-02-24 11:43:00 -08:00
copilot-swe-agent[bot]
679854a7c5 Update package.json to reference new unified setting name config.js/ts.experimental.useTsgo
Co-authored-by: mjbvz <12821956+mjbvz@users.noreply.github.com>
2026-02-24 19:35:24 +00:00
mrleemurray
957feb5551 fix(theme): adjust editor selection colors for better visibility 2026-02-24 15:16:22 +00:00
mrleemurray
dd60b6da77 fix(theme): update editor selection colors for improved visibility 2026-02-24 15:10:46 +00:00