Visual Studio Code, rebuilt in Rust
Rust
docs(notes): record two tests that fail under load
rokarturcade6c05661c
diff --git a/port/notes.md b/port/notes.mdindex cec91fc76e8..f347b19f6e4 100644--- a/port/notes.md+++ b/port/notes.md@@ -901,6 +901,7 @@ Scope as in the M19 Work row of port/ledger.md.- `code --status` (platform/diagnostics): the running instance answers `getMainDiagnostics` over the launch socket (`{"status": true}`): its pid and arguments, each window's id, title and folders, the extension hosts as `extension-host [n]` numbered in pid order (the port does not keep a host's pid per window), and whether VoiceOver is attached. The second instance prints `getDiagnostics` (diagnostics.rs: environment, process tree from ps.rs, workspace stats of each folder with the upstream file type, config file and launch configuration counts) or, with no instance, the upstream warning. No GPU status lines: GPUI has no Chromium GPU feature list, so `GPU Status:` is empty as `expandGPUFeatures({})` prints. cargo test -p app diagnostics::tests launch::.- vscode-api-tests, whole folder suite without the suites of removed features and notebooks (`MOCHA_GREP='^(?!(chat|lm |vscode API - browser|Notebook|ipynb|Interactive Window))'`): 274 passing, 17 pending, 7 failing in 252 s; api-workspace 4/0/0. The suite now runs to its end. Failing: `env.remoteName` (asserts `vscode.github-authentication` is installed, a sign-in extension removed by decision), `Tabs - Ensure tabs getter is correct` (notebooks, session m17b), the two `network proxy support` tests (`$loadCertificates`, `$lookupAuthorization` not answered), and three CustomExecution task tests that time out in the full run.- Proxy requests of MainThreadWorkspace (workbench/proxy_auth.rs): `$loadCertificates` answers the keychain certificates of `security find-certificate -a -p` (proxy-agent's `readMacCaCertificates`) without the expired ones (`filterExpiredCertificates`; the host asks only with `http.systemCertificatesNode` off, else it reads them itself), `$lookupAuthorization` answers auth.ts's credentials: an extension test run's realm, else the `http.proxy` or proxy variable user info until the proxy rejects it. Not ported: the proxy login dialog and its stored credentials (shortcut in the file). `vscode API - network proxy support`: basic auth passes on Bun and Node; custom root certificate passes on both: Bun 1.4.5's `tls.connect` builds its secure context without calling `tls.createSecureContext`, where proxy-agent adds the `_vscodeAdditionalCaCerts` of `http.systemCertificates` (and the tests' `testCertificates`), so on Bun the host's patched `tls.connect` builds that context itself (proxyResolver.ts `addBunSecureContext`, gated on `process.versions.bun`).+- Flaky under load, open, not diagnosed: `workbench::snippet_actions::tests::snippets_insert_by_name_or_body_and_surround_the_selection` and `workbench::rename::tests::no_result_falls_back_to_the_next_provider_then_an_info_notification` failed once each in large `editor:: workbench::` runs and pass alone and in repeated filtered runs. The accessibility test with the same symptom read the wall clock (`c58d7539460`); look for timing in these first. They belong to milestone 20's verification.- `workbench.action.tasks.runTask` with a name or identifier the tasks resolve runs the task directly (`_runTaskCommand` calls `this.run(task)` without `attachProblemMatcher`); the port showed the problem matcher picker for a name, which left the CustomExecution tests started by `runTask` waiting.- MainThread* methods answering `undefined` (exthost/session.rs fallback and the forwarded proxies' `_ =>` arms), audited against extHost.protocol.ts 1.147.0: the ones an extension observes are gap entries of their MainThread* rows in port/ledger.md. The rest by reason: proposals no built-in enables (`$createNotebookExecution`, `$beginNotebookExecution`, `$completeNotebookExecution`, kernel detection tasks and source actions, `$variablesUpdated`, debug visualizers, structural diff, new symbol names, inline completion model and option events); consumers removed by decision (canonical URI and edit session identity providers: edit sessions, Authentication, GitHub accounts, chat, language models, MCP, speech, AI search, share, tunnels, browsers, git extension service, label formatters of remote resolvers, profile content handlers, search providers); one extension host (`$activateExtension` of a host extension); the session evaluates `workspaceContains` itself (`$checkExists`); telemetry (`$logResolveTreeNodeFailure`, `$handleTelemetry`); tracked by views rows (`$setWebviewViewBadge`: workbench/contrib/webviewView; `$emitInlineValuesEvent`, evaluatable expressions: workbench/contrib/debug).- workbench/services/sharedProcess and workbench/services/utilityProcess: the port has no shared process and no utility process workers; each channel a kept feature opened to them runs in the app process, checked in its own row. `ISharedProcessService.getChannel`: `extensions` (NativeExtensionManagementService) is exthost/src/extension_management.rs (platform/extensionManagement, port/tools/extensions-check), `extensionGalleryManifest` is the Open VSX gallery (gallery/open-vsx), `extensionTipsService` is app/src/extension_recommendations.rs (platform/extensionRecommendations), `languagePacks` is exthost/src/language_packs.rs (platform/languagePacks), `checksum` is n/a (platform/checksum); `telemetryAppender`, `customEndpointTelemetry`, `userDataSync*`, `userDataAutoSync`, `mcpManagement`, `mcpGalleryManifest`, `remoteTunnel`, `sharedProcessTunnel`, `localGit`, `playwright` and `sharedWebContentExtractor` serve removed features. `IUtilityProcessWorkerWorkbenchService.createWorker`: its one kept client, the universal file watcher of diskFileSystemProvider.ts, is files/src/watcher.rs on an FSEvents thread (platform/files, api-tests `vscode API - workspace-watcher`); localTranscription is AI (removed). `notifyRestored`'s barrier (connect after the Restored phase or 2 s) has nothing to delay: no process starts.