Visual Studio Code, rebuilt in Rust
Rust
docs(ledger): track the red Linux app tests in CI
rokartur3a73e3dfa53e
diff --git a/port/ledger.md b/port/ledger.mdindex a3c15dc118e..e949dc3419d 100644--- a/port/ledger.md+++ b/port/ledger.md@@ -67,6 +67,7 @@ Status: `open`, `in progress`, `waiting on Artur`, `later` (postponed), `done`,| 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/linux.yml:1 | done | [linux S] move actions/checkout, actions/setup-node and actions/upload-artifact from v4 to their Node 24 majors (pinned by SHA). | checkout v7.0.1, setup-node v7.1.0, upload-artifact v7.0.2 by SHA; the workflow not run yet |+| 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 || M23 Linux | port/tools/package-linux:1 | done | [linux M] Linux builds of the host's native modules (@vscode/spdlog, kerberos): package-linux rebuilds them with node-gyp; a dev run in the Studio container still loads the reference's macOS builds (its pnpm install ran on macOS), a Linux install of upstream builds them for Linux. | the extracted `VSRustium-1.147.0-linux-arm64.tar.gz` writes `logs/<session>/window1/exthost/exthost.log` (spdlog) and passes `port/tools/linux/smoke` || M24 Windows | port/tools/windows-build:1 | done | [windows M] cross build on the Studio: `cargo gc xwin` with Homebrew llvm and lld on PATH, for `x86_64-pc-windows-msvc` and `aarch64-pc-windows-msvc`; the Unix-only std and libc calls (files/src/disk.rs:58, exthost/src/lib.rs:31, app/src/cli.rs:7, app/src/launch.rs:5, app/src/shell_env.rs:5, app/src/update/install.rs:39) behind `cfg(unix)` with a Windows counterpart or an M24 row naming what Windows shows meanwhile. The app's tests build for Windows: the tests that lock files or folders through Unix modes or make symlinks are `cfg(unix)` (their Windows counterparts are the files/src/disk.rs:58 row). | `port/tools/windows-build 'cargo gc xwin build --bins --tests -p app --target x86_64-pc-windows-msvc'` and the same for `aarch64-pc-windows-msvc` exit 0 || 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 |