Visual Studio Code, rebuilt in Rust
Rust
docs(port): record the M26 gate and close the milestone
rokarturc3df22e6aa58
diff --git a/port/ledger.md b/port/ledger.mdindex 869c54b845e..2cfc97f92c5 100644--- a/port/ledger.md+++ b/port/ledger.md@@ -42,10 +42,10 @@ Status: `open`, `in progress`, `waiting on Artur`, `later` (postponed), `done`,| Milestones | M20 multi-instance code editor | done | Upstream every diff side, multi diff file side, notebook cell and walkthrough snippet is its own CodeEditorWidget. The port keeps one focused code editor per group bound to `text_area`, `editor_focus`, the input handler and `editors.active()`, as upstream's one focused widget takes the keys; every other code editor of the group keeps its own viewport, text area cells, minimap layout and find widget (code_editors.rs `parked`, `finds`) and draws through `text_area` as an inactive group's editor, with its own hover, color decorators, bracket guides and overview ruler; a press focuses it, a wheel scrolls it. Through it: the diff editor's original side (focus, selection, find), the multi diff file sides (the modified side takes typing and undo, its diff follows), notebook cells and playground snippets. | `cargo test -p app -- a_file_side_is_a_code_editor every_drawn_file_side the_original_side_takes_the_focus_selection_and_find each_group_keeps_its_own_find_widget the_focused_cell_is_the_code_editor unfocused_cell unfocused_snippet the_host_sees_the_code_editors_of_the_rendered_cells part_view::`: 17 passed; port/notes.md milestone 20, Multi-instance code editor || Milestones | M21 uplift to VS Code 1.148.0 | in progress | 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 | M22 split the port from the VS Code tree | done | Artur: `main` holds the Rust port only (`native/`, `port/`, the port's skills, README and licenses) and upstream VS Code is `upstream/` (ignored), checked out detached at the followed tag, never edited; an uplift moves it with `git -C upstream checkout <tag>`. Every build step and tool reads upstream from `upstream/` or the path in `VSCODE_SRC`. Decision (Artur): `main` kept its history: a fast-forward by the port's branch plus one commit that removes the VS Code tree; no orphan commit, no `git filter-repo`, no force-push. Port version: the followed VS Code version is `package.json`'s `version` in `VSCODE_SRC`, which `uplift-diff.ts` reads as its default `from` and package-app as its default `VERSION`; `VERSION` in main.rs (the API version extensions see) repeats it. | Steps 1 and 2 (branch `port-m22-split`): `VSCODE_SRC` resolved by `native/vscode_src.rs` (build scripts of app, diff, files; `env!("VSCODE_SRC")`), `port/tools/vscode-src.sh` and `port/tools/vscode-src.ts`; the dev app root is `VSCODE_SRC` (runtime env over the build's value), the host bundle stays in the checkout's `out-exthost/`; the upstream edits are `port/patches/src-*.patch` (build-exthost, on a copy in `out-exthost/build`) and `extensions-*.patch` (package-app), `port/product.json` is the overlay. Step 3 (branch `port-release`): one commit `git rm`s the VS Code tree (21458 files); `ThirdPartyNotices.txt` ships from `VSCODE_SRC`, `LICENSE.txt` from the repo root; `exthost`'s `proposed_api.rs`, `run-app-check`'s extensions default and the dev host's AMD modules (`build-exthost` links `node_modules` beside `out-exthost` to `VSCODE_SRC`'s) read `VSCODE_SRC`; a Studio mirror of a tree without `src/` links `upstream` to `~/Developer/vscode-ref` (`port/tools/studio`). Step 4: a clean clone builds, tests, packages and passes the full check (the README's Build section at 96b0e476067). `git ls-tree main` holds no upstream file. |-| 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 (`native/vendor/wu`) already has its Linux platform (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 | 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 | 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 | M26 GPUI on gpui-fast | in progress | Artur, 2026-12-01: the port's GPUI moves from Wu (dstrml/wu a3ced28, vendored in `native/vendor/wu`) to gpui-fast (longbridge/gpui-fast f0a91cf952678e4d205da1ec189b6d134e975bcd, base zed a36d485), a Zed GPUI fork whose Retained Mode redraws only the views that changed. Integration branch `worktree-gpui-fast`, in phases; `main` stays on Wu until the gate below is green. Reason, risks, sync and rollback: port/notes.md "GPUI on gpui-fast". | All area tests and `port/tools/api-tests` green; `cargo test -p app corner_lab` within today's thresholds; a Retained Mode on/off differential test without differences; GUI: open a folder, edit, save, an extension (exthost handshake, emmet, git), a webview, a long list scroll, the terminal; `port/tools/bench` not worse than Wu in any column; `bun port/tools/ledger-check.ts` passes. |+| Milestones | M26 GPUI on gpui-fast | done | Artur, 2026-12-01: the port's GPUI moved from Wu (dstrml/wu a3ced28) to gpui-fast (longbridge/gpui-fast f0a91cf952678e4d205da1ec189b6d134e975bcd, base zed a36d485, vendored in `native/vendor/gpui-fast`), a Zed GPUI fork whose Retained Mode redraws only the views that changed; `native/vendor/wu` is deleted. Reason, risks, sync, the gate's results and the open gaps (outer shadow clip, Linux `super-q`): port/notes.md "GPUI on gpui-fast". | All area tests and `port/tools/api-tests` green; `cargo test -p app corner_lab` within today's thresholds; a Retained Mode on/off differential test without differences; GUI: open a folder, edit, save, an extension (exthost handshake, emmet, git), a webview, a long list scroll, the terminal; `port/tools/bench` not worse than Wu in any column; `bun port/tools/ledger-check.ts` passes. Results: port/notes.md "GPUI on gpui-fast", "M26 gate". || M23 Linux | app/src/webview/linux.rs:66 | done | [linux L] webviews through WebKitGTK: webview panels and views, editor insets, notebook outputs, extension details, release notes. | `FIXTURE=webview-tests port/tools/linux/smoke` on X11 (Xvfb): 10/10 ok; `cargo gc test -p app webview` on Linux: 19 passed || 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. | |@@ -163,6 +163,8 @@ Status: `open`, `in progress`, `waiting on Artur`, `later` (postponed), `done`,| M21 uplift | platform/update | later | M19, 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 |diff --git a/port/notes.md b/port/notes.mdindex 7f42155571c..fa98605bdf1 100644--- a/port/notes.md+++ b/port/notes.md@@ -1103,11 +1103,11 @@ Work the port does at another time than 1.147.0, accepted with a measured same r## GPUI on gpui-fast (milestone 26, branch worktree-gpui-fast)- Decision (Artur, 2026-12-01): the port's GPUI moves from Wu (dstrml/wu `a3ced28`, `native/vendor/wu`) to gpui-fast (longbridge/gpui-fast `f0a91cf952678e4d205da1ec189b6d134e975bcd`, `UPSTREAM` zed `a36d4850f3c087bfef8a3552e2e15d72d97efdf4`, import commit `d8c5342`). Reason: its Retained Mode (`fast/retained.rs`) redraws only views that called `cx.notify()`, and its layout caches (`fast/layout.rs`, `fast/layout_key.rs`) skip unchanged subtrees, the frame cost the port's long lists and editors pay on Wu. `main` stays on Wu until the M26 "done when" gate is green.-- Vendored like Wu: `native/vendor/gpui-fast` holds `crates/gpui`, `gpui_apple`, `gpui_windows`, `assets/fonts` and the licenses at `f0a91cf` (commit `903a3944bae`, unchanged, so later commits show only the port's patches); `native/Cargo.toml` takes `gpui` and `gpui_platform` from the git rev and `[patch."https://github.com/longbridge/gpui-fast"]` points the three crates at the copies. `native/vendor/wu` stays until `main` switches: `main` builds from it and the Wu-era results (`port/results/corners.md`) cite it; nothing on this branch builds from it.+- Vendored like Wu: `native/vendor/gpui-fast` holds `crates/gpui`, `gpui_apple`, `gpui_windows`, `assets/fonts` and the licenses at `f0a91cf` (commit `903a3944bae`, unchanged, so later commits show only the port's patches); `native/Cargo.toml` takes `gpui` and `gpui_platform` from the git rev and `[patch."https://github.com/longbridge/gpui-fast"]` points the three crates at the copies. `native/vendor/wu` is deleted once the M26 gate passed (nothing built from it); the Wu-era results (`port/results/corners.md`) cite it as history, and its port commits are the table below.- Toolchain: `native/rust-toolchain.toml` pins 1.100.0, gpui-fast's pin (`gpui_macros` uses `str::trim_prefix`, unstable in 1.99.1). The lockfile moves cocoa 0.26 to 0.25 and cocoa-foundation 0.2.1 to 0.1.2, gpui-fast's versions.- Licenses: every gpui-fast crate in the graph is Apache-2.0 on every target, so `port/tools/check-licenses` checks all platforms (Wu's `gpui_linux` and `gpui_windows` pulled a GPL i18n crate, which is why it filtered to aarch64-apple-darwin).- Risks: one company's experimental fork; Retained Mode shows a stale view wherever the port changes state without `cx.notify()` (Wu repainted everything each frame, so a missing notify went unseen); gpui-fast's `view.rs` drops upstream's cache-by-bounds for `fast::retained` (its docs/upstream-sync.md), and `workbench/part_view.rs` (`AnyView::cached`) is the port's one cached view; the Chromium-fidelity patches below land in files gpui-fast rewrote (`taffy.rs` is a dead file behind `#[path = "fast/taffy.rs"]`, text and list layout go through `fast/`), so they are re-ports, not cherry-picks; the README's benchmark baseline changes with the GPUI. Retained Mode off for a comparison: `GPUI_VIEW_RETENTION=0`, or `Window::set_view_retention(false)` in tests.-- Sync: read gpui-fast's `UPSTREAM` and `script/check-upstream`, bump the rev in `native/Cargo.toml` and the vendored copy in one commit, reapply the port's vendor commits, rerun the M26 gate. Rollback: `main` is on Wu; dropping the branch undoes everything.+- Sync: read gpui-fast's `UPSTREAM` and `script/check-upstream`, bump the rev in `native/Cargo.toml` and the vendored copy in one commit, reapply the port's vendor commits, rerun the M26 gate. Rollback: revert the M26 merge, which brings back `native/vendor/wu` and the Wu rev.- Forced API changes (the build had 11 errors in `app` and 18 more in its tests, 0 on Wu; now 0 and 0):- Ported on `gpui-fast-b1-fidelity`, so the `shortcut:` fallbacks are gone: `Window::paint_backdrop_blur` (`quick_input_view.rs` `frosted_glass`, `corner_lab.rs`), `Window::layout_subpixel_x` and `TextStyle::strut_size` (189efc4c454; `file_icons.rs`, `icon_label.rs`), `ListState::with_whole_pixel_item_heights` (40f47558cba; `settings_editor_view.rs`).- `Menu::window_menu` (Wu's own) is gone: gpui-fast's gpui_macos makes only the menu titled "Window" the windows menu (zed's rule). `menubar.rs` `fix_up_app_kit_menus` sets the translated one with `setWindowsMenu` and lists the open windows with `addWindowsItem` (set after the menu is in the menu bar, AppKit lists only windows ordered in later), as tauri-apps/muda `set_as_windows_menu_for_nsapp` does (MIT/Apache-2.0); vendoring gpui_macos for a flag was the other choice. Checked with the German language pack (`--locale de`): "Fenster" holds AppKit's Minimize, Zoom and tiling items and the window, as "Window" does in English; without the change it held only the port's three items.@@ -1130,6 +1130,12 @@ Work the port does at another time than 1.147.0, accepted with a measured same r- The same trap in three more places, each a value laid out in paint and read by a render that had already run: the standalone color picker's header width from the saturation box (`color_picker.rs`), the settings search suggest widget's left edge from the input's caret x (`search_suggest.rs`, through `InputView::x_of_char_after_paint`), and the quick input list's scroll top, which the list clamps to its end as it lays out after `keep_scroll_position` (`quick_input_view.rs`). Each draws again through `part_view::redraw_after_frame` when the painted value differs. 4, `standalone_color_picker`, `settings_editor_view` `typed_at_opens_the_search_suggestions_and_enter_inserts_the_selected_one`, `quick_input_view` `keep_scroll_position_keeps_the_list_where_it_is`.- A false difference of the check: its full render draws every view again, so `part_view` `a_cursor_blink_draws_the_editor_part_alone`, which counts the side bar's renders through a blink, returns early under `GPUI_RETENTION_CHECK=1`; the plain run keeps it. 1.- Head after these: `GPUI_RETENTION_CHECK=1` 3747 passed, 0 failed; plain 3747 passed, 0 failed.+- M26 gate (head 4e89e178e8e against Wu, a release build of main 6e61ee3307f, Studio):+ - `port/tools/api-tests`: api-folder 322 passing, 45 pending, 41 failing, api-workspace 4/0/0, on gpui-fast and on Wu alike, with the same 41 failing titles (the integrated browser, chat, lm, `env.remoteName`, the terminal tool: removed features).+ - `port/tools/cargo-test` (app): 3767 passed, 0 failed, 21 ignored, plain and with `GPUI_RETENTION_CHECK=1`; `cargo gc clippy -p app -p exthost --all-targets --locked -- -A clippy::all` exits 0.+ - `port/tools/cargo-test corner_lab`: 1 passed, within its thresholds (4 levels, the backdrop blur 9 on the arc and 1 inside).+ - GUI (`port/tools/ui-pair` with `ONLY=port`, host lane): a git folder with 3000 files in one folder and a 20,000-line file opened, `ul>li*3` expanded by emmet on Tab (`emmet.triggerExpansionOnTab`) and saved to disk, the exthost log lists vscode.git, vscode.emmet and vscode.github activated, Source Control shows the change, the markdown preview webview renders, the explorer reveals and scrolls the 3000 rows, the editor scrolls the long file, the terminal runs `echo`. Found on both GUIs alike, so not M26: the Command Palette does not list Emmet: Expand Abbreviation in an HTML editor.+ - `port/tools/bench` (5 runs each after a warm-up, alternating, 1-minute load 17.3 and 18.7 at the medians), gpui-fast against Wu: window 0.85 / 0.83 s, ready 2.52 / 2.48 s, CPU 2.58 / 2.63 s, idle 0.6 / 0.7 %, quit 0.12 / 0.13 s, peak footprint 418 / 428 MiB, peak RSS 679 / 676 MiB, footprint at 90 s 224 / 226 MiB, RSS at 90 s 365 / 362 MiB, extension host 80 / 81 MiB. `bun port/tools/bench-check.ts run.tsv gpuifast wu`: every metric within its noise margin of Wu.- The 31 Wu commits (`git log -- native/vendor/wu`, newest first). Hunks: the commit's Rust and Metal hunks under `crates/`; failed: the hunks `patch --dry-run` rejects on the gpui-fast copy, each commit tried alone (a commit that builds on an earlier one also fails where that one is missing). Merge commits carry no change of their own.| Commit | Subject | Area | In gpui-fast | gpui-fast files | Hunks, failed |