diff --git a/.devcontainer/arduino/devcontainer.json b/.devcontainer/arduino/devcontainer.json index 9924438..c6d72d8 100644 --- a/.devcontainer/arduino/devcontainer.json +++ b/.devcontainer/arduino/devcontainer.json @@ -15,16 +15,13 @@ }, "onCreateCommand": "pipx install platformio && node scripts/prepare-demo.mjs arduino && npm install -g @usedrift/cli", "waitFor": "onCreateCommand", - "postAttachCommand": "drift analyze < /dev/null", + "postAttachCommand": "sleep 10 && drift analyze < /dev/null", "customizations": { "vscode": { "extensions": [ "drift.usedrift" ], "settings": { - "security.workspace.trust.enabled": false, - "security.workspace.trust.startupPrompt": "never", - "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/cargo/devcontainer.json b/.devcontainer/cargo/devcontainer.json index ff46be6..f5a8e9c 100644 --- a/.devcontainer/cargo/devcontainer.json +++ b/.devcontainer/cargo/devcontainer.json @@ -15,16 +15,13 @@ }, "onCreateCommand": ".devcontainer/cargo/setup.sh && npm install -g @usedrift/cli", "waitFor": "onCreateCommand", - "postAttachCommand": "drift analyze < /dev/null", + "postAttachCommand": "sleep 10 && drift analyze < /dev/null", "customizations": { "vscode": { "extensions": [ "drift.usedrift" ], "settings": { - "security.workspace.trust.enabled": false, - "security.workspace.trust.startupPrompt": "never", - "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/cocoapods/devcontainer.json b/.devcontainer/cocoapods/devcontainer.json index e1036c4..68121e6 100644 --- a/.devcontainer/cocoapods/devcontainer.json +++ b/.devcontainer/cocoapods/devcontainer.json @@ -15,16 +15,13 @@ }, "onCreateCommand": "gem install cocoapods --no-document && node scripts/prepare-demo.mjs cocoapods && npm install -g @usedrift/cli", "waitFor": "onCreateCommand", - "postAttachCommand": "drift analyze < /dev/null", + "postAttachCommand": "sleep 10 && drift analyze < /dev/null", "customizations": { "vscode": { "extensions": [ "drift.usedrift" ], "settings": { - "security.workspace.trust.enabled": false, - "security.workspace.trust.startupPrompt": "never", - "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/conan/devcontainer.json b/.devcontainer/conan/devcontainer.json index 76757c3..623b86e 100644 --- a/.devcontainer/conan/devcontainer.json +++ b/.devcontainer/conan/devcontainer.json @@ -15,16 +15,13 @@ }, "onCreateCommand": "pipx install conan && node scripts/prepare-demo.mjs conan && npm install -g @usedrift/cli", "waitFor": "onCreateCommand", - "postAttachCommand": "drift analyze < /dev/null", + "postAttachCommand": "sleep 10 && drift analyze < /dev/null", "customizations": { "vscode": { "extensions": [ "drift.usedrift" ], "settings": { - "security.workspace.trust.enabled": false, - "security.workspace.trust.startupPrompt": "never", - "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/go/devcontainer.json b/.devcontainer/go/devcontainer.json index a22d76d..5058d2c 100644 --- a/.devcontainer/go/devcontainer.json +++ b/.devcontainer/go/devcontainer.json @@ -15,16 +15,13 @@ }, "onCreateCommand": "node scripts/prepare-demo.mjs go && npm install -g @usedrift/cli", "waitFor": "onCreateCommand", - "postAttachCommand": "drift analyze < /dev/null", + "postAttachCommand": "sleep 10 && drift analyze < /dev/null", "customizations": { "vscode": { "extensions": [ "drift.usedrift" ], "settings": { - "security.workspace.trust.enabled": false, - "security.workspace.trust.startupPrompt": "never", - "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/hex/devcontainer.json b/.devcontainer/hex/devcontainer.json index 7c2026f..9f9969e 100644 --- a/.devcontainer/hex/devcontainer.json +++ b/.devcontainer/hex/devcontainer.json @@ -16,16 +16,13 @@ }, "onCreateCommand": "node scripts/prepare-demo.mjs hex && npm install -g @usedrift/cli", "waitFor": "onCreateCommand", - "postAttachCommand": "drift analyze < /dev/null", + "postAttachCommand": "sleep 10 && drift analyze < /dev/null", "customizations": { "vscode": { "extensions": [ "drift.usedrift" ], "settings": { - "security.workspace.trust.enabled": false, - "security.workspace.trust.startupPrompt": "never", - "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/maven/devcontainer.json b/.devcontainer/maven/devcontainer.json index f4ad983..0455ba1 100644 --- a/.devcontainer/maven/devcontainer.json +++ b/.devcontainer/maven/devcontainer.json @@ -19,16 +19,13 @@ }, "onCreateCommand": "node scripts/prepare-demo.mjs maven && npm install -g @usedrift/cli", "waitFor": "onCreateCommand", - "postAttachCommand": "drift analyze < /dev/null", + "postAttachCommand": "sleep 10 && drift analyze < /dev/null", "customizations": { "vscode": { "extensions": [ "drift.usedrift" ], "settings": { - "security.workspace.trust.enabled": false, - "security.workspace.trust.startupPrompt": "never", - "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/npm/devcontainer.json b/.devcontainer/npm/devcontainer.json index f4934c0..42e3a65 100644 --- a/.devcontainer/npm/devcontainer.json +++ b/.devcontainer/npm/devcontainer.json @@ -10,16 +10,13 @@ }, "onCreateCommand": "node scripts/prepare-demo.mjs npm && npm --prefix demos/npm install --no-audit --no-fund && npm install -g @usedrift/cli", "waitFor": "onCreateCommand", - "postAttachCommand": "drift analyze < /dev/null", + "postAttachCommand": "sleep 10 && drift analyze < /dev/null", "customizations": { "vscode": { "extensions": [ "drift.usedrift" ], "settings": { - "security.workspace.trust.enabled": false, - "security.workspace.trust.startupPrompt": "never", - "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/nuget/devcontainer.json b/.devcontainer/nuget/devcontainer.json index 5858abd..114c495 100644 --- a/.devcontainer/nuget/devcontainer.json +++ b/.devcontainer/nuget/devcontainer.json @@ -15,16 +15,13 @@ }, "onCreateCommand": "node scripts/prepare-demo.mjs nuget && npm install -g @usedrift/cli", "waitFor": "onCreateCommand", - "postAttachCommand": "drift analyze < /dev/null", + "postAttachCommand": "sleep 10 && drift analyze < /dev/null", "customizations": { "vscode": { "extensions": [ "drift.usedrift" ], "settings": { - "security.workspace.trust.enabled": false, - "security.workspace.trust.startupPrompt": "never", - "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/opam/devcontainer.json b/.devcontainer/opam/devcontainer.json index 5ae182a..c5b7c50 100644 --- a/.devcontainer/opam/devcontainer.json +++ b/.devcontainer/opam/devcontainer.json @@ -15,16 +15,13 @@ }, "onCreateCommand": "node scripts/prepare-demo.mjs opam && npm install -g @usedrift/cli", "waitFor": "onCreateCommand", - "postAttachCommand": "drift analyze < /dev/null", + "postAttachCommand": "sleep 10 && drift analyze < /dev/null", "customizations": { "vscode": { "extensions": [ "drift.usedrift" ], "settings": { - "security.workspace.trust.enabled": false, - "security.workspace.trust.startupPrompt": "never", - "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/packagist/devcontainer.json b/.devcontainer/packagist/devcontainer.json index 1096a5b..0a4b884 100644 --- a/.devcontainer/packagist/devcontainer.json +++ b/.devcontainer/packagist/devcontainer.json @@ -15,16 +15,13 @@ }, "onCreateCommand": "node scripts/prepare-demo.mjs packagist && npm install -g @usedrift/cli", "waitFor": "onCreateCommand", - "postAttachCommand": "drift analyze < /dev/null", + "postAttachCommand": "sleep 10 && drift analyze < /dev/null", "customizations": { "vscode": { "extensions": [ "drift.usedrift" ], "settings": { - "security.workspace.trust.enabled": false, - "security.workspace.trust.startupPrompt": "never", - "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/pub/devcontainer.json b/.devcontainer/pub/devcontainer.json index 9469cbc..b555801 100644 --- a/.devcontainer/pub/devcontainer.json +++ b/.devcontainer/pub/devcontainer.json @@ -16,16 +16,13 @@ }, "onCreateCommand": "node scripts/prepare-demo.mjs pub && npm install -g @usedrift/cli", "waitFor": "onCreateCommand", - "postAttachCommand": "drift analyze < /dev/null", + "postAttachCommand": "sleep 10 && drift analyze < /dev/null", "customizations": { "vscode": { "extensions": [ "drift.usedrift" ], "settings": { - "security.workspace.trust.enabled": false, - "security.workspace.trust.startupPrompt": "never", - "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/pypi/devcontainer.json b/.devcontainer/pypi/devcontainer.json index 45a2bfc..ba2b3ca 100644 --- a/.devcontainer/pypi/devcontainer.json +++ b/.devcontainer/pypi/devcontainer.json @@ -15,16 +15,13 @@ }, "onCreateCommand": "node scripts/prepare-demo.mjs pypi && npm install -g @usedrift/cli", "waitFor": "onCreateCommand", - "postAttachCommand": "drift analyze < /dev/null", + "postAttachCommand": "sleep 10 && drift analyze < /dev/null", "customizations": { "vscode": { "extensions": [ "drift.usedrift" ], "settings": { - "security.workspace.trust.enabled": false, - "security.workspace.trust.startupPrompt": "never", - "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/rubygems/devcontainer.json b/.devcontainer/rubygems/devcontainer.json index 5c77c01..9cac847 100644 --- a/.devcontainer/rubygems/devcontainer.json +++ b/.devcontainer/rubygems/devcontainer.json @@ -15,16 +15,13 @@ }, "onCreateCommand": "node scripts/prepare-demo.mjs rubygems && npm install -g @usedrift/cli", "waitFor": "onCreateCommand", - "postAttachCommand": "drift analyze < /dev/null", + "postAttachCommand": "sleep 10 && drift analyze < /dev/null", "customizations": { "vscode": { "extensions": [ "drift.usedrift" ], "settings": { - "security.workspace.trust.enabled": false, - "security.workspace.trust.startupPrompt": "never", - "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/swift/devcontainer.json b/.devcontainer/swift/devcontainer.json index dd5b3bd..28794b0 100644 --- a/.devcontainer/swift/devcontainer.json +++ b/.devcontainer/swift/devcontainer.json @@ -16,16 +16,13 @@ }, "onCreateCommand": "node scripts/prepare-demo.mjs swift && npm install -g @usedrift/cli", "waitFor": "onCreateCommand", - "postAttachCommand": "drift analyze < /dev/null", + "postAttachCommand": "sleep 10 && drift analyze < /dev/null", "customizations": { "vscode": { "extensions": [ "drift.usedrift" ], "settings": { - "security.workspace.trust.enabled": false, - "security.workspace.trust.startupPrompt": "never", - "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/.devcontainer/vcpkg/devcontainer.json b/.devcontainer/vcpkg/devcontainer.json index 835e4f3..4c82aec 100644 --- a/.devcontainer/vcpkg/devcontainer.json +++ b/.devcontainer/vcpkg/devcontainer.json @@ -15,16 +15,13 @@ }, "onCreateCommand": "node scripts/prepare-demo.mjs vcpkg && npm install -g @usedrift/cli", "waitFor": "onCreateCommand", - "postAttachCommand": "drift analyze < /dev/null", + "postAttachCommand": "sleep 10 && drift analyze < /dev/null", "customizations": { "vscode": { "extensions": [ "drift.usedrift" ], "settings": { - "security.workspace.trust.enabled": false, - "security.workspace.trust.startupPrompt": "never", - "security.workspace.trust.banner": "never", "workbench.secondarySideBar.defaultVisibility": "hidden", "drift.session.mode": "ask", "drift.analysis.runOnStartup": true, diff --git a/demos/arduino/DEMO.md b/demos/arduino/DEMO.md index af7c92a..ef7a269 100644 --- a/demos/arduino/DEMO.md +++ b/demos/arduino/DEMO.md @@ -22,6 +22,11 @@ Both halves of Drift started on their own when this Codespace opened: - the **terminal**, which ran `drift analyze` from the repository root, where this demo's manifest is the only changed one. +If VS Code asks whether you trust the authors of the files in this folder, say +yes. It asks before anything is allowed to run, so until it is answered both +the panel and the terminal stay empty — and the files it is asking about are +this repository's own demo fixture. + From there: 1. Read what Drift found for `bblanchon/ArduinoJson` in the panel. diff --git a/demos/cargo/DEMO.md b/demos/cargo/DEMO.md index d2d804c..ab5e9a6 100644 --- a/demos/cargo/DEMO.md +++ b/demos/cargo/DEMO.md @@ -22,6 +22,11 @@ Both halves of Drift started on their own when this Codespace opened: - the **terminal**, which ran `drift analyze` from the repository root, where this demo's manifest is the only changed one. +If VS Code asks whether you trust the authors of the files in this folder, say +yes. It asks before anything is allowed to run, so until it is answered both +the panel and the terminal stay empty — and the files it is asking about are +this repository's own demo fixture. + From there: 1. Read what Drift found for `clap` in the panel. diff --git a/demos/cocoapods/DEMO.md b/demos/cocoapods/DEMO.md index 10b9f18..9433c35 100644 --- a/demos/cocoapods/DEMO.md +++ b/demos/cocoapods/DEMO.md @@ -22,6 +22,11 @@ Both halves of Drift started on their own when this Codespace opened: - the **terminal**, which ran `drift analyze` from the repository root, where this demo's manifest is the only changed one. +If VS Code asks whether you trust the authors of the files in this folder, say +yes. It asks before anything is allowed to run, so until it is answered both +the panel and the terminal stay empty — and the files it is asking about are +this repository's own demo fixture. + From there: 1. Read what Drift found for `Alamofire` in the panel. diff --git a/demos/conan/DEMO.md b/demos/conan/DEMO.md index b06325e..e6621cc 100644 --- a/demos/conan/DEMO.md +++ b/demos/conan/DEMO.md @@ -18,6 +18,11 @@ Both halves of Drift started on their own when this Codespace opened: - the **terminal**, which ran `drift analyze` from the repository root, where this demo's manifest is the only changed one. +If VS Code asks whether you trust the authors of the files in this folder, say +yes. It asks before anything is allowed to run, so until it is answered both +the panel and the terminal stay empty — and the files it is asking about are +this repository's own demo fixture. + From there: 1. Read what Drift found for `fmt` in the panel. diff --git a/demos/go/DEMO.md b/demos/go/DEMO.md index 877b342..b44ebce 100644 --- a/demos/go/DEMO.md +++ b/demos/go/DEMO.md @@ -21,6 +21,11 @@ Both halves of Drift started on their own when this Codespace opened: - the **terminal**, which ran `drift analyze` from the repository root, where this demo's manifest is the only changed one. +If VS Code asks whether you trust the authors of the files in this folder, say +yes. It asks before anything is allowed to run, so until it is answered both +the panel and the terminal stay empty — and the files it is asking about are +this repository's own demo fixture. + From there: 1. Read what Drift found for `golang.org/x/exp` in the panel. diff --git a/demos/hex/DEMO.md b/demos/hex/DEMO.md index fe6a30d..0af9949 100644 --- a/demos/hex/DEMO.md +++ b/demos/hex/DEMO.md @@ -18,6 +18,11 @@ Both halves of Drift started on their own when this Codespace opened: - the **terminal**, which ran `drift analyze` from the repository root, where this demo's manifest is the only changed one. +If VS Code asks whether you trust the authors of the files in this folder, say +yes. It asks before anything is allowed to run, so until it is answered both +the panel and the terminal stay empty — and the files it is asking about are +this repository's own demo fixture. + From there: 1. Read what Drift found for `plug` in the panel. diff --git a/demos/maven/DEMO.md b/demos/maven/DEMO.md index c393f3c..f3c1b43 100644 --- a/demos/maven/DEMO.md +++ b/demos/maven/DEMO.md @@ -21,6 +21,11 @@ Both halves of Drift started on their own when this Codespace opened: - the **terminal**, which ran `drift analyze` from the repository root, where this demo's manifest is the only changed one. +If VS Code asks whether you trust the authors of the files in this folder, say +yes. It asks before anything is allowed to run, so until it is answered both +the panel and the terminal stay empty — and the files it is asking about are +this repository's own demo fixture. + From there: 1. Read what Drift found for `com.google.guava:guava` in the panel. diff --git a/demos/npm/DEMO.md b/demos/npm/DEMO.md index 30f2198..b11ac53 100644 --- a/demos/npm/DEMO.md +++ b/demos/npm/DEMO.md @@ -20,6 +20,11 @@ Both halves of Drift started on their own when this Codespace opened: - the **terminal**, which ran `drift analyze` from the repository root, where this demo's manifest is the only changed one. +If VS Code asks whether you trust the authors of the files in this folder, say +yes. It asks before anything is allowed to run, so until it is answered both +the panel and the terminal stay empty — and the files it is asking about are +this repository's own demo fixture. + From there: 1. Read what Drift found for `axios` in the panel. diff --git a/demos/nuget/DEMO.md b/demos/nuget/DEMO.md index 6539f40..f667fd9 100644 --- a/demos/nuget/DEMO.md +++ b/demos/nuget/DEMO.md @@ -22,6 +22,11 @@ Both halves of Drift started on their own when this Codespace opened: - the **terminal**, which ran `drift analyze` from the repository root, where this demo's manifest is the only changed one. +If VS Code asks whether you trust the authors of the files in this folder, say +yes. It asks before anything is allowed to run, so until it is answered both +the panel and the terminal stay empty — and the files it is asking about are +this repository's own demo fixture. + From there: 1. Read what Drift found for `AutoMapper` in the panel. diff --git a/demos/opam/DEMO.md b/demos/opam/DEMO.md index 822d7b1..363ed43 100644 --- a/demos/opam/DEMO.md +++ b/demos/opam/DEMO.md @@ -18,6 +18,11 @@ Both halves of Drift started on their own when this Codespace opened: - the **terminal**, which ran `drift analyze` from the repository root, where this demo's manifest is the only changed one. +If VS Code asks whether you trust the authors of the files in this folder, say +yes. It asks before anything is allowed to run, so until it is answered both +the panel and the terminal stay empty — and the files it is asking about are +this repository's own demo fixture. + From there: 1. Read what Drift found for `lwt` in the panel. diff --git a/demos/packagist/DEMO.md b/demos/packagist/DEMO.md index a89eef4..f482057 100644 --- a/demos/packagist/DEMO.md +++ b/demos/packagist/DEMO.md @@ -19,6 +19,11 @@ Both halves of Drift started on their own when this Codespace opened: - the **terminal**, which ran `drift analyze` from the repository root, where this demo's manifest is the only changed one. +If VS Code asks whether you trust the authors of the files in this folder, say +yes. It asks before anything is allowed to run, so until it is answered both +the panel and the terminal stay empty — and the files it is asking about are +this repository's own demo fixture. + From there: 1. Read what Drift found for `monolog/monolog` in the panel. diff --git a/demos/pub/DEMO.md b/demos/pub/DEMO.md index 070eb92..f4809eb 100644 --- a/demos/pub/DEMO.md +++ b/demos/pub/DEMO.md @@ -19,6 +19,11 @@ Both halves of Drift started on their own when this Codespace opened: - the **terminal**, which ran `drift analyze` from the repository root, where this demo's manifest is the only changed one. +If VS Code asks whether you trust the authors of the files in this folder, say +yes. It asks before anything is allowed to run, so until it is answered both +the panel and the terminal stay empty — and the files it is asking about are +this repository's own demo fixture. + From there: 1. Read what Drift found for `dio` in the panel. diff --git a/demos/pypi/DEMO.md b/demos/pypi/DEMO.md index 0f42c6e..60727ac 100644 --- a/demos/pypi/DEMO.md +++ b/demos/pypi/DEMO.md @@ -21,6 +21,11 @@ Both halves of Drift started on their own when this Codespace opened: - the **terminal**, which ran `drift analyze` from the repository root, where this demo's manifest is the only changed one. +If VS Code asks whether you trust the authors of the files in this folder, say +yes. It asks before anything is allowed to run, so until it is answered both +the panel and the terminal stay empty — and the files it is asking about are +this repository's own demo fixture. + From there: 1. Read what Drift found for `werkzeug` in the panel. diff --git a/demos/rubygems/DEMO.md b/demos/rubygems/DEMO.md index 458afc9..f7d68a1 100644 --- a/demos/rubygems/DEMO.md +++ b/demos/rubygems/DEMO.md @@ -20,6 +20,11 @@ Both halves of Drift started on their own when this Codespace opened: - the **terminal**, which ran `drift analyze` from the repository root, where this demo's manifest is the only changed one. +If VS Code asks whether you trust the authors of the files in this folder, say +yes. It asks before anything is allowed to run, so until it is answered both +the panel and the terminal stay empty — and the files it is asking about are +this repository's own demo fixture. + From there: 1. Read what Drift found for `rack` in the panel. diff --git a/demos/swift/DEMO.md b/demos/swift/DEMO.md index 6bbfa0b..5f1245a 100644 --- a/demos/swift/DEMO.md +++ b/demos/swift/DEMO.md @@ -21,6 +21,11 @@ Both halves of Drift started on their own when this Codespace opened: - the **terminal**, which ran `drift analyze` from the repository root, where this demo's manifest is the only changed one. +If VS Code asks whether you trust the authors of the files in this folder, say +yes. It asks before anything is allowed to run, so until it is answered both +the panel and the terminal stay empty — and the files it is asking about are +this repository's own demo fixture. + From there: 1. Read what Drift found for `https://github.com/Alamofire/Alamofire` in the panel. diff --git a/demos/vcpkg/DEMO.md b/demos/vcpkg/DEMO.md index 049f31e..6a599ed 100644 --- a/demos/vcpkg/DEMO.md +++ b/demos/vcpkg/DEMO.md @@ -19,6 +19,11 @@ Both halves of Drift started on their own when this Codespace opened: - the **terminal**, which ran `drift analyze` from the repository root, where this demo's manifest is the only changed one. +If VS Code asks whether you trust the authors of the files in this folder, say +yes. It asks before anything is allowed to run, so until it is answered both +the panel and the terminal stay empty — and the files it is asking about are +this repository's own demo fixture. + From there: 1. Read what Drift found for `catch2` in the panel. diff --git a/scripts/lib/devcontainer-spec.mjs b/scripts/lib/devcontainer-spec.mjs index d016928..1d0eb7c 100644 --- a/scripts/lib/devcontainer-spec.mjs +++ b/scripts/lib/devcontainer-spec.mjs @@ -132,25 +132,28 @@ export function buildDevcontainer(demo, allDemos) { // a GitHub issue or cut a branch for it, and here that parked the startup // terminal on a question, flagged it as needing attention, and left the // visitor one keypress from opening an issue on this repository. - postAttachCommand: 'drift analyze < /dev/null', + // The sleep is about Workspace Trust, not about Drift. + // + // A Codespace can attach before trust has settled. Creating a terminal + // counts as executing code, so a terminal that starts in that window makes + // VS Code ask "Do you trust the authors of the files in this folder?" — and + // while that modal stands nothing else happens: the extension declares no + // untrusted-workspace support, so there is no panel, no analysis and no + // terminal until somebody answers it. Two of three Codespaces opened on + // 2026-09-11 hit exactly that; the one that did not had simply attached + // more slowly. + // + // There is no settings-based fix: `security.workspace.trust.*` is + // user-scope by design and is ignored from devcontainer, remote and + // workspace settings, which an earlier attempt here got wrong. So the + // terminal waits instead, which costs the demo ten seconds it was already + // spending on the first analysis, and DEMO.md says what to click if the + // question appears anyway. + postAttachCommand: 'sleep 10 && drift analyze < /dev/null', customizations: { vscode: { extensions: ['drift.usedrift'], settings: { - // A Codespace can come up *untrusted*: the startup terminal asks to - // execute code, VS Code puts "Do you trust the authors of the files - // in this folder?" in front of the demo, and until somebody answers - // it the extension cannot activate at all — no panel, no analysis, - // no terminal. Observed on a fresh npm Codespace on 2026-09-11, where - // everything stayed dead until the modal was answered. - // - // This container is a throwaway holding a fixture from this - // repository, which is the same code the visitor came here to watch - // Drift read, so the question has one sensible answer and asking it - // only costs the demo. - 'security.workspace.trust.enabled': false, - 'security.workspace.trust.startupPrompt': 'never', - 'security.workspace.trust.banner': 'never', // Codespaces opens the chat sidebar by default, taking a third of the // window from the Drift panel and wrapping the terminal report // mid-word. This only takes effect from the *second* window load: the diff --git a/scripts/make-demo-docs.mjs b/scripts/make-demo-docs.mjs index 15bdf36..aab9ed4 100644 --- a/scripts/make-demo-docs.mjs +++ b/scripts/make-demo-docs.mjs @@ -68,6 +68,11 @@ Both halves of Drift started on their own when this Codespace opened: - the **terminal**, which ran \`drift analyze\` from the repository root, where this demo's manifest is the only changed one. +If VS Code asks whether you trust the authors of the files in this folder, say +yes. It asks before anything is allowed to run, so until it is answered both +the panel and the terminal stay empty — and the files it is asking about are +this repository's own demo fixture. + From there: 1. Read what Drift found for \`${demo.dependency}\` in the panel.