352 Commits

Author SHA1 Message Date
Connor Peet
8910ce42f7 Merge pull request #299512 from danplischke/main
Add default-folder, default-workspace and disable-telemetry to serve-web CLI
2026-04-01 11:26:45 -07:00
Alex Ross
3c51a00d73 OSS tool (#306679) 2026-03-31 09:56:27 +00:00
Raymond Zhao
167b3b89a2 Merge branch 'main' into main 2026-03-26 14:07:44 -07:00
Johannes Rieken
46c65bcd05 run oss tool (#304416) 2026-03-24 12:05:30 +01:00
Rob Lourens
c82bc515c2 More specific log string for cli agent host proxy (#304339) 2026-03-24 14:14:44 +11:00
Connor Peet
b7462b4a00 Merge pull request #303597 from microsoft/connor4312/agent-host-server-fixups
agentHost: fixup build for server
2026-03-20 13:54:33 -07:00
dependabot[bot]
6ee1160198 Bump tar from 0.4.44 to 0.4.45 in /cli (#303573)
Bumps [tar](https://github.com/alexcrichton/tar-rs) from 0.4.44 to 0.4.45.
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.44...0.4.45)

---
updated-dependencies:
- dependency-name: tar
  dependency-version: 0.4.45
  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-03-20 13:28:16 -07:00
Connor Peet
5d5d0763fb fix build 2026-03-16 19:05:09 -07:00
Rob Lourens
4393d06a0f Skip quality check when VSCODE_CLI_OVERRIDE_SERVER_PATH is set and log agent host startup error 2026-03-13 15:36:45 -07:00
Connor Peet
60c18f38f6 auto updating agent host in the cli 2026-03-13 14:07:24 -07:00
Connor Peet
2da8aa0354 better command detection 2026-03-12 23:31:48 -07:00
Connor Peet
222bbd480e add agent-host command for cli 2026-03-12 23:31:40 -07:00
Johannes Rieken
176d771e8e run oss-tool, update distro (#299717) 2026-03-06 11:34:44 +01:00
Dan Plischke
b141217200 feat: add support for --default-folder, --default-workspace and --disable-telemetry in rust cli 2026-03-05 16:14:04 +01:00
Ben Villalobos
37f3964564 Run oss tool for 1.110 (before branch) (#298147)
* Run oss tool for 110 (before branch)

* Update distro hash
2026-02-27 02:42:11 +00:00
Robo
1bb7b74f67 chore: update cli dependency (#297618) 2026-02-25 07:44:49 +00:00
Dmitriy Vasyura
d0f203e76f Add Win32 metadata all executable binaries (#296710) 2026-02-24 09:29:02 +01:00
Ben Villalobos
1db94177ae Update OSS licenses and distro hash for 1.110 (#297088) 2026-02-23 13:55:06 -08:00
Ladislau Szomoru
4252a7a41f Engineering - switch to thin LTO (#295313) 2026-02-14 08:44:59 +00:00
Raymond Zhao
965d950c25 chore: run cargo update (#295062) 2026-02-13 10:58:40 -08:00
dependabot[bot]
c959e6409e Bump bytes from 1.6.0 to 1.11.1 in /cli (#292663)
Bumps [bytes](https://github.com/tokio-rs/bytes) from 1.6.0 to 1.11.1.
- [Release notes](https://github.com/tokio-rs/bytes/releases)
- [Changelog](https://github.com/tokio-rs/bytes/blob/master/CHANGELOG.md)
- [Commits](https://github.com/tokio-rs/bytes/compare/v1.6.0...v1.11.1)

---
updated-dependencies:
- dependency-name: bytes
  dependency-version: 1.11.1
  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-06 10:27:20 -08:00
Johannes Rieken
ea084045c1 oss tool (#291826) 2026-01-30 09:48:45 +00:00
Johannes Rieken
474d01ff60 OSS tool (#290481) 2026-01-26 18:32:29 +00:00
Johannes Rieken
4ed90f790d 3rd party notices (#286063) 2026-01-06 08:23:42 +00:00
Logan Ramos
4687600147 oss tool (#280470) 2025-12-02 00:12:19 +00:00
Josh Spicer
6cc2564bf9 remote: configurable 'reconnection grace time' (#274910)
* reconnection grace period prototype

* plumb through CLI

* polish

* Apply suggestions from code review

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

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-11-12 18:51:28 -08:00
Josh Spicer
b96e6d762c allow update endpoint in rs cli to be configurable by env var (#276761) 2025-11-11 10:23:39 -08:00
Christof Marti
4e9b8174e1 Run OSS tool 2025-11-03 19:33:06 +01:00
Matt Bierner
aa3730584d Run oss tool 2025-09-29 16:55:08 -07:00
Sandeep Somavarapu
c738ec6c40 run oss tool (#265291)
* run oss tool

* update distro
2025-09-05 08:25:46 +00:00
Sandeep Somavarapu
39512dc164 run oss tool (#264319) 2025-09-01 13:21:14 +02:00
Justin Wang
b0271fa725 Fix --commit-id flag for code serve-web (#258904)
* Fix --commit-id flag for code serve-web

Fixes a bug where passing --commit-id during `code serve-web` would
prevent serve-web from downloading a new version of the client at all.

* Update cli/src/commands/serve_web.rs

---------

Co-authored-by: Connor Peet <connor@peet.io>
2025-07-31 16:52:39 +00:00
Osvaldo Ortega
20de00cb1b OSS tool run for endgame 2025-07-28 10:34:40 -07:00
Copilot
90072b47cf Fix serve-web port randomization when --port 0 is specified (#254676)
* Initial plan

* Fix serve-web port randomization when --port 0 is specified

Co-authored-by: connor4312 <2230985+connor4312@users.noreply.github.com>

* Fix serve-web to display actual bound port instead of 0

When --port 0 is specified, the OS assigns a random port but the
logging was showing port 0 instead of the actual assigned port.
Fixed by reading the local_addr() from the server builder after binding.

Co-authored-by: connor4312 <2230985+connor4312@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: connor4312 <2230985+connor4312@users.noreply.github.com>
2025-07-22 13:35:24 -07:00
Justin Wang
b4d1fec915 Add commit_id option to ServeWebArgs for specific client version (#255494)
* Add commit_id option to ServeWebArgs for specific client version

* Don't start serve-web update checker if given commit-id
2025-07-14 06:12:36 +00:00
Alex Ross
855c8cb8ac Run OSS tool (#252952)
* Run OSS tool

* bump distro
2025-06-30 11:58:18 +02:00
S. M. Mohiuddin Khan Shiam
70f8e0e38f Fix incorrect SHA-1 commit regex in [version_manager.rs](cci:7://file:///d:/Github/vscode/cli/src/desktop/version_manager.rs:0:0-0:0) (#251329)
The CLI’s `RequestedVersion::Commit` parser rejected many valid commit hashes and allowed invalid ones due to an erroneous regular expression:

* **Old pattern:** `^[a-e0-f]{40}$`
  * Allowed non-hex characters outside the `a–f` range
  * Excluded the valid hex digit `f` and any uppercase letters
* **New pattern:** [(?i)^[0-9a-f]{40}$](cci:1://file:///d:/Github/vscode/cli/src/desktop/version_manager.rs:102:1-107:2)
  * [(?i)](cci:1://file:///d:/Github/vscode/cli/src/desktop/version_manager.rs:102:1-107:2) enables case-insensitive matching (accepts `A–F`)
  * Character class now correctly restricts input to hexadecimal digits `0-9` and `a-f`
  * Ensures the string is exactly 40 characters, matching a valid SHA-1

#### Impact

`code version use <commit>` and related commands could silently fail or accept malformed commit IDs, leading to unexpected version resolution behavior.
With this fix, only valid 40-character hexadecimal commit hashes are accepted, restoring reliable version selection and preventing subtle bugs.

#### Notes

No API changes; the fix is a single-line update in [cli/src/desktop/version_manager.rs](cci:7://file:///d:/Github/vscode/cli/src/desktop/version_manager.rs:0:0-0:0).
2025-06-13 15:40:55 +00:00
Robo
6947b69d47 fix: revert remote libcxx requirement to 3.4.25 (#248976)
* fix: revert libcxx requirement to 3.4.25

* ci: temp debugging

* fix: use gcc 8.5.0 for remote

* ci: update cache

* ci: fix sysroot directory

* ci: fix objdump directory
2025-05-14 20:10:32 -07:00
Robo
12326f9906 chore: update to Electron 35 (#245423)
* chore: bump electron@35.0.1

* chore: update types/node@22.x

* chore: update web types for node v22.x

* chore: bump electron@35.1.2

* chore: update node.js build

* chore: update app.dock usage

Refs 71f3ff6bf2

* chore: bump electron@35.1.4

* chore: bump electron@35.1.5

* ci: bump sysroot to glibc 2.28 and gcc 10.5.0

* ci: enable timeout for smoketests

* chore: bump min glibcxx to 3.4.26 for server

* Revert "ci: enable timeout for smoketests"

This reverts commit afb637e85d.

* chore: update debian dependencies

* fix: workaround npm.ps1 argument parsing with powershell

* chore: update rpm dependencies

* test: partially revert changes from 242535

* test: remove redudant keybinding dispatch for selectTab

* test: fix test failure from running configured tasks

* test: focus settings editor for preferences.test.ts

* node - adopt compile cache (#246835)

* node - adopt compile cache

* adopt for utility process

* tweaks

* log state of compilation cache

* Revert "log state of compilation cache"

This reverts commit f3840387a583013834762e2c44f6e8424929297f.

* Revert "node - adopt compile cache (#246835)"

This reverts commit 673a00cab66c9bac87f3cd27b80efa41c80150f1.

* chore: update builds

* chore: bump electron@35.2.0

* chore: bump electron@35.2.1

* chore: bump electron@35.2.2

---------

Co-authored-by: Benjamin Pasero <benjamin.pasero@microsoft.com>
2025-05-09 19:03:36 +09:00
Ladislau Szomoru
a73a3243c2 Engineering - OSS tool result (#247379) 2025-04-25 14:37:01 +02:00
dependabot[bot]
87bb001971 Bump crossbeam-channel from 0.5.13 to 0.5.15 in /cli (#246213)
Bumps [crossbeam-channel](https://github.com/crossbeam-rs/crossbeam) from 0.5.13 to 0.5.15.
- [Release notes](https://github.com/crossbeam-rs/crossbeam/releases)
- [Changelog](https://github.com/crossbeam-rs/crossbeam/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crossbeam-rs/crossbeam/compare/crossbeam-channel-0.5.13...crossbeam-channel-0.5.15)

---
updated-dependencies:
- dependency-name: crossbeam-channel
  dependency-version: 0.5.15
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-14 10:42:53 +02:00
dependabot[bot]
74e9aabf76 Bump tokio from 1.37.0 to 1.38.2 in /cli (#245924)
Bumps [tokio](https://github.com/tokio-rs/tokio) from 1.37.0 to 1.38.2.
- [Release notes](https://github.com/tokio-rs/tokio/releases)
- [Commits](https://github.com/tokio-rs/tokio/compare/tokio-1.37.0...tokio-1.38.2)

---
updated-dependencies:
- dependency-name: tokio
  dependency-version: 1.38.2
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-04-14 10:42:21 +02:00
dependabot[bot]
6c707c80c8 Bump openssl from 0.10.70 to 0.10.72 in /cli
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.70 to 0.10.72.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.70...openssl-v0.10.72)

---
updated-dependencies:
- dependency-name: openssl
  dependency-version: 0.10.72
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-04-04 20:52:20 +00:00
Connor Peet
e166b219d8 cli: make the build faster (#245705)
codegen-units=1 lets the compiler optimize more aggressively, but it
makes things _much_ slower. The benefits of this has been evaporating
as the compiler has improved, and now that the CLI build is a bottleneck,
let's just remove it.
2025-04-04 20:43:48 +02:00
Aaron Munger
cf21b3df5f OSS tool run result (#244471)
Co-authored-by: amunger <>
2025-03-24 09:21:32 -07:00
Robo
e9a3e2a03c fix: libc checks for exec server (#243254) 2025-03-11 12:54:24 -07:00
Robo
31ec1c528f build: remove legacy server support (#235232)
* build: remove legacy server support

* chore: update rpm dependencies

* chore: fix publishing

* cli: provide option for unsupported glibc sysroot

* chore: add unsupported mode to prereq check

* chore: add logging

* chore: add comment about patchelf execution order
2025-03-10 17:54:23 +01:00
Connor Peet
3331d2d87d chore: update to rust 1.85 (#242609) 2025-03-04 21:58:23 +01:00
Martin Aeschlimann
649a74e7d8 Update third party licenses for 1.98 (#241806)
* Update third party licenses for 1.98

* update
2025-02-25 11:42:35 +00:00
M Hickford
c515f75608 Log provider in "tunnel user show" 2025-02-11 19:53:57 +00:00