Visual Studio Code, rebuilt in Rust
Rust
docs(results): record the 1.148.0 api-tests and pixel baselines
rokartur95e4d6148a59
diff --git a/port/ledger.md b/port/ledger.mdindex 2379696677d..2a1fec47065 100644--- a/port/ledger.md+++ b/port/ledger.md@@ -106,7 +106,7 @@ Status: `open`, `in progress`, `waiting on Artur`, `later` (postponed), `done`,| M21 uplift | setup: upstream checkout | done | `upstream/` checked out at `1.148.0` (1.148.0 is not a descendant of 1.147.0: each release is its own branch; `GIT_LFS_SKIP_SMUDGE=1`, the LFS files are Copilot test caches); the Studio mirror links it to `~/Developer/vscode-ref-1.148.0`. 1.148.0 does not change the files that the 8 `port/patches/*.patch` and the `product.json` overlay touch (`git diff 1.147.0 1.148.0` of them is empty). Extension host rebuilt. | `git -C upstream apply --check port/patches/*.patch`: all 8 apply; `port/tools/build-exthost`: 683 modules bundled (2026-12-01) || M21 uplift | setup: proxy ids | done | 1.148.0 appends `MainThreadRemoteAgentHosts` to `MainContext` (id 90), so every `ExtHostContext` id after it moves by one: `bun port/tools/gen-proxy-ids.ts` (172 identifiers). The port answers the new proxy as inert, the same as the other removed agent proxies: its two methods return void, so the session.rs fallback (`undefined`) is the whole answer. | `cargo test -p exthost`: 88 passed; exthost-probe on Bun and Node: 26/26 code extensions activate, both round trips pass, the same 26 as with the 1.147.0 extensions (2026-12-01) || M21 uplift | setup: reference dumps | later | Rerun `port/tools/dump-settings`, `ref-commands`, `ref-contextmenu`, `ref-menubar`, `ref-hover` and `ref-dom`. They bring in without code: `workbench.editor.newTabButton` (renamed from `workbench.editor.experimental.newTabButton`), the removed `multiDiffEditor.experimental.fileList`, the new `update.enableEarlyStaging`, `markdown.editor.initialMode` and `workbench.editor.experimental.emptyEditorHintOpenInMarkdownEditor`. | `port/tools/settings-check` lists the new settings and not the removed one |-| M21 uplift | setup: baselines | later | Refresh the pixel-check baseline and `port/results/api-tests-reference.md`. 1.148.0 adds `browser.tools.test.ts` cases (integrated browser, removed) and an `http.noProxy` step in `proxy.test.ts` (row extension/vscode-api-tests). | api-tests reference numbers for 1.148.0 in port/results/api-tests-reference.md |+| M21 uplift | setup: baselines | done | Refresh the pixel-check baseline and `port/results/api-tests-reference.md`. 1.148.0 adds `browser.tools.test.ts` cases (integrated browser, removed) and an `http.noProxy` step in `proxy.test.ts` (row extension/vscode-api-tests). | api-tests on the 1.148.0 reference: api-folder 362/46/0 (6 new tests, all in the removed `chat - browser tools` suite, so the port's target stays 318/28/0), api-workspace 4/0/0 (port/results/api-tests-reference.md); pixel-check against 1.148.0 in port/results/pixels.md "Baseline against 1.148.0" (2026-12-01) || M21 uplift | setup: version bump | done | 1.148.0 in `VERSION` (`native/crates/app/src/main.rs`), in this file's header and 1:1 rule, and in README.md's coverage line (`port/tools/readme-coverage.ts` now reads the version from upstream's `package.json`); evidence that names a 1.147.0 dump keeps its version. `bun port/tools/gen-ledger.ts` added one unit: `mainthread/MainThreadRemoteAgentHosts`, `removed` (remote agent hosts). `mainthread/MainThreadGitExtensionService` (21 lines) is a client of the removed IGitService and stays with the `removed` row `mainthread/MainThreadGitExtension`. | `bun port/tools/ledger-check.ts` exits 0; 595 rows (2026-12-01) || M21 uplift | setup: diff recount | done | Run `bun port/tools/uplift-diff.ts 1.148.0 1.147.0` on the split tree and compare its group counts with section 1 of `port/plans/uplift-1.147.0-to-1.148.0.md`. Same as the plan but for the new `removed` row `mainthread/MainThreadRemoteAgentHosts` (36 lines), which moves from "new upstream unit" to "removed by decision". | to port 79 rows (10,606 lines), new unit 1 (21, `mainthread/MainThreadGitExtensionService`), removed by decision 32 (78,874), tests only 8, API typings 5, not mapped 29 folders (2026-12-01) || M21 uplift | extension/* grammars | later | M7. New upstream grammar commits for cpp, csharp, dart, dotenv, go, java, latex, log, php, razor, rust and scss (1,265 lines of data) arrive with the reference's extensions; the colorize fixtures `test-80644_cpp`, `test_env` and `test_tex` change (712 lines). | `cargo test -p app syntax` (`colorize_fixtures_match_the_reference`) |diff --git a/port/results/api-tests-reference.md b/port/results/api-tests-reference.mdindex d13636f9335..91585b0d87e 100644--- a/port/results/api-tests-reference.md+++ b/port/results/api-tests-reference.md@@ -1,25 +1,25 @@-# vscode-api-tests on the reference build (1.147.0, untouched)+# vscode-api-tests on the reference build (1.148.0, untouched)-Command, on the Mac Studio in `~/Developer/vscode-ref`: `SHELL=/bin/bash ./scripts/test-integration.sh --suite api-folder` and `--suite api-workspace` (Electron dev build from `npm run electron`).+Command, on the Mac Studio in `~/Developer/vscode-ref-1.148.0` (milestone 21; 1.147.0 gave 356/46/0 in `~/Developer/vscode-ref`): `SHELL=/bin/bash ./scripts/test-integration.sh --suite api-folder` and `--suite api-workspace` (Electron dev build from `npm run electron`).| suite | passing | pending | failing ||-------|---------|---------|---------|-| api-folder | 356 | 46 | 0 |+| api-folder | 362 | 46 | 0 || api-workspace | 4 | 0 | 0 |-`SHELL=/bin/bash` is required on the Studio: under its fish login shell, 6 tests fail on the environment, not the product (the terminal tests capture fish's prompt or time out, and the CDP golden scenario timed out in the same run). With bash all 356 pass.+`SHELL=/bin/bash` is required on the Studio: under its fish login shell, 6 tests fail on the environment, not the product (the terminal tests capture fish's prompt or time out, and the CDP golden scenario timed out in the same run). With bash all 362 pass. 1.148.0's 6 new tests are all in `browser.tools.test.ts` (dialogs answered by the agent's browser tools); its `http.noProxy` step sits inside an existing `proxy.test.ts` test, so it changes no count.The port is held to 318/28/0 (folder): the suites and tests of features removed by decision (port/notes.md) leave the target. Counted from the bash run's log, top-level suites:| suite | passing | pending ||-------|---------|---------|| chat | 5 | 3 |-| chat - browser tools | 6 | 0 |+| chat - browser tools | 12 | 0 || chat - run_in_terminal | 3 | 12 || lm | 5 | 0 || vscode API - browser (integrated browser, removed later) | 17 | 3 || vscode API - browser CDP (integrated browser, removed later) | 1 | 0 || vscode API - env: `env.remoteName` (asserts the removed `vscode.github-authentication` sign-in extension is installed) | 1 | 0 |-| total | 38 | 18 |+| total | 44 | 18 |Counted from the test sources for the suites removed after the reference run: `browser.test.ts` has 17 tests that run outside a remote and 3 skipped (the remote network test and the two `test.skip` file:// tests), `browser.cdp.test.ts` one golden scenario test that runs outside a remote.diff --git a/port/results/pixels.md b/port/results/pixels.mdindex c3401aa7d35..e9bc2b918c0 100644--- a/port/results/pixels.md+++ b/port/results/pixels.md@@ -2,6 +2,25 @@`port/tools/pixel-check` on the Mac Studio: the reference workbench captured through CDP (`port/tools/ref-screenshot`, 1024x768 at 2x, frozen: solid cursor, reduced motion, no startup editor, `chat.disableAIFeatures`) against the port's frame read back from Metal (`code-gpui --theme <id> --screenshot`, built with `--features screenshot`). Neither capture needs Screen Recording permission. Diff: `native/crates/pixeldiff`, threshold 0, anti-aliased pixels counted apart.+## Baseline against 1.148.0, milestone 21++Full `port/tools/pixel-check` on the Studio host lane against `~/Developer/vscode-ref-1.148.0` (`REF` and `VSCODE_GPUI_EXTENSIONS` set to it) with the version bump built, default 10 windows, before any 1.148.0 work item: the starting point milestone 21's items are measured from.++| window | dark | light | hc | hclight |+|---|---|---|---|---|+| empty | 123853 | 123689 | 120493 | 120464 |+| folder | 124161 | 123939 | 120842 | 120719 |+| file | 7880 | 4947 | 2936 | 3622 |+| main | 7825 | 4837 | 2411 | 3708 |+| multiroot | 124271 | 123979 | 120937 | 120760 |+| folded | 10538 | 15704 | 5010 | 6670 |+| find | 11486 | 15674 | 6547 | 14794 |+| quickopen | 39249 | 53041 | 6395 | 19837 |+| split | 10516 | 8609 | 5077 | 9810 |+| panel | 14134 | 12682 | 19821 | 22441 |++- Against the second milestone 20 check (1.147.0): every dark window with an editor open grows by about 2,000 to 2,500 pixels (file 5439 to 7880). The diff is the tab strip's bottom line, which 1.148.0 draws from the end of the last tab to the window edge: the connected-tab strip separator and the tab border fallback (ledger rows M21 `workbench/contrib/modernUI` and `workbench/services/themes`). light, hc and hclight are within 300 pixels of milestone 20's or below them (main hc 2411, from 3973).+## Third completion check, milestone 20Full `port/tools/pixel-check` on the Studio host lane at 99caa36b7ed (vsrustium/main after testing results, inline and view coverage, the Windows seams and the README and benchmark) and again at 2cb63eb702e (vsrustium/main after pill tabs, the settings import layout and the top bar's extension icons), release build with `--features screenshot` made in a build slot before the lane, 1.147.0 reference (`~/Developer/vscode-ref`). The table is the 2cb63eb702e run.