Commit Graph

1626 Commits

Author SHA1 Message Date
Josh Spicer
975cdcf8fe policy: DeprecatedEditModeHidden (#300290)
* Add 'DeprecatedEditModeHidden' policy

* Add 'add-policy' skill
2026-03-10 00:38:04 +00:00
Matt Bierner
9086b47862 Temporarily restore webpack ext builds
Needed since https://github.com/microsoft/vscode/pull/298920 snuck in which brought back webpack for the github extension
2026-03-05 08:45:54 -08:00
Kyle Cutler
055382526d Browser style updates (#299221) 2026-03-04 16:36:36 +00:00
Matt Bierner
ffc4f9dcb3 Reapply 8e445caeff
Switching to a slightly older postcss version to avoid the official build issue
2026-03-03 10:57:52 -08:00
mrleemurray
985ce3841e refactor: reorganize shadow variables in theme styles for consistency
Co-authored-by: Copilot <copilot@github.com>
2026-03-03 10:59:00 +00:00
mrleemurray
a6e427ed1f refactor: update box-shadow styles across various components to use new shadow variables
- Replaced hardcoded box-shadow values with new CSS variables for consistency and improved theming.
- Updated styles in postEditWidget, findOptionsWidget, findWidget, floatingMenu, hover, parameterHints, peekViewWidget, renameWidget, stickyScroll, suggest, actionWidget, hover, quickInput, agentFeedback components, and more.
- Introduced new shadow variables: --vscode-shadow-sm, --vscode-shadow-md, --vscode-shadow-lg, --vscode-shadow-xl, and --vscode-shadow-hover for better control over shadow effects.

Co-authored-by: Copilot <copilot@github.com>
2026-03-03 10:47:14 +00:00
Matt Bierner
8e445caeff Revert "Remove remaining webpack references for building extensions"
This reverts commit 3d7cf10fd1.
2026-03-02 22:42:15 -08:00
Matt Bierner
3d7cf10fd1 Remove remaining webpack references for building extensions
All extensions now should be fully ported over to use esbuild instead of webpack
2026-03-02 15:07:39 -08: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 Christopher Simmonds
46664389f9 Merge pull request #297813 from microsoft/benibenj/spiritual-xerinae
Update button colors and animation for download progress
2026-02-26 03:22:09 +01:00
Robo
192a1b2478 chore: sessions entry app for windows (#297589)
* chore: enable sub app entrypoint on windows

* chore: update window icons

* chore: update gulp-electron

* chore: bump inno_updater

* chore: cleanup

* fix: inno compilation for stable

* chore: bump distro

* chore: bump distro
2026-02-25 23:08:43 +00:00
BeniBenj
561772d217 update animation and background color 2026-02-25 23:49:48 +01:00
Kyle Cutler
bc3b68862d Apply policy to browser tools setting (#297591)
* Apply policy to browser tools setting

* update policy jsonc
2026-02-25 09:34:50 -08:00
BeniBenj
1327aed903 feat: implement agent feedback submission with updated widget border and service integration 2026-02-25 13:33:21 +01:00
Megan Rogge
345315625d update yolo mode description to include autoReply link (#296097) 2026-02-19 18:26:57 +00:00
Matt Bierner
5a566c256d Merge pull request #295104 from microsoft/dev/mjbvz/esbuild-css
Use esbuild instead of webpack to bundle the css extension
2026-02-18 10:51:19 -08:00
Johannes Rieken
10d738ca3c Add cyclic dependency check script and tests (#296035)
* eng: add cyclic dependency check script and update workflow

* refactor: export classes and functions in checkCyclicDependencies for better accessibility; add comprehensive tests for cycle detection and file processing

* Update build/lib/checkCyclicDependencies.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-18 10:16:25 -08:00
Alex Ross
9ae007d1bb Prevent static contribution API file from getting line ending changes (#295962) 2026-02-18 10:53:11 +01:00
Matt Bierner
08534fdc69 Merge pull request #295812 from microsoft/dev/mjbvz/fix-295527
Try to align `scanBuiltinExtensions` with new esbuild changes
2026-02-17 15:55:03 -08:00
Alex Ross
d692656d9d Fix tsgo ext build problem matching (#295603)
* Fix tsgo ext build problem matching

* Update .vscode/tasks.json

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

* Fix double timestamp

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-17 14:50:48 -08:00
Matt Bierner
bf3b738a9f Try to align scanBuiltinExtensions with new esbuild changes 2026-02-17 10:01:30 -08:00
Alex Ross
7ff89864d6 Add list scroll right offset variable (#295741) 2026-02-17 16:23:22 +01:00
Benjamin Pasero
b1009c98bb Sessions exploration (#294912) 2026-02-17 14:14:39 +00:00
Matt Bierner
39ebcc7f34 Use esbuild instead of webpack to bundle the css extension
Switches from webpack to esbuild to bundle the css extension. Tested this locally in a browser and creating an official build to test the bundled extension still work correctly
2026-02-13 00:05:47 -08:00
Matt Bierner
97384371fa Fixing error reporting and resolution of jsonc 2026-02-12 14:14:56 -08:00
mrleemurray
56069ab826 Add compact layout support for Activity Bar with adjustable dimensions 2026-02-12 11:31:23 +00:00
Johannes Rieken
576ddceccc Merge pull request #294631 from microsoft/joh/successive-shrimp
Fix date reading logic in build scripts to handle missing files gracefully
2026-02-12 11:04:10 +01:00
Alex Ross
b56a8fd088 Make sure API team is aware of changes to contributes too (#294624) 2026-02-12 10:35:38 +01:00
Johannes Rieken
23e2c6b19d Merge branch 'main' into joh/successive-shrimp 2026-02-12 10:31:30 +01:00
Matt Bierner
5cc2b2a6f7 Merge pull request #294716 from microsoft/dev/mjbvz/more-esbuild-ext-cleanup
Clean up esbuilding of extensions
2026-02-11 19:30:35 -08:00
Paul
252f81c0f1 Update hook settings (#294732) 2026-02-11 16:51:35 -08:00
Matt Bierner
cb714c7c9f Addressing code review comments 2026-02-11 16:38:06 -08:00
Matt Bierner
03561955b7 Clean up esbuilding of extensions
- Make sure we still always type check using `tsgo --noEmit`
- Align names of esbuild files
- Convert all esbuild files to typescript. We use the `.mts` extension to avoid annoying node warnings about using pacakges
2026-02-11 14:57:16 -08:00
Johannes Rieken
f179dbde12 fix: resolve watcherPath definition for compatibility with ES modules (#294625) 2026-02-11 17:37:27 +00:00
Johannes
3e2e658fdd Fix date reading logic in build scripts to handle missing files gracefully 2026-02-11 18:36:13 +01:00
Johannes
2cb8fc3b9d Merge remote-tracking branch 'origin/main' into joh/esbuild-the-things 2026-02-11 09:52:59 +01:00
Matt Bierner
d434a65945 Use esbuild to pack the markdown extension for desktop and web (#294208)
* Try using esbuild to bundle our built-in extensions

Test switching to esbuild instead of webpack to bundle our buildin extensions. Setup so we can do this incrementally and starting with the markdown extension as a test

* Fix build ext media

* Fix .ts script name check

* Update comment

* Use ts for all scripts
2026-02-10 20:32:40 +00:00
Johannes
b8f398d0e4 Merge remote-tracking branch 'origin/main' into joh/esbuild-the-things
# Please enter a commit message to explain why this merge is necessary,
# especially if it merges an updated upstream into a topic branch.
#
# Lines starting with '#' will be ignored, and an empty message aborts
# the commit.
2026-02-10 14:55:55 +01:00
Matt Bierner
39009f2b37 Cleanup tsgo compile 2026-02-09 09:34:50 -08:00
Johannes
878df8b755 Refactor build system to support esbuild with new transpile and typecheck tasks 2026-02-06 11:36:52 +01:00
Johannes
67cd70d660 Merge branch 'main' into joh/esbuild-the-things 2026-02-06 10:08:20 +01:00
Benjamin Pasero
5bfd50175c Revert "chore: replace legacy watcher with @parcel/watcher for build file watching (#292803)" (#293152)
* Revert "ignore watch errors (#292873)"

This reverts commit 08f3997957.

* Revert "chore: replace legacy watcher with @parcel/watcher for build file watching (#292803)"

This reverts commit 82b251a409.
2026-02-05 16:49:17 +00:00
Johannes
1ab650b351 Merge branch 'main' into joh/esbuild-the-things 2026-02-05 17:35:18 +01:00
Josh Spicer
0561e9e261 Do not update agent status indicator bg color when debugging (#292905)
* do not update agent status inicator bg color when debugging

* actually this

* Add themeable agentStatusIndicator.background color to avoid debug override (#292944)

* Initial plan

* Add themeable agentStatusIndicator.background color to avoid debug override

Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: joshspicer <23246594+joshspicer@users.noreply.github.com>

* update known variables

---------

Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
2026-02-05 10:46:25 +01:00
João Moreno
08f3997957 ignore watch errors (#292873) 2026-02-04 17:31:19 +00:00
Johannes
ab64672887 Merge branch 'main' into joh/esbuild-the-things 2026-02-04 18:12:31 +01:00
Robo
b3669c244f ci: fix electron download from test steps (#292811)
* ci: fix electron download from test steps

* build: always repackage electron from oss entry scripts
2026-02-04 16:37:20 +01:00
Alex Ross
eff3b9aee5 BUILD: Revert "build: always repackage electron from oss entry scripts (#292770)" (#292812)
Revert "build: always repackage electron from oss entry scripts (#292770)"

This reverts commit fef6f5a081.
2026-02-04 11:41:42 +00:00
João Moreno
82b251a409 chore: replace legacy watcher with @parcel/watcher for build file watching (#292803) 2026-02-04 10:51:23 +00:00
Robo
fef6f5a081 build: always repackage electron from oss entry scripts (#292770)
* build: always repackage electron

* fix: policyExport.integrationTest.ts on windows
2026-02-04 11:00:45 +01:00