Skip to content

Visual Studio Code, rebuilt in Rust

Rust
52.0 KB
Raw Blame

Port ledger

The one source of truth for the port's state, in three places: this file holds the open work (decisions, milestones, investigations, postponed items), port/ledger/done.md the closed work, and port/ledger/units/<area>.md one row per unit of upstream VS Code 1.148.0 with its milestone, status, open gaps and evidence (rg -n '^\| workbench/contrib/scm ' port/ledger/units). bun port/tools/ledger-check.ts prints every place the tables disagree; after a status change, bun port/tools/readme-coverage.ts rewrites README.md's coverage block.

A row that tracks a GitHub issue of rokartur/vsrustium names it as vsrustium#N in any cell. bun port/tools/ledger-issues.ts (needs gh) prints every place the rows and the issues disagree: an open issue no row names, an open issue on a closed row, a closed issue on an open row.

Work

Status: open, in progress, waiting on Artur, later (postponed), done, decided (a decision or rule of Artur). A milestone is done only when every unit row with its number is verified, removed or n/a. A closed item turns done with its check and moves to port/ledger/done.md in the commit that closes it.

area item status detail check or evidence
Decisions (Artur) 1:1 rule decided Every milestone ships a feature end to end and 1:1 with VS Code 1.148.0: UI, keyboard and mouse, the main-thread side the extension host calls, persistence, same look and behavior, upstream logic and tests ported, checked against the reference. Fewer complete features beat more partial ones; a shortcut: is only for a missing platform capability or a product decision.
Decisions (Artur) mouse cursors decided Every element gets the cursor the reference CSS gives it (rg 'cursor:' src/vs --glob '*.css'): pointer on clickable items (activity bar, tabs, list rows, status bar items with a command, buttons, links), text over editor text and input fields, the resize cursors on sashes, default elsewhere. GPUI: .cursor_pointer(), .cursor_text(), .cursor_ew_resize() and the like on the element, never a window-wide cursor.
Decisions (Artur) removed parts decided AI (chat, agents, agent host, sessions, Copilot, MCP, language models, inline chat, embeddings, speech), sign-in and accounts (authentication, GitHub sign-in), Settings Sync, Microsoft services (experiments, surveys, issue reporter), telemetry and remote/tunnels are removed (41 rows), their extension API kept inert; internal infrastructure and developer tools with no 1:1 counterpart (base/common, base/node, platform/instantiation, platform/observable, platform/webWorker, platform/gpu, platform/cssDev, editor/standalone, editor/contrib/gpu, workbench/contrib/screenshotTool) are removed, replaced by the native architecture; later: the integrated browser (browserView, MainThreadBrowsers) is removed, Simple Browser stays; the api-tests suites of removed features leave the milestone 20 target.
Decisions (Artur) n/a parts decided Upstream test infrastructure (base/test, editor/test, platform/test, workbench/services/driver) and the Electron process, IPC and DOM layers (base/browser base/parts platform/domWidget platform/ipc platform/protocol platform/sandbox platform/sharedProcess platform/utilityProcess) are n/a.
Decisions (Artur) port version decided Artur: port version <vscode>.<release>: VSRustium's own version is VS Code's plus release (port/product.json, a positive integer bumped by hand per release, back to 1 on every uplift), 1.148.0.1, 1.148.0.1-insider, in every place a user sees it (About, --version, --status, the update title bar and tooltip, release notes and their v<display version> tag, package names); product.json version and what extensions see stay VS Code's. Updates order by (VS Code version, release, timestamp). Details in port/notes.md "Update feed". cargo test -p app update:: product:: version_message about_details
Decisions (Artur) merge gate additions decided A merge that touches window or startup code passes port/tools/run-app-check on the Studio lane (exits 1 with no app window). /skill:retro only when the same class of mistake comes back, not per merge. Artur's answer
Milestones M21 uplift to VS Code 1.148.0 in progress vsrustium#55. Postponed by Artur, started 2026-12-01 (session 1). Starts after milestones 11 to 20 close on 1.147.0 and after milestone 22; until then every reference, baseline and ui-pair stays on 1.147.0. Plan: port/plans/uplift-1.147.0-to-1.148.0.md, short form in port/notes.md "VS Code 1.148.0" (bun port/tools/uplift-diff.ts 1.148.0, every change triaged; refreshed against the ledger with 17 rows still open). Of about 209,000 changed upstream lines, 6,548 are ported: about 3,500 Rust work, 1,977 lines of grammar data and colorize fixtures, about 770 that arrive with upstream or the reference's extensions, and 308 of the floating comment style, a gap older than the uplift. 100,284 lines are skipped: AI, chat, sessions, agent host, remote, GitHub sign-in, experiments, telemetry and the integrated browser. Every setup step and work item is an M21 uplift row below, with its check. Steps: 1) session 1 does the setup rows and milestones 7 to 11. 2) Session 2 does milestones 12 and 14: files, workspace, the remove-folder vetoes and SCM. 3) Session 3 does milestones 13 and 15 to 19. Sessions 2 and 3 can run in parallel after session 1. The ledger names 1.148.0. Every row the diff touches is verified, removed or n/a again, or keeps its 1.147.0 status where the gap is older than the uplift (the floating comment style). The full check passes against the 1.148.0 reference.
Milestones M23 Linux build in progress Branch port-linux (a Linux build container on the Studio). The app is macOS-only today: 24 files of native/crates call AppKit, Foundation, WebKit, Security or Core Foundation directly (objc2, core-foundation, security-framework); GPUI (gpui-fast, native/vendor/gpui-fast) already has its Linux platform (gpui_linux) (Wayland and X11). Artur: Wayland is required, not a preview: every feature X11 has works in a Wayland session too, webviews included. Every macOS call goes behind cfg(target_os = "macos") with the Linux counterpart VS Code uses there, in the same function where the two are a few lines, in a platform/linux.rs beside a platform/macos.rs where they are not: webview (WebKitGTK through wry), file dialogs (xdg-desktop-portal, rfd), the application menu (drawn in the window: window.titleBarStyle, window.menuBarVisibility), clipboard and the find pasteboard (GPUI's), proxy (http.proxy and the system proxy via reqwest instead of NSURLSession), secrets (Secret Service, keyring), code CLI install (~/.local/bin), file watching (inotify, notify), the updater (a download link, as update.mode on a tar.gz), and the settings import paths (~/.config/Code, ~/.config/Cursor, ~/.config/VSCodium). Packaging: port/tools/package-linux writes VSRustium-<version>-linux-<arch>.tar.gz, the same folder as VSRustium-<version>-linux-<arch>.AppImage (port/tools/linux/appimage) and the linux-<arch>.json and linux-<arch>-prerelease.json feed entries (port/notes.md milestone 23); deb after it. Builds in a Linux container on the Studio (docker, linux/arm64) for the build and the unit tests; linux-x64 on a GitHub Actions ubuntu runner once arm64 is green. cargo build --release -p app and the area tests pass on Linux arm64 and x64; the app opens a folder, edits, saves, runs an extension (the exthost handshake, emmet and git activate) and shows a webview under Xvfb and in a Wayland session (a headless compositor in the container); v1.147.0-insider carries VSRustium-1.147.0-insider-linux-arm64.tar.gz and VSRustium-1.147.0-insider-linux-x64.tar.gz; the macOS build is unchanged (its area tests and api-tests as before).
Milestones M24 Windows build in progress vsrustium#27. Branch worktree-m24-windows, beside milestone 23 on the same seams: macOS and Linux code stays as it is, each Windows counterpart sits behind cfg(target_os = "windows") in the function where it is a few lines, in a windows.rs beside macos.rs and linux.rs where it is not. Scope: WebView2, the Win32 file dialogs and message boxes, the in-window menu bar and custom title bar, Credential Manager (keyring), named pipes for the extension host and single instance, ConPTY for the terminal (terminal/pty/conpty.rs, the VT backend libghostty-vt is platform-neutral), drive-letter paths and file URIs, the user-setup install path with bin on the user PATH (code.iss addtopath), %APPDATA%\Code settings import, an x64 and arm64 zip and a user installer, no Authenticode signing (the Windows signing decision). Cross build on the Studio (cargo-xwin, x86_64-pc-windows-msvc and aarch64-pc-windows-msvc) for compile checks and host-run unit tests; real runs on GitHub Actions windows runners (.github/workflows/windows.yml, by hand). Seams: the "M24 Windows" rows. cargo build --release -p app and the area tests pass on win32-x64 and win32-arm64 runners; the app opens a folder, edits, saves, runs an extension (the exthost handshake, emmet and git activate) and shows a webview on the runner; v1.147.0-insider carries VSRustium-win32-x64-1.147.0-insider.zip, VSRustium-win32-arm64-1.147.0-insider.zip and both user setups; the macOS and Linux builds are unchanged (their area tests as before).
Milestones M25 virtual workspaces later Artur: its own milestone after M20, not part of the gap audits. A folder of a non-file scheme (.code-workspace uri folders, --folder-uri, vscode.openFolder with an extension file system provider scheme) kept as a URI; every reader of workspace folders (173 .folders uses in 70 files: explorer, search, quick open, terminal cwd, tasks, git, watcher, settings layers, trust) goes through the file system providers; the workspace marked virtual, virtualWorkspaces: false extensions disabled with the notSupportedInWorkspace message (config/workspace.rs:101, port/notes.md provider entries deferred until virtual workspaces). not started
Milestones M28 Zed gate open Artur, 2026-12-02: the port is not behind Zed in any metric of port/tools/bench, time and memory. Its own track, apart from M27. Behind today (README.md, port/results/benchmark.md): peak footprint and peak RSS. The plan follows a memory profile of the peak footprint. port/tools/bench > run.tsv && bun port/tools/bench-check.ts run.tsv vsrustium zed prints no BEHIND on a quiet machine (the run's load under max_load of port/budgets.json).
M23 Linux app/src/webview/linux.rs:47 open [linux L] webviews in a Wayland session. Linux shows now: no webview under Wayland: GPUI has no X window there to hold the GTK window, so supported() is false and each webview surface stays empty. Needs a route that does not embed: GTK opens its own Wayland connection, and a wl_subsurface cannot take a surface of another client, so the reparenting X11 uses has no Wayland form; WPE WebKit rendering offscreen into a GPUI texture, with input forwarded, is the route left (not started).
M23 Linux app/src/webview/linux.rs:370 open [linux S] a webview in a Wayland desktop with WAYLAND_DISPLAY unset panics ("GTK on X11"): GPUI falls back to X11, GTK still connects to wayland-0, and embedded_window expects an X11 display. GDK_BACKEND=x11 avoids it (found in PR #15's NixOS test, the same with the plain archive). GTK has to take the backend GPUI took.
M23 Linux app/src/clipboard.rs:97 open [linux M] clipboard file lists, HTML and other custom formats: Chromium offers each as its own MIME target (code/file-list, text/html) beside the text. Needs gpui_linux vendored, since GPUI's X11 selection owner and Wayland data source offer only text, images and text/uri-list, and a second owner would take CLIPBOARD from GPUI's. The find text needs nothing: clipboardService.ts reads and writes it only on macOS. Linux shows now: text only; the other formats read empty.
M23 Linux app/src/main.rs:174 open [linux M] the arm64 build sometimes dies at quit with SIGSEGV (exit 139) after its work is done: v1.148.0-insider (dea4dbe55a1) 2 of 21 smoke runs, v1.147.0-insider 1 of 17, so it predates 1.148.0; x64 not seen. Found while publishing v1.148.0-insider; root cause not looked for. port/tools/linux/smoke on arm64 repeated 20 times: no exit 139
M23 Linux app/src/keybindings.rs:86 open [linux L] Linux keybindings: the Linux default table (keybindings.rs DEFAULT_KEYBINDINGS is default-macos.json), the linux key of extension and user rules (extension_keybindings reads mac), and labels in Linux's form (keybindingLabels.ts UILabelProvider, AriaLabelProvider, UserSettingsLabelProvider for OperatingSystem.Linux): Ctrl+Shift+P, Super and meta. Labels alone would show the macOS table as Super+P, so they wait for the table. Linux shows now: the macOS table with Cmd on GPUI's platform modifier (Super), the macOS symbols (⌃⇧⌥⌘), Option and Command aria labels and cmd in user settings. Ready for the switch: keyboard_mapper.rs labels in its os field, this build's OS (cargo test -p app keyboard_mapper: linux_en_us_resolve checks Ctrl+A, Super, meta and key caps with Os::Linux); extension_keybindings(os) reads the linux key once OS is Linux.
M23 Linux app/src/workbench/menubar.rs:173 open [linux M] menu bar in the custom title bar. Linux shows now: no menu bar; gpui_linux set_menus keeps the menus and draws none.
M23 Linux .github/workflows/ci.yml:51 open [linux L] cargo test -p app is red on Linux in CI: 74 failures on x64 and 73 on arm64 (ci.yml run 46714774663 on 1f2ae36004a), mostly keyboard, focus, breadcrumbs and comments tests; 036f164bdea's macOS key table raised it to 84, which the commit that presses and labels keys by the build's OS undoes. Artur: Linux and macOS come first, Windows (M24) waits. Done when the Linux jobs pass and lose expected-red. test (linux x64) and test (linux arm64) in ci.yml green
M24 Windows app/src/update/install/tests.rs:80 open [windows S] the app's tests compile for Windows, so the runner rows can run them: 15 errors in Unix-only test code (std::os::unix permissions in terminal/completion_service, workbench/readonly, explorer_actions, text_files; libc::SIGKILL in terminal_contrib; check_writable in update/install). The exthost and storage tests compile. port/tools/windows-build 'cargo gc xwin check -p app --tests --target x86_64-pc-windows-msvc' exits 0
M24 Windows app/src/terminal/pty.rs:1 in progress [windows L] terminal through ConPTY (terminal/pty/conpty.rs, windows-sys), as node-pty's conpty.cc and windowsPtyAgent.ts: spawn with the command line argsToCommandLine builds, resize, kill (signals ignored, as node-pty on Windows), hasChildProcesses from a process snapshot, cwd as the initial cwd (terminalProcess.ts getCwd on Windows). Built, not yet run on Windows; the foreground process is the started file (windowsTerminal.ts process), not windowsShellHelper.ts's tracking. cargo gc test -p app pty on the windows runner; cargo gc test -p app args_to_command_line on the host, with node-pty lib/windowsPtyAgent.js's output
M24 Windows app/src/terminal/profiles.rs:133 open [windows M] Windows terminal profiles (terminalProfiles.ts detectAvailableWindowsProfiles): PowerShell (pwsh, then Windows PowerShell), Command Prompt, Git Bash, WSL distributions; terminal.integrated.defaultProfile.windows; shell integration for pwsh (shellIntegration.ps1). cargo gc test -p app terminal::profiles on the windows runner
M24 Windows app/src/file_dialog.rs:9 in progress [windows M] Win32 open and save dialogs (file_dialog/windows.rs, IFileOpenDialog, IFileSaveDialog) with title, button label (& mnemonic), filters, default path, folder pick and multi-select, as Electron's file_dialog_win.cc ApplySettings and ConvertFilters (filter specs *.ts;*.js, All Files (*.*), the first specific filter selected), owned by the active window, with dialogMainService.ts's lock (shared with macOS). Built, not yet run on Windows. cargo gc test -p app file_dialog on the host: windows_filters_become_semicolon_specs_and_the_first_specific_one_is_selected, one_dialog_of_the_same_options_per_window; [windows] the dialog on the windows runner
M24 Windows app/src/dialog.rs:5 in progress [windows M] native message box through TaskDialogIndirect (dialog/windows.rs), as Electron's message_box_win.cc with noLink: buttons in the order dialogs.ts massageMessageBoxOptions gives Windows (the caller's, cancel last) with & mnemonics, the message as main instruction above a detail, the checkbox as the verification text, owner window modal, Esc and the close button answer cancel. Common Controls 6 comes from GPUI's manifest (windows-manifest). Built, not yet run on Windows. cargo gc test -p app dialog::tests on the host: windows_labels_take_ampersand_mnemonics, windows_task_dialog_keeps_the_callers_button_order_with_cancel_last, windows_task_dialog_message_is_the_main_instruction_only_with_a_detail; [windows] the dialog on the windows runner
M24 Windows app/src/webview.rs:11 in progress [windows L] webviews through WebView2 (webview2-com, decision "Windows webview") as child windows of GPUI's HWND (webview/windows.rs), with the host page, resource scheme and message bridge webview.rs shares with macOS and Linux: panels and views, editor insets, notebook outputs, extension details, release notes. The WebView2 runtime ships with Windows 10 and 11. GPUI's DirectComposition target is not topmost (vendored gpui_windows, port/notes.md milestone 24 "Webview"). Built, not yet run on Windows. cargo gc test -p app splits_https_urls on the host; [windows] FIXTURE=webview-tests smoke on the windows runner; cargo gc test -p app webview there
M24 Windows exthost/src/lib.rs:31 in progress [windows L] extension host connection over a named pipe (\\.\pipe\vscode-ipc-<uuid>-sock, ipc.net.ts createRandomIPCHandle on Windows) instead of a Unix socket; Bun's net.connect takes the pipe path. Done and cross-built, never run: exthost/src/pipe.rs (overlapped pipe instances as libuv's uv_pipe_bind, local clients only, first instance exclusive; generateUuid from the OS random source, no /dev/urandom on Windows). cargo gc test -p exthost on the windows runner: the handshake test
M24 Windows app/src/launch.rs:5 in progress [windows M] single instance and second-instance arguments over a named pipe (main.ts mainIPCHandle on Windows). Done and cross-built, never run: the pipe \\.\pipe\<sha256(user data)[..8]>-<version>-main-sock (createStaticIPCHandle, host test the_windows_pipe_is_named_from_the_user_data_hash_as_create_static_ipc_handle), exthost/src/pipe.rs as the transport, windowsAllowSetForegroundWindow with the pipe server's pid. cargo gc test -p app launch on the host for the pipe name; cargo gc test -p app launch on the windows runner
M24 Windows app/src/cli.rs:7 in progress [windows M] the command line on Windows: bin\<applicationName>.cmd from resources/win32/bin/code.cmd (written by port/tools/package-windows, its row). Done and cross-built, never run: stdin read and terminal width through the console API; a GUI-subsystem binary as Electron's that attaches to the starting console (electron_main_win.cc RouteStdioToConsole unless ELECTRON_NO_ATTACH_CONSOLE). cargo gc test -p app cli on the windows runner
M24 Windows exthost/src/main_thread_secret_state.rs:19 in progress [windows S] secrets in Credential Manager (keyring), with keytar's target name <service>/<account> so VS Code's stored secrets keep their keys. Done and cross-built, never run: main_thread_secret_state/windows.rs (generic credentials, user name the account, blob the UTF-8 secret, CRED_PERSIST_ENTERPRISE, keys from CredEnumerateW on <service>/*); the runner test secrets_in_credential_manager uses a service of its own. Difference: a secret over 2560 bytes (CRED_MAX_CREDENTIAL_BLOB_SIZE) fails to store, as with keytar, where upstream's safeStorage has no limit. cargo gc test -p exthost secret on the windows runner
M24 Windows exthost/src/request.rs:9 in progress [windows M] extension and gallery HTTP with the system proxy (request/windows.rs): the session proxy (http.proxy, http.noProxy, the proxy variables) else the IE settings of WinHttpGetIEProxyConfigForCurrentUser, WPAD and the PAC URL through WinHttpGetProxyForUrl first, then the manual proxy, as Chromium's ProxyConfigServiceWin SetFromIEConfig; rules and bypass lists (<local>, <-loopback>, wildcards, ports, schemes, CIDR blocks, the implicit localhost and link-local bypass) as proxy_config.cc and proxy_bypass_rules.cc (request/proxy_rules.rs); curl gets the first proxy of the list, without Chromium's fallback to the next; no Kerberos (SSPI). Built, not yet run on Windows. cargo gc test -p exthost proxy_rules on the host; [windows] cargo gc test -p exthost request and a request through a PAC and a manual proxy on the windows runner
M24 Windows app/src/workbench/menubar.rs:173 in progress [windows M] the menu bar's keyboard (Alt focus, mnemonics, arrow keys between menus, window.menuBarVisibility: toggle showing on Alt; toggle stays hidden), hover switching between open menus and the .open title highlight, Open Recent's recent entries (the menu keeps More... and Clear), the app icon (titlebarPart.ts .window-appicon), the system menu on a right click in the caption area; Windows shows now: those missing. Done: the menu bar in the custom title bar (menubarControl.ts CustomMenubarControl, classic, visible, compact, hidden), the update item before About, the Windows menu rows (Open File..., File > Preferences, Exit, Help > About through isMacNative, isMac and isWindows per keybindings::OS), the window controls on Windows' hit test areas (snap layouts on Maximize), the caption as the drag area, the 30px bar without the command center. Linux and macOS unchanged. cargo gc test -p app menubar on the host: a_custom_menu_bar_title_opens_its_menu, the_custom_help_menu_shows_the_update_state_before_about, the_custom_menu_bar_visibility_defaults_to_classic; cargo gc test -p app contextkey (platform_keys_follow_the_os); x64 and arm64 cross builds; a Windows run not done
M24 Windows app/src/keybindings.rs:86 in progress [windows M] windowsKeyboardMapper.ts for non-US layouts; Windows shows now: US-layout labels for every layout. Done: the per-platform mechanism (Os, default_table with the Linux hook for M23), default-win.json generated by port/tools/default-keybindings from the reference's Windows export, the win key of contributed rules, the Windows labels (keybindingLabels.ts OperatingSystem.Windows). cargo gc test -p app keybindings on the host: windows_default_table_binds_ctrl_keys, contributed_keybindings_use_the_platform_key, windows_and_linux_us_labels, windows_and_linux_aria_electron_and_user_settings_labels; x64 and arm64 cross builds
M24 Windows app/src/keyboard_layout.rs:7 open [windows M] keyboard layout info and raw mapping (native-keymap's Windows GetKeyboardLayout, MapVirtualKeyEx, ToUnicodeEx). cargo gc test -p app keyboard on the windows runner
M24 Windows app/src/clipboard.rs:91 open [windows M] clipboard file lists, HTML and custom formats (Chromium's registered clipboard formats); GPUI's Windows clipboard has text and images. Windows shows now: text only. cargo gc test -p app clipboard on the windows runner
M24 Windows files/src/disk.rs:58 open [windows M] file system on NTFS: read-only through FILE_ATTRIBUTE_READONLY, file and directory symlinks, case-insensitive path compare, Recycle Bin (trash crate), ReadDirectoryChangesW (notify); Windows versions of the cfg(unix) tests that lock files or folders or make symlinks (readonly, text_files, explorer_actions, terminal completion_service). cargo gc test -p files on the windows runner
M24 Windows app/src/editor_history.rs:59 in progress [windows L] drive-letter paths and file URIs (file:///c%3A/..., uri.ts fsPath on Windows, backslash separators in labels). Done: uri.rs Uri::file and fs_path as uri.ts URI.file and uriToFsPath (backslashes, drive letters, UNC authorities), used by editor_history.rs, the editor's model URIs (editor.rs uri_value, uri_string, host_requests.rs uri_parts, on Windows only: elsewhere a //host path keeps the port's form), backup_tracker.rs, file_dialogs.rs, language_features.rs and webview resources (file_roots, is_contained comparing fsPaths ignoring case as extUri on Windows, the WebView2 file read). Open: the other file URI reads (uri["path"] of a file URI taken as the path: debug, scm, search, notebooks, tasks and the rest), backslash separators in labels (labels.ts getPathLabel). UNC host check (base/node/unc.ts, Electron's ERR_UNC_HOST_NOT_ALLOWED, security.restrictUNCAccess and security.allowedUNCHosts read at start as app.ts): done for the file service (disk.rs), the text file models, editor reads and webview resources (files/src/unc.rs), the extension host's fs (uncFsGuard.ts from NODE_UNC_HOST_ALLOWLIST as utilityProcess.ts), the probes of paths the user did not open (terminal links, problem matcher autoDetect and search, quick open's absolute path) and windowsMainService.ts onUNCHostNotAllowed (Allow, Cancel, Learn More) for Open, Open Recent and vscode://file URLs. Open: a command line path on a host not allowed is left out with upstream's "Invalid path provided" log instead of the prompt (no window to own it yet); the direct std::fs reads of paths inside an opened, so allowed, folder (breadcrumbs, launch.json, scm, search) stay unchecked; child processes with a UNC cwd or argument (terminal, ripgrep, git, tasks) spawn as upstream's, whose terminalProcess.ts _validateCwd ignores errors other than ENOENT. cargo gc test -p app uri::tests::file_uris_and_fs_paths_per_platform, cargo gc test -p app webview::tests::maps_resource_urls, cargo gc test -p files unc::tests, cargo gc test -p app unc (terminal links, problem matcher, quick open, command line, the prompt) and cargo gc test -p config the_unc_settings_are_registered_only_on_windows_and_restrict_by_default on the host, bun test src/vs/base/test/node/uncFsGuard.test.ts in the exthost build; [windows] api-tests and a webview image from the workspace on the windows runner
M24 Windows app/src/settings_import.rs:28 open [windows S] settings import from %APPDATA%\Code, %APPDATA%\Cursor, %APPDATA%\VSCodium, extensions from %USERPROFILE%\.vscode\extensions and the others. cargo gc test -p app settings_import on the windows runner
M24 Windows app/src/workbench/shell_command.rs:70 in progress [windows S] no Shell Command on Windows (upstream has it on macOS only): the user setup puts {app}\bin on the user PATH (code.iss addtopath), the zip leaves PATH alone. the commands absent from the palette on the windows runner; the installer row's check
M24 Windows app/src/update/install.rs:21 in progress [windows M] updates as a download link, as on Linux (decision "Windows updates"). cargo gc test -p app update:: on the host
M24 Windows app/src/update/install.rs:22 later [windows M] in-place update through the user setup, as updateService.win32.ts: download the setup, run it with /verysilent /update, restart. the runner's installed app updates from one feed version to the next
M24 Windows app/src/shell_env.rs:5 in progress [windows S] no shell environment resolution on Windows (shellEnv.ts returns the process environment on win32). cargo gc test -p app shell_env on the windows runner
M24 Windows app/src/system_wide_keybindings.rs:13 open [windows S] system-wide keybindings through RegisterHotKey (Chromium's GlobalAcceleratorListenerWin). cargo gc test -p app system_wide on the windows runner
M24 Windows app/src/power.rs:9 open [windows M] powerMonitor: idle time (GetLastInputInfo), battery (GetSystemPowerStatus), lock, sleep and resume, power save blockers (SetThreadExecutionState). cargo gc test -p app power:: on the windows runner
M24 Windows app/src/accessibility_signals.rs:107 open [windows S] accessibility signal sounds (mp3) through the Windows media player API. not run with audio on the runner
M24 Windows app/src/nls.rs:146 open [windows S] the OS locale from the Windows UI language (Electron's app.getPreferredSystemLanguages, GetUserPreferredUILanguages); Windows shows now: en-US. cargo gc test -p app nls on the windows runner
M24 Windows app/src/metered_connection.rs:57 open [windows S] metered connection (INetworkCostManager). not run on a desktop
M24 Windows app/src/workbench/accessibility.rs:531 open [windows S] screen reader, reduced motion and high contrast (SystemParametersInfo SPI_GETSCREENREADER, SPI_GETCLIENTAREAANIMATION, SPI_GETHIGHCONTRAST). not run with a screen reader
M24 Windows app/src/diagnostics.rs:308 open [windows S] machine info (CPU name, memory, OS release) and the network interfaces of the machine id. cargo gc test -p app diagnostics on the windows runner
M24 Windows app/src/workbench/process_explorer.rs:295 open [windows M] process explorer and kill (@vscode/windows-process-tree's snapshot, TerminateProcess). cargo gc test -p app process_explorer on the windows runner
M24 Windows app/src/policy.rs:9 open [windows M] policies from the registry (HKLM and HKCU Software\Policies\<win32RegValueName>, @vscode/policy-watcher). cargo gc test -p app policy on the windows runner
M24 Windows app/src/app_icon.rs:27 open [windows S] the executable icon and version resource (resources/win32/code.ico, build.rs). the icon in Explorer on the runner's screenshot
M24 Windows port/tools/package-windows:1 open [windows M] VSRustium-win32-<arch>-<version>.zip as VS Code's Windows archive lays it out (<applicationName>.exe, bin\<applicationName>.cmd, resources\app, bun.exe), the host's native modules built for Windows, win32-<arch>-archive.json feed entries. the extracted zip passes the smoke on the windows runner
M24 Windows port/tools/windows/code.iss:1 open [windows M] user setup ({userpf}\<dirName>, addtopath, Start menu entry, file associations as code.iss) built with Inno Setup on the runner; unsigned (the Windows signing decision). the setup installs silently, <applicationName> --version runs from a new shell's PATH, uninstall removes it
M24 Windows .github/workflows/windows.yml:1 open [windows S] x64 on windows-latest, arm64 on windows-11-arm, by hand (workflow_dispatch), uploading the zips, setups and feed entries. one dispatched run green for both architectures
M21 uplift editor/browser and editor/contrib/folding later M8 (vsrustium#56), 71 lines (mouseHandler, mouseTarget, view, viewLine, folding.css): a click in the empty gutter places the caret; a click in the line-decorations lane with no decoration goes to the line start; only the 0.625em folding chevron toggles; with editor.mouseStyle: text the I-beam shows over the empty gutter; a click right of an empty line gives column 1; an empty line with injected text on both sides puts the caret before the after-decoration. cargo test -p app editor::view mouse-target cases; ui-pair of the gutter hover
M21 uplift editor/common later M8 (vsrustium#56), 24 lines (editorOptions, defaultDocumentColorsComputer): tabFocusMode is computed from the global Ctrl+M toggle, so editorTabMovesFocus follows it; hex colors count only before whitespace, a quote, ;, ,, ) or the end of the line. cargo test -p app tab_focus document_colors
M21 uplift editor/contrib/contextmenu later M8 (vsrustium#56), 6 lines: a right click on injected text (inlay hints, ghost text) opens no menu and keeps the selection. cargo test -p app editor_menus
M21 uplift editor/contrib/links and editor/contrib/hover later M13 (vsrustium#61), 21 lines (links.ts, contentHoverRendered, hoverTypes, markdownHoverParticipant, model.ts, textModel.ts): the hover copy button copies hoverMessageCopyContent; for a link, that is the URL. cargo test -p app content_hover links::
M21 uplift workbench/parts/editor: add-tab menu later M8 (vsrustium#56), 186 lines (editorAddTabControl, editorTabsControl, editorPart, editor.ts, editorAddTabControl.css): the entry picked last (editor.addTabMenu.recentEntry.<menuId>, profile storage) comes first with "recently used"; a second press on + while the menu is open picks it. New-tab entries open pinned at the end of the group with the button's editor options (newTabButton.ts, newTabButtonActions.ts, editorTypePicker: association pattern). ui-pair of the open add-tab menu; cargo test -p app new_tab
M21 uplift workbench/parts/editor: wrapped tabs later M8 (vsrustium#56), 65 lines (multiEditorTabsControl, multieditortabscontrol.css): the + button never sits alone on a row, and a tab dropped on + goes last. ui-pair of wrapped tabs; cargo test -p app tabs_wrap
M21 uplift workbench/parts/editor: drop label and watermark later M8 (vsrustium#56), 129 lines (editorDropTarget, editordroptarget.css, dnd.ts, dnd.css, editorGroupWatermark): the "Hold Shift to drop into editor" label gets body1 font, 4/8 padding, a small radius and CSS colors; the watermark's "Start Debugging" icon becomes run. Internal only, no visible change: breadcrumbs' editor type dropdown onDidOpen (50) and editorGroupView header inset and single-tab title options (41). ui-pair of an editor drag with the label and of the empty editor
M21 uplift workbench/contrib/codeEditor: empty editor hint later M8 (vsrustium#56), 935 lines, n/a: upstream moves the hint into emptyTextEditorHintController.ts and emptyEditorHintReopen.ts with the same text, links and keys, so workbench/empty_editor_hint.rs stays. The "open in Markdown Editor" link is part of the Markdown Editor experiment (skipped). cargo test -p app empty_editor_hint; ui-pair port/fixtures/ui-steps/empty-editor-hint.json against 1.148.0
M21 uplift platform/actions later M9 (vsrustium#57), 55 lines (actions.ts, toolbar, menuEntryActionViewItem): when a split button's primary action is checked, both parts paint actionBar.toggledBackground; a disabled dropdown part is drawn at 0.4 opacity; isAlwaysShown and excludePrimaryActionFromDropdown are new menu options. The multi diff Toggle Files split button is a caller. ui-pair of that toolbar; cargo test -p app menus
M21 uplift platform/actionWidget later M9 (vsrustium#57), 67 lines (actionList, actionWidget.css): the checked item is revealed after the first layout, .panel-anchor marks the row with an open panel, and aria-expanded is set only on expandable rows. Port into workbench/action_widget.rs and action_list.rs. cargo test -p app action_list code_actions; ui-pair of the code action menu
M21 uplift platform/quickinput later M9 (vsrustium#57), 25 lines: focused tree rows use quickInputList.focusHighlightForeground; a focused row's icon uses quickInputList.focusIconForeground; selected rows use the focus colors; an anchored picker keeps its last anchor rect. ui-pair Cmd+P with a colored icon focused; cargo test -p app quick_input
M21 uplift workbench/services/keybinding later M9 (vsrustium#57), 26 lines (keybindingEditing): an edit or removal targets the last user entry that matches command, when, args, systemWide and key. cargo test -p app user_keybindings with two same-command entries
M21 uplift workbench/parts/titlebar later M9 (vsrustium#57), 11 lines (menubarControl): menubarHidden changes only for the custom menu bar; on the native macOS menu it has no effect. none: no visible change on macOS
M21 uplift workbench/services/configuration later M10 (vsrustium#58), about 34 lines (workbench.contribution.ts, common/configuration.ts): the workbench.editor.experimental.newTabButton to workbench.editor.newTabButton migration, a new workbench.activityBar.autoHide description, and migrateUserSettingsSeparately (only the local half applies). port/tools/settings-check configuration with a user settings file that holds the old key
M21 uplift workbench/services/preferences later M10 (vsrustium#58), 2 lines (keybindingsEditorModel): the Keyboard Shortcuts row id includes systemWide. cargo test -p app keybindings_editor
M21 uplift workbench/contrib/modernUI later M11 (vsrustium#59), about 110 lines (connectedEditorTabs.css, tabs.css, frostedGlass.css, roundedCorners.css, padding.css): the connected-tab outline, shoulders and strip separator use modernPanel.border, then editorGroupHeader.tabsBorder, then tab.border; the wrapped + button lines up with the first tab of the row above; a drop indicator before the last tab is drawn above the sticky +; the dialog's frosted glass sits behind the border; SCM badges and counts get a spacing-size40 right margin. Waits for the modernUI row to close on 1.147.0. ui-pair of wrapped connected tabs, a modal dialog and the SCM view
M21 uplift workbench/parts/auxiliarybar later M11 (vsrustium#59), 35 lines: with workbench.activityBar.autoHide, the secondary side bar hides its composite bar when it has one container, at any activity bar location. The Maximize precondition adds AI keys only (skipped). ui-pair with auto-hide on
M21 uplift workbench/parts/views later M11 (vsrustium#59), 26 lines (compositeBarActions.ts, paneCompositePart.ts, paneCompositePart.css): an icon badge that hides number badges keeps their counts in the title and accessible label; the trailing title-action separator is hidden while the part has no global actions. cargo test -p app activity_bar; ui-pair of a panel title
M21 uplift workbench/services/progress later M11 (vsrustium#59), 49 lines (progressIndicator): only the latest reporter hides the editor progress bar, and showing the infinite bar again does not restart it or its signal. cargo test -p app progress
M21 uplift workbench/services/decorations later M11 (vsrustium#59), 53 lines (decorationsService, decorations.ts, labels.ts): the alignBadgeLastCharacter badge span; SCM rows use it. ui-pair of the SCM view
M21 uplift workbench/services/editor later M11 (vsrustium#59), about 85 lines (editorResolverService, openWithEditorPicker, editorGroupsService): setDefaultEditor takes an associationPattern, plus onWillSetDefaultEditor. The working-set and modal toolbar API has no non-AI caller yet. cargo test -p app editor_resolver
M21 uplift workbench/services/views later M11 (vsrustium#59), 3 lines (viewsService): title actions are rebuilt once, not twice. the existing view tests
M21 uplift platform/files later M12 (vsrustium#60), 225 lines (diskFileSystemProvider, files, fileService, io, diskFileSystemProviderClient): named pipes. A read waits for a writer and can be cancelled; it fails with "Named pipe has no data and no writer". A write with no reader fails at once with "Named pipe has no reader". Pipes get no retries and no fdatasync. readFile takes a cancellation token. cargo test -p files fifo
M21 uplift workbench/contrib/files later M12 (vsrustium#60), 166 lines (fileImportExport, explorerViewer, explorerView, newTabButtonActions): when a dropped or moved folder already exists in the target, a dialog asks "A folder with the name '{0}' already exists... merge or replace it?" with Merge, Replace and Cancel. Merge recurses and replaces files; a move deletes the emptied source folders; symlinks are never merged. The Explorer header shows the workspace label without the location suffix. Waits for the files row to close on 1.147.0. cargo test -p app explorer merge_folders; ui-pair of the dialog
M21 uplift workbench/contrib/bulkEdit later M12 (vsrustium#60), 13 lines (bulkFileEdits): deleting a folder that earlier deletes in the same edit emptied becomes its own step. cargo test -p app bulk_edit; api-tests workspace applyEdit
M21 uplift mainthread/MainThreadWorkspace later M12 (vsrustium#60), 69 lines plus 61 of vscode.proposed.workspaceFolderLocations.d.ts and the extension host side that arrives with upstream: new $getWorkspaceFolderLocations(). The main thread answers by pushing $acceptWorkspaceFolderLocations([{folder, locations}]) and pushes again when folders change. The only location provider in 1.148.0 is the agent host worktree contribution (removed), so each folder has only its primary location. $updateWorkspaceFolders passes force. The git extension enables the workspaceFolderLocations proposal (platform/extensions, 3 lines) and listens to it. api-tests vscode API - workspace; the git integration run (port/results/scm.md) 91/2/0 as the reference
M21 uplift platform/workspace later M12 (vsrustium#60), 12 lines (virtualWorkspace, browser/contextkeys.ts): the workspaceHasVirtualContent context key. cargo test -p app context_keys
M21 uplift workbench/services/workspaces later M12 (vsrustium#60), 190 lines (abstractWorkspaceEditingService, workspaceEditing): the onWillRemoveFolders veto ("Remove the folder '{0}'?", "Stop and Remove") and the options object {donotNotifyError, force}, in workbench/workspace_editing.rs. The task and debug vetoes use it. cargo test -p app workspace_editing with a vetoing participant; ui-pair of the dialog with a running task
M21 uplift workbench/contrib/comments later M13 (vsrustium#61), about 300 lines (commentFormActions, commentReply, commentNode, commentService, commentsController, commentCommandIds, commentsEditorContribution, languages.ts): a controller's submit-thread button comes first in the reply form and is disabled while the reply is empty; the reply and edit editors measure their height again after a width change, the edit editor is the container width minus 14px; .picker-only reactions; the commentsInput scheme gets no commenting-range prefetch; showRangeBar: false hides the gutter range bar; Cmd+Esc moves to the new workbench.action.collapseVisibleComments, hideComment stays without a key. cargo test -p app comment; ui-pair of thread editing
M21 uplift workbench/contrib/comments: floating style later M13 (vsrustium#61), 308 lines (commentThreadFloatingWidget, its layout, commentThreadWidget, review.css): width and placement changes of comments.thread.experimental.style: floating, which was not ported at 1.147.0 either; they go in with that gap. the floating style's own check when it is ported
M21 uplift mainthread/MainThreadComments later M13 (vsrustium#61), 5 lines: the Comments view container registers once. cargo test -p app comment
M21 uplift mainthread/MainThreadSCM and workbench/contrib/scm later M14 (vsrustium#63), about 360 lines (mainThreadSCM, scm.ts, scmService, scmViewService, scmViewPane, scm.contribution, scm.css, quickDiffDecorator, vscode.proposed.scmProviderOptions.d.ts, extHost.protocol.ts): new $setSourceControlsHidden([handle, isHidden][]), applied in order after each handle's registration as one view change; the git extension (model.ts, workspaceFolderRepositories.ts, 437 lines from the reference) uses scmProviderOptions' settable isHidden for hidden warm repositories. Repositories come and go from the view, the picker and the welcome as isHidden flips; a later-found repository keeps its earlier hidden state. Sort by path compares segment by segment. Show Structural Diff defaults to shown when scm.structuralDiff.enabled is on. Group count badges become circles with tabular numbers. The quick diff gutter hit area is only the bar width. api-tests scm; cargo test -p app scm quick_diff; ui-pair of the SCM view; the git integration run
M21 uplift workbench/contrib/multiDiffEditor later M14 (vsrustium#63), 204 lines: multiDiffEditor.experimental.fileList is removed, the file list is always on unless the input says showFileList: false. Toggle Files becomes a split button (order 100001) with the new MultiDiffEditorFileListToggle menu (List/Tree, then Left/Right). The list no longer hides itself; the diffs shrink first. ui-pair of the multi diff title bar; cargo test -p app multi_diff
M21 uplift extension/git later M14 (vsrustium#63), 18 lines of package.json that need the workbench: the stage, unstage and revert selected-ranges title actions use !isInDiffLeftEditor; the port sets neither diff-side key, so these buttons would show in every diff editor: set isInDiffLeftEditor and isInDiffRightEditor. git.openMergeEditor is in the palette when git.activeResourceHasMergeConflicts. A new "Opening the Git repository..." scm welcome shows while git.openingLocation. cargo test -p app scm (diff-side keys); ui-pair of the diff editor title
M21 uplift workbench/contrib/codeEditor: terminal find later M15 (vsrustium#64), 64 lines (simpleFindWidget.ts): an incomplete count shows "N+", a provider status replaces the count, canRetry keeps next and previous enabled, there is no red outline while the count is incomplete, and late updates are dropped. cargo test -p app terminal_find
M21 uplift workbench/contrib/terminal later M15 (vsrustium#64), 7 lines (terminal.css, terminalTabbedView): the tabs list gets 4px top padding. ui-pair of the terminal tabs
M21 uplift workbench/contrib/tasks later M15 (vsrustium#64), 27 lines (abstractTaskService, taskService): the remove-folder veto for running tasks ("The task '{0}' is running."), on the workspace editing veto. cargo test -p app workspace_editing tasks
M21 uplift workbench/contrib/debug later M16 (vsrustium#65), 198 lines (repl, replCompletions, disassemblyView, debugService, debugUtils): Debug Console completions honor DAP start and length, an item whose range is off the cursor line is dropped; multi-line history suggestions insert the rest of the entry; disassembly breakpoints are matched by address; the remove-folder veto ("A debug session is running."), on the workspace editing veto. cargo test -p app repl disassembly (the replCompletions cases)
M21 uplift workbench/contrib/mediaPreview later M17 (vsrustium#66), 249 lines (mediaPlayerEditorInput, mediaPlayerEditor.css): the video player's fullscreen control opens the video in the modal editor; Escape returns it inline and playback continues. ui-pair of the video in the modal
M21 uplift workbench/contrib/webview and webviewPanel later M17 (vsrustium#66), 42 lines (webview, webviewElement, webviewMessages.d.ts, pre/index.html, webviewEditor): allowFullscreen (iframe allow=fullscreen); unmounted frames stop loading; copy, cut and paste from a menu focus the webview first; a webview editor claims the webview only for its own group. port/tools/webview-check; a copy from the Edit menu
M21 uplift extension/markdown-language-features later M17 (vsrustium#66), 99 lines: the new markdown.editor.initialMode (read or edit, default read) is read by the extension itself; @vscode/markdown-editor bump. settings-check lists it; FIXTURE=markdown-tests port/tools/webview-check
M21 uplift workbench/contrib/extensions later M18 (vsrustium#67), about 129 lines (extensions.contribution, extensionsCopyActions, extensionsActions): Copy Link's when becomes extensionHasGalleryLink (set when the extension has a url), replacing galleryHasExtensionLink. The Manage gear in the extension editor hides when the ExtensionContext menu has nothing for the extension. ui-pair of the extension editor header and context menu
M21 uplift platform/update later M19 (vsrustium#68), 11 lines (update.config.contribution): update.enableEarlyStaging (macOS, default false, experimental) is registered by the settings dump and has no effect on the port's GitHub-release updater. settings-check
Later Bun host size later Dropped from 57 to 41 MiB between milestones 1 and 2, not investigated (port/results/benchmark.md before the README benchmark, in git history).
Later Wu memory later Measured 99 MiB once and 154 to 156 MiB later, cause not investigated.
Later gpui-fast outer shadow clip later The shadow half of Wu's 471caaf3f25 is not ported: gpui-fast does not clip an outer shadow out of its element's border box, so Shadow (scene.rs) needs the element's bounds and corner radii, read by gpui_apple's and gpui_windows' shadow shaders (port/notes.md "GPUI on gpui-fast"). corner_lab stays within its thresholds without it. cargo test -p app corner_lab
Later gpui-fast Linux key names later On Linux gpui-fast's Keystroke::unparse(OperatingSystem::Linux) writes the platform key as super-q where Wu wrote cmd-q, so menubar::tests::native_menus_show_keybindings_as_key_equivalents_or_in_the_label fails on Linux only (port/notes.md "GPUI on gpui-fast"); for the M23 owner. cargo gc test -p app native_menus_show_keybindings on Linux
Later Bun native-watchdog later Bun runs without @vscode/native-watchdog (oven-sh/bun#18546): a host with a stuck event loop is not killed; recheck on each Bun upgrade.
Later composite bar insert line later activity_bar_menu.rs with_composite_drop: a drag past the last item shows no dragged-over-tail line; the line's side flips at the item's midpoint where compositeBarActions.ts updateFromDragging keeps it until 40% or 60%; in the vertical activity bar the 2px line spans the item, not --activity-bar-width, not paired with the reference. ui-pair of a container dragged past the last item of each bar
Later problems toggle opens debug console later Cmd+Shift+M (workbench.actions.view.problems) leaves the panel on the Debug Console tab where 1.148.0 shows Problems (markersView.ts toggle: open the panel and focus the markers view); seen in the ui-pair runs of the view drag work, not traced in the port yet. ui-pair: Cmd+Shift+M with the panel closed, the Problems tab active on both sides
Later files pass leftovers later No TypeScript suggest list after typing x in the ui-pair run (unchecked); Explorer not paired in the light and high contrast themes.

Units

One row per upstream unit in port/ledger/units/<area>.md, generated by bun port/tools/gen-ledger.ts; milestone, status, gaps and evidence are edited by hand and kept on rerun. Status: todo (not started), stub (answers without the real behavior), ported (behavior written, open gaps listed), verified (upstream tests or the named check pass, no open class 3 gap), removed (left out by a product decision, see port/notes.md), n/a (no counterpart in a native app). Gaps, separated by <br>: [class size] where: what. Class: 1 stale (prove with a named test, drop the comment), 2 platform limit (Artur accepts it with one line in port/notes.md "Accepted platform differences"), 3 behavior gap vs 1.147.0 (port 1:1 with a fail-without-fix test), scheduling (accepted only with a measured same result and typing on a 50k-line TS file under 16 ms per edit, otherwise class 3), linux (a macOS feature the Linux build lacks, with what Linux shows instead). Size: S, M, L. A ported row has at least one gap and an open class 3 gap keeps its row ported; a gap leaves the cell in the commit that closes it, and the row turns verified with its check when the last class 3 gap goes. Evidence names the narrowest check that can fail on the row: files, test filters and ui-pair fixtures, at most 2000 characters; the story behind them goes to port/notes.md.