Commit Graph

1167 Commits

Author SHA1 Message Date
Osvaldo Ortega
d2bdbb63e6 Merge pull request #298392 from microsoft/copilot-worktree-2026-02-27T00-36-54
Add agent sessions functionality and corresponding tests
2026-03-10 18:24:42 -07:00
Osvaldo Ortega
e6e173c830 display 2026-03-10 17:26:16 -07:00
Osvaldo Ortega
6db7214593 npm i 2026-03-10 17:07:09 -07:00
Osvaldo Ortega
68a4e6dd69 transpile 2026-03-10 16:36:06 -07:00
Osvaldo Ortega
82e5207443 npm i 2026-03-10 16:20:04 -07:00
Josh Spicer
d8b77d0c59 sessions: Update create-pr prompt and add sessions developer agent (#300575)
* Add sessions.md for Sessions Window Developer instructions and tools

* Remove unnecessary tools section from Sessions Window Developer documentation

* Clarify developer role description in sessions.md
2026-03-10 16:12:17 -07:00
Osvaldo Ortega
2b1926511a ignore scripts 2026-03-10 15:58:40 -07:00
Osvaldo Ortega
da5b9e899c CI 2026-03-10 15:53:16 -07:00
Matt Bierner
0cd1e5976a Disable api-version-check for now
Needed to unblock #300477
2026-03-10 10:22:07 -07:00
Alex Ross
4198c6b4c4 Try fix workflow list (#300458)
* Try fix workflow list

* Fix API name again.
2026-03-10 16:30:39 +01:00
Alex Ross
54b762dd84 Rerun the failed API version check (#300443)
* Rerun the failed API version check

* CCR comments
2026-03-10 14:59:01 +01:00
Alex Ross
cba3c7aac7 Add API proposal version check (#300392)
* Add API proposal version check

* CCR feedback

* Test with version bump

* Comment improvements

* Undo test version bump

* More comment improvement
2026-03-10 12:52:52 +01:00
Henning Dieterichs
74c765017e Disable screenshots until time out bug is fixed (#300293) 2026-03-10 00:52:12 +00:00
Josh Spicer
975cdcf8fe policy: DeprecatedEditModeHidden (#300290)
* Add 'DeprecatedEditModeHidden' policy

* Add 'add-policy' skill
2026-03-10 00:38:04 +00:00
Henning Dieterichs
1b0e9461de groups component explorer updates 2026-03-06 19:05:28 +01:00
Benjamin Pasero
9495e313c0 sessions - clarify instructions around compiling and testing (#299255) 2026-03-04 11:45:50 -08:00
Benjamin Pasero
0d35e5d19e eng - explain fallback for how to check for compilation issues fast in CLI envs (#299117)
* eng - explain fallback for how to check for compilation issues fast in CLI envs

* Update .github/copilot-instructions.md

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

* Update .github/copilot-instructions.md

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

* .

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 07:51:24 +01:00
Benjamin Pasero
06c96dcab4 sessions - AI customizations for selfhost (#299053)
* sessions - AI customizations for selfhost

* more

* Update .github/hooks/hooks.json

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

* Update .github/skills/sessions/SKILL.md

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-03-04 05:56:19 +01:00
dependabot[bot]
3eab7b9d79 Bump actions/upload-artifact from 4 to 7 (#298952)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2026-03-03 09:32:24 -08:00
Henning Dieterichs
42cdbe270e configures dependabot to automatically update component explorer 2026-03-03 14:01:06 +01:00
Benjamin Pasero
8c6874835d sessions - updates to selfhost setup (#298943)
* sessions - updates to selfhost setup

* document more hooks
2026-03-03 04:39:31 -08:00
Henning Dieterichs
cd41bf1fe1 Updates component explorer 2026-03-03 12:57:45 +01: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
Alexandru Dima
479f1b02bc Update Kusto instructions (#298447) 2026-02-28 16:11:45 +01:00
Henning Dieterichs
5428850858 fixes screenshot status (#298303) 2026-02-27 18:04:49 +00:00
Henning Dieterichs
3272ea62f3 updates screenshot pipeline & baseline 2026-02-27 17:58:11 +01:00
Josh Spicer
28a550e634 sessions: tweaks to customizations (#298155)
* add hook for sessions selfhosting

* Fix section selection, list refresh, commit guard, hooks display, count races

- selectSectionById: inline all state updates to avoid race with onDidChangeSelection
- goBackToList: refresh list to show newly created files
- goBackToList: only auto-commit if editor content was actually modified
- Hooks: parse individual hooks from files, show hook type labels and commands
- Hooks: show (unset) for empty hook commands
- Toolbar: use MODAL_GROUP when opening editor in sessions
- Overview: use MODAL_GROUP when opening editor in sessions
- Toolbar: add _updateCountsRequestId guard to prevent stale count renders
- SessionsViewPane: subscribe to activeProjectRoot for total count updates
- List widget: add IFileService + IPathService for hook file parsing

* Fix hook parsing: use JSONC parser and async userHome

- Replace JSON.parse with parseJSONC to handle comments/trailing commas
- Use await pathService.userHome() instead of preferLocal for remote compat
- Match the pattern used in promptsServiceImpl.ts getHooks()
2026-02-26 20:42:37 -08:00
dependabot[bot]
f59869f7c6 Bump actions/checkout from 4 to 6 (#297973)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 6.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Raymond Zhao <7199958+rzhao271@users.noreply.github.com>
2026-02-27 00:29:06 +00:00
dependabot[bot]
cfc0b71fbf Bump actions/setup-node from 4 to 6 (#297974)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 6.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v6)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

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:15 -08:00
Henning Dieterichs
0a01b4f5ae Fixes vite warnings & improves pipeline 2026-02-26 21:03:52 +01:00
Joaquín Ruales
a6bb8ac865 Add browserView folders to CODENOTIFY (#297858)
* Add Integrated Browser section to CODENOTIFY

* Integrate entries
2026-02-26 08:06:28 -08:00
Henning Dieterichs
96baba2cc4 feat: update component explorer dependencies and add new test fixtures
- Updated @vscode/component-explorer to version 0.1.1-16 and @vscode/component-explorer-cli to version 0.1.1-12 in package.json and package-lock.json.
- Added new test fixtures for chat question carousel, code action list, find widget, inline completions extras, rename widget, and suggest widget.
- Implemented rendering logic for new fixtures to enhance testing capabilities for various components.
2026-02-26 15:30:23 +01:00
Rob Lourens
b6f27b3e0a Add note to data agent about checking vpn (#297708) 2026-02-25 15:58:44 +00:00
Harald Kirschner
05cd5b7ca4 Add memory leak audit skill for AI coding agents (#293292) 2026-02-23 16:06:31 -08:00
Henning Dieterichs
07e303015d dont fail ci for external PRs (#297124) 2026-02-23 15:00:11 -08:00
Henning Dieterichs
5c4204e60d updates component explorer 2026-02-23 22:44:44 +01:00
digitarald
eeed167f07 Plan prompt is now built-in 2026-02-23 08:48:14 -08:00
Benjamin Pasero
b482c86053 chat - update instructions (#296995)
* chat - update instructions

* Update .github/copilot-instructions.md

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-23 15:25:06 +00:00
Henning Dieterichs
89cd7ec4bb adds screenshot status with url, updates skill 2026-02-23 13:28:43 +01:00
Henning Dieterichs
e50a372498 Post url to review screenshots 2026-02-23 12:50:38 +01:00
Henning Dieterichs
155c18ecfc updates component explorer (#296938)
* updates component explorer

* updates package.json

* fix screenshot CI: install build/ dependencies for jsonc-parser

* sets relative base

* updates lockfile
2026-02-23 11:44:35 +01:00
Harald Kirschner
c760ee7f43 Update proposed API versioning instructions (#293291) 2026-02-22 05:03:57 +00:00
Benjamin Pasero
c442c75023 sessions - tweaks to use of modal editors (#296698)
* sessions - tweaks to use of modal editors

* ccr

* ffs

* ffs

* ffs
2026-02-21 09:23:01 +01:00
Benjamin Pasero
73e3dbe7a2 sessions - adopt modal editor support from core (#296585)
* sessions - adopt modal editor support from core

* Update src/vs/workbench/services/editor/test/browser/modalEditorGroup.test.ts

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

* Update .github/skills/agent-sessions-layout/SKILL.md

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

* Update src/vs/workbench/services/editor/common/editorGroupFinder.ts

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2026-02-20 19:47:52 +00:00
Henning Dieterichs
a9c01a08a3 updates github action check 2026-02-20 19:57:07 +01:00
Henning Dieterichs
e8f4c461f1 updates screenshot-test.yml 2026-02-20 19:57:07 +01:00
Henning Dieterichs
a74a86e1f9 fix: rm stale lockfile for build/vite in CI (platform-specific bindings) 2026-02-20 19:57:07 +01:00
Henning Dieterichs
669def0eca update 2026-02-20 19:57:07 +01:00
Henning Dieterichs
424ea5b801 fixes ci 2026-02-20 19:57:07 +01:00
Henning Dieterichs
2751fb4d2f adds component explorer 2026-02-20 19:57:07 +01:00