Visual Studio Code, rebuilt in Rust
Rust
chore(port): merge gate checks an app window with run-app-check
rokartur75158132ff2e
diff --git a/port/ledger.md b/port/ledger.mdindex e958b15f0d3..86372b307bb 100644--- a/port/ledger.md+++ b/port/ledger.md@@ -14,7 +14,7 @@ Status: `open`, `in progress`, `waiting on Artur`, `later` (postponed), `done`,| 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) | sharedProcess and utilityProcess services | done | `workbench/services/sharedProcess` and `workbench/services/utilityProcess` are not `n/a` (Artur); documented 1:1 by what replaces each channel. | port/notes.md milestone 20 || Decisions (Artur) | Windows signing | done | Milestone 24 ships unsigned: no Authenticode certificate; SmartScreen warns on first run. | |-| Decisions (Artur) | merge gate additions | waiting on Artur | `/skill:retro` and a window-open check (count of app windows, not only "process alive"). | |+| 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 | M1 extension host seam | done | Rust parent, upstream framing and RPC, Bun host, 30/30 built-ins activate. The session.rs fallback is audited per method (port/notes.md); observable methods are gap entries of their MainThread* rows. | `exthost-probe`, `port/results/benchmark.md` || Milestones | M2 empty workbench | done | Title bar, activity bar, letterpress, status bar in 3 themes. | `port/results/pixels.md` milestone 2 || Milestones | M3 open a folder | done | Explorer tree, folder in init data and `$initializeWorkspace`. | `port/results/pixels.md` milestone 3 |diff --git a/port/tools/run-app-check b/port/tools/run-app-checkindex 1017e4315b7..deb36bd6725 100755--- a/port/tools/run-app-check+++ b/port/tools/run-app-check@@ -1,5 +1,6 @@#!/usr/bin/env bash# Starts vsrustium for a few seconds, prints its process tree and saves a screenshot of its window to port/results/raw/.+# Exits 1 when the app shows no window: the merge gate's window-open check.set -euo pipefailcd "$(dirname "$0")/../.."mkdir -p port/results/raw@@ -18,3 +19,4 @@ fikill "$pid"wait "$pid" 2>/dev/null || truerm -rf "$data_dir"+[[ -n "$window_id" ]]