The micro-VM for AI agents — light enough to embed on your laptop, elastic enough to power an agentic cloud.
fix(quickstart): verify complete examples in cloud e2e (#3275)
zombee096b964c66ffb
diff --git a/.github/workflows/e2e-cloud.yml b/.github/workflows/e2e-cloud.ymlindex 395ac0d2c..e46cd2e9d 100644--- a/.github/workflows/e2e-cloud.yml+++ b/.github/workflows/e2e-cloud.yml@@ -509,6 +509,12 @@ jobs:bash scripts/ci/install-e2e-release.sh cmake build:e2e:release-drivers+ - name: Build Quickstart examples+ if: ${{ (inputs.stage || 'dev') == 'dev' }}+ env:+ QUICKSTART_CLIENTS: ${{ inputs.tag && 'release' || 'source' }}+ run: make build:e2e:quickstart+# ── Python SDK (maturin + PyO3) ──────────────────────────────- name: Build & install Python SDKif: ${{ inputs.tag == '' }}@@ -601,6 +607,7 @@ jobs:BOXLITE_E2E_EXIT_FILE: ${{ inputs.allow_e2e_override && format('{0}/pytest-junit.exitcode', github.workspace) || '' }}BOXLITE_E2E_SKIP_PATH_VERIFY: '1'BOXLITE_E2E_PROFILE: p1+ BOXLITE_E2E_QUICKSTART: ${{ (inputs.stage || 'dev') == 'dev' && '1' || '0' }}BOXLITE_E2E_DOMAIN: ${{ (inputs.stage || 'dev') == 'dev' && vars.BOXLITE_E2E_DOMAIN || '' }}PYTEST_ADDOPTS: >---ignore=cases/test_c_entry.py --ignore=cases/test_c_coverage.pydiff --git a/apps/dashboard/onboarding.md b/apps/dashboard/onboarding.mdindex 34c1eee44..8e95c43f1 100644--- a/apps/dashboard/onboarding.md+++ b/apps/dashboard/onboarding.md@@ -116,6 +116,8 @@ not need a second file or additional guest packages. See theCLI and REST discover the organization route through `/v1/me`;these examples require curl and jq. Piped API keys bypass terminal echo controls;an empty CLI tunnel response fails instead of printing an unusable preview URL.+Python, Node, Go, Rust and C pass a socket address to their tunnel SDK.+The CLI and REST API take a port.Templates live in `src/lib/quickstart/templates`. Explicit step markers delimitcreation, execution and preview. Keep the Box and server running after thediff --git a/apps/dashboard/src/lib/quickstart/code-steps.test.ts b/apps/dashboard/src/lib/quickstart/code-steps.test.tsindex bb77028d0..c82026c02 100644--- a/apps/dashboard/src/lib/quickstart/code-steps.test.ts+++ b/apps/dashboard/src/lib/quickstart/code-steps.test.ts@@ -26,6 +26,16 @@ describe('quickstart creation and execution sections', () => {}})+it.each([+ ['python', 'box.network.tunnel(("127.0.0.1", 3000))'],+ ['typescript', 'box.network.tunnel(new SocketAddress({ port: 3000 }))'],+ ['go', 'network.Tunnel(ctx, &net.TCPAddr{Port: 3000}, boxlite.DefaultTunnelOptions())'],+ ['c', 'boxlite_network_tunnel(network, &target, NULL, &preview, &error)'],+])('uses the SDK tunnel target for %s', (id, call) => {+ const { preview } = renderOnboardingCodeSteps(id, { restApiUrl: 'https://api.example.test' })+ expect(preview).toContain(call)+})+for (const item of getOnboardingInterfaces()) {it(`keeps ${item.id} running after creating its preview`, () => {const parts = renderOnboardingCodeSteps(item.id, { restApiUrl: 'https://dev.boxlite.ai/api' })diff --git a/apps/dashboard/src/lib/quickstart/templates/c.c b/apps/dashboard/src/lib/quickstart/templates/c.cindex 284a7dac6..c15cf7242 100644--- a/apps/dashboard/src/lib/quickstart/templates/c.c+++ b/apps/dashboard/src/lib/quickstart/templates/c.c@@ -214,7 +214,9 @@ int main(void) {CBoxTunnelHandle *preview = NULL;char *url = NULL;require_ok(boxlite_box_network(qs.box, &network, &error), "network", &error);- require_ok(boxlite_network_tunnel(network, 3000, &preview, &error), "preview", &error);+ struct sockaddr_storage target;+ require_ok(boxlite_socket_address_parse("127.0.0.1:3000", &target, &error), "preview address", &error);+ require_ok(boxlite_network_tunnel(network, &target, NULL, &preview, &error), "preview", &error);require_ok(boxlite_tunnel_uri(preview, &url, &error), "preview URL", &error);if (!url) { fprintf(stderr, "Cloud did not return a preview URL\n"); exit(1); }printf("Preview URL: %s\n", url);diff --git a/apps/dashboard/src/lib/quickstart/templates/go.go b/apps/dashboard/src/lib/quickstart/templates/go.goindex fb5496d5f..6d5f80232 100644--- a/apps/dashboard/src/lib/quickstart/templates/go.go+++ b/apps/dashboard/src/lib/quickstart/templates/go.go@@ -4,6 +4,7 @@ import ("context""errors""fmt"+ "net""os""time"boxlite "github.com/boxlite-ai/boxlite/sdks/go"@@ -41,7 +42,7 @@ func run() error {if started.ExitCode != 0 { return fmt.Errorf("server launch exited with %d", started.ExitCode) }network, err := box.Network()if err != nil { return err }- preview, err := network.Tunnel(ctx, 3000)+ preview, err := network.Tunnel(ctx, &net.TCPAddr{Port: 3000}, boxlite.DefaultTunnelOptions())if err != nil { return err }defer preview.Close()url, err := preview.URI()diff --git a/apps/dashboard/src/lib/quickstart/templates/python.py b/apps/dashboard/src/lib/quickstart/templates/python.pyindex 82a1760b8..1d4c6d505 100644--- a/apps/dashboard/src/lib/quickstart/templates/python.py+++ b/apps/dashboard/src/lib/quickstart/templates/python.py@@ -29,7 +29,7 @@ async def main():server_code = {{SERVER_PY}}# Start the server without waiting for it to exit.server = await box.exec("python3", args=["-u", "-c", server_code])- preview = await box.network.tunnel(3000)+ preview = await box.network.tunnel(("127.0.0.1", 3000))url = preview.uri()if not url:raise RuntimeError("Cloud did not return a preview URL")diff --git a/apps/dashboard/src/lib/quickstart/templates/typescript.mts b/apps/dashboard/src/lib/quickstart/templates/typescript.mtsindex b837c3e3c..0864fb39d 100644--- a/apps/dashboard/src/lib/quickstart/templates/typescript.mts+++ b/apps/dashboard/src/lib/quickstart/templates/typescript.mts@@ -1,3 +1,4 @@+import { SocketAddress } from 'node:net'import { ApiKeyCredential, BoxliteRestOptions, JsBoxlite } from '@boxlite-ai/boxlite'const apiKey = {{API_KEY_TS}}@@ -25,7 +26,7 @@ if (result.exitCode !== 0) throw new Error(`Command exited with ${result.exitCodconst serverCode = {{SERVER_TS}}// Start the server without waiting for it to exit.const server = await box.exec('python3', ['-u', '-c', serverCode])-const preview = await box.network.tunnel(3000)+const preview = await box.network.tunnel(new SocketAddress({ port: 3000 }))const url = preview.uri()if (!url) throw new Error('Cloud did not return a preview URL')console.log('Preview URL:', url)diff --git a/apps/e2e/README.md b/apps/e2e/README.mdindex 1f98742e6..c43666266 100644--- a/apps/e2e/README.md+++ b/apps/e2e/README.md@@ -81,6 +81,18 @@ lifetimes, and reports cleanup failures. It is outside the production smokeselection because it uses checkpoint storage and multiple guest lifecycles. Loopback, mock-storage andnative stub checks do not satisfy this real VM/storage acceptance case.+### Dashboard Quickstart++Every dev run renders and executes the Dashboard's **Copy full example**+program for Python, Node, Go, Rust, C, CLI and REST using the Cloud API-key+fixture. A tagged run uses that release's clients and SDK sources. A build or+test failure is reported against the selected version.++After each program exits, the test checks the command result and reads the page+from the printed preview URL.++The test removes the Box using the ID printed by the example.+### Existing coverageCLI cases invoke detached workloads as `boxlite run -d IMAGE sleep 300`.diff --git a/apps/e2e/cases/test_quickstart.py b/apps/e2e/cases/test_quickstart.pynew file mode 100644index 000000000..f422d535e--- /dev/null+++ b/apps/e2e/cases/test_quickstart.py@@ -0,0 +1,92 @@+"""Run the copied Dashboard Quickstart programs against a deployed Cloud."""++import asyncio+import json+import os+import re+import subprocess+import sys+from pathlib import Path++import pytest+from e2e_auth import auth_context+from network_fixtures import ready++EXAMPLES = Path(__file__).resolve().parents[3] / "target/e2e/quickstart"+COMMANDS = {+ "python": [sys.executable, "main.py"],+ "typescript": ["node", "index.mjs"],+ "go": ["./quickstart-go"],+ "rust": ["./quickstart-rust"],+ "c": ["./quickstart-c"],+ "cli": ["bash", "quickstart.sh"],+ "rest": ["bash", "quickstart-rest.sh"],+}+CREATED_BOX = re.compile(r"^Created Box: (\S+)$", re.MULTILINE)+PAGE = (+ b"<!doctype html><title>BoxLite preview</title><h1>Hello from BoxLite</h1>"+ b"<p>This page is running inside your Box.</p>"+)+++def quickstart_interfaces():+ if os.environ.get("BOXLITE_E2E_QUICKSTART") != "1":+ return []+ interfaces = json.loads((EXAMPLES / "interfaces.json").read_text())+ assert set(interfaces) == COMMANDS.keys()+ return interfaces++[email protected]("interface", quickstart_interfaces())+async def test_quickstart_example(rt, interface, tmp_path):+ ctx = auth_context()+ assert ctx.auth == "api-key"+ env = {+ **os.environ,+ "BOXLITE_API_KEY": ctx.token,+ "BOXLITE_REST_URL": ctx.url,+ "BOXLITE_HOME": str(tmp_path),+ }+ for key in ("BOXLITE_PROFILE", "BOXLITE_CONTEXT", "BOXLITE_REST_PATH_PREFIX"):+ env.pop(key, None)+ if cli := os.environ.get("BOXLITE_E2E_CLI"):+ (tmp_path / "boxlite").symlink_to(Path(cli).resolve())+ env["PATH"] = f"{tmp_path}{os.pathsep}{env['PATH']}"++ output = ""+ try:+ result = await asyncio.to_thread(+ subprocess.run,+ COMMANDS[interface],+ cwd=EXAMPLES,+ env=env,+ capture_output=True,+ text=True,+ timeout=120,+ check=False,+ )+ output = result.stdout.replace(ctx.token, "[redacted]")+ error = result.stderr.replace(ctx.token, "[redacted]")+ assert result.returncode == 0, (+ f"{interface} exited {result.returncode}\n{output}\n{error}"+ )+ if interface == "rest":+ assert re.search(r'"exit_code":\s*0\b', output)+ else:+ assert "Hello from BoxLite" in output.splitlines()+ created = CREATED_BOX.search(output)+ assert created is not None+ assert await rt.get_info(created[1]) is not None++ preview = re.search(r"^Preview URL: (https://\S+)$", output, re.MULTILINE)+ assert preview is not None+ await ready(preview[1], PAGE)+ except subprocess.TimeoutExpired as timeout:+ output = (timeout.stdout or b"").decode(errors="replace")+ pytest.fail(f"{interface} exceeded the {timeout.timeout}-second runtime limit")+ finally:+ if (created := CREATED_BOX.search(output)) and await rt.get_info(+ created[1]+ ) is not None:+ await rt.remove(created[1], force=True)diff --git a/apps/e2e/render_quickstart.cjs b/apps/e2e/render_quickstart.cjsnew file mode 100644index 000000000..78229f04c--- /dev/null+++ b/apps/e2e/render_quickstart.cjs@@ -0,0 +1,77 @@+const { mkdirSync, readFileSync, writeFileSync } = require('node:fs')+const { createRequire } = require('node:module')+const { dirname, join, resolve } = require('node:path')++const root = resolve(__dirname, '../..')+const ts = require(join(root, 'sdks/node/node_modules/typescript'))+const lib = join(root, 'apps/dashboard/src/lib')+const output = resolve(process.argv[2])+const rustSdk = resolve(process.argv[3])++function loadTypeScript(filename) {+ const requireFromFile = createRequire(filename)+ const { outputText } = ts.transpileModule(readFileSync(filename, 'utf8'), {+ fileName: filename,+ compilerOptions: { module: ts.ModuleKind.CommonJS, esModuleInterop: true },+ })+ const exports = {}+ // The Dashboard's Vite ?raw imports provide the original template text.+ const requireSource = (specifier) =>+ specifier.endsWith('?raw')+ ? readFileSync(resolve(dirname(filename), specifier.slice(0, -4)), 'utf8')+ : requireFromFile(specifier)+ new Function('require', 'exports', outputText)(requireSource, exports)+ return exports+}++const { getOnboardingInterfaces, renderOnboardingCodeExample } = loadTypeScript(+ join(lib, 'onboarding-code-examples.ts'),+)+const { quickstartRecipeFor } = loadTypeScript(join(lib, 'quickstart/recipes.ts'))+const names = {+ python: 'main.py',+ typescript: 'index.mts',+ go: 'main.go',+ rust: 'main.rs',+ c: 'main.c',+ cli: 'quickstart.sh',+ rest: 'quickstart-rest.sh',+}++mkdirSync(output, { recursive: true })+const interfaces = getOnboardingInterfaces()+for (const { id } of interfaces) {+ if (!names[id]) throw new Error('Add a Cloud E2E runner for Quickstart interface ' + id)+ const example = renderOnboardingCodeExample(id, {+ restApiUrl: 'https://api.dev.boxlite.ai',+ command: quickstartRecipeFor('code-execution').command,+ })+ writeFileSync(join(output, names[id]), example + '\n')+}+writeFileSync(join(output, 'interfaces.json'), JSON.stringify(interfaces.map(({ id }) => id)) + '\n')++const nodeExample = readFileSync(join(output, names.typescript), 'utf8')+const { outputText } = ts.transpileModule(nodeExample, {+ fileName: names.typescript,+ compilerOptions: { module: ts.ModuleKind.NodeNext, target: ts.ScriptTarget.ES2022 },+})+writeFileSync(join(output, 'index.mjs'), outputText)++writeFileSync(+ join(output, 'Cargo.toml'),+ [+ '[workspace]',+ '[package]',+ 'name = "quickstart-rust"',+ 'version = "0.0.0"',+ 'edition = "2021"',+ 'publish = false',+ '[[bin]]',+ 'name = "quickstart-rust"',+ 'path = "main.rs"',+ '[dependencies]',+ `boxlite = { path = ${JSON.stringify(rustSdk)}, default-features = false, features = ["rest"] }`,+ 'futures = "0.3"',+ 'tokio = { version = "1", features = ["macros", "rt-multi-thread"] }',+ ].join('\n') + '\n',+)diff --git a/apps/infra/deployment/release-safety.test.ts b/apps/infra/deployment/release-safety.test.tsindex a3d0d4805..ad3f4393d 100644--- a/apps/infra/deployment/release-safety.test.ts+++ b/apps/infra/deployment/release-safety.test.ts@@ -1491,6 +1491,21 @@ test('cloud E2E requires the dev identity lane and forwards its scoped credentiaassert.equal(upload.if, 'always()')})+test('dev Cloud E2E runs Quickstart with source or release clients', () => {+ const workflow = load(readFileSync(E2E_CLOUD_WORKFLOW, 'utf8'))+ const steps = workflow.jobs.e2e.steps+ const build = steps.find((step: any) => step.name === 'Build Quickstart examples')+ const releaseClients = steps.find((step: any) => step.name === 'Build release C, Go and Rust subdomain clients')+ const suite = steps.find((step: any) => step.id === 'suite')++ assert.equal(suite.env.BOXLITE_E2E_QUICKSTART, "${{ (inputs.stage || 'dev') == 'dev' && '1' || '0' }}")+ assert.equal(build?.if, "${{ (inputs.stage || 'dev') == 'dev' }}")+ assert.equal(build.env.QUICKSTART_CLIENTS, "${{ inputs.tag && 'release' || 'source' }}")+ assertShellLine(build.run, /^make build:e2e:quickstart$/)+ assert.ok(steps.indexOf(releaseClients) < steps.indexOf(build))+ assert.ok(steps.indexOf(build) < steps.indexOf(suite))+})+test('the deploy role cannot reach another stage in the SST backing store', () => {// One bucket and one parameter tree hold every stage's state and secrets — the live bucket carries// secret/boxlite/dev.json beside secret/boxlite/prod.json. With s3:* and ssm:* on '*', a job bound todiff --git a/make/dev.mk b/make/dev.mkindex 32ddabc69..efbf211df 100644--- a/make/dev.mk+++ b/make/dev.mk@@ -1,5 +1,5 @@PHONY_TARGETS += _ensure-python-deps _ensure-node-deps _ensure-apps-deps-PHONY_TARGETS += build\:e2e\:drivers+PHONY_TARGETS += build\:e2e\:drivers build\:e2e\:quickstartPHONY_TARGETS += build\:e2e\:release-drivers# Ensure Python venv exists (lightweight, no package install).@@ -75,10 +75,44 @@ build\:e2e\:drivers: dev\:go@cd sdks/go && $(GO_DEV_ENV) go build -tags $(GO_DEV_TAGS) -o ../../target/e2e/domain-go ../../apps/e2e/sdks/go/e2e_domains.go@cargo build --locked -p boxlite-e2e-rust --bin domain-rust-# The workflow checks out the selected release separately. Driver sources stay-# current, while headers, native libraries and SDK implementations come from it.+# Release drivers and Quickstart use the SDKs staged by the Cloud workflow.E2E_RELEASE_ROOT := $(PROJECT_ROOT)/target/e2e-releaseE2E_RELEASE_C_SDK := $(PROJECT_ROOT)/target/e2e-c-sdk+E2E_RELEASE_RUST_TARGET := $(PROJECT_ROOT)/target/e2e-release-rust+QUICKSTART_DIR := $(PROJECT_ROOT)/target/e2e/quickstart+QUICKSTART_CLIENTS ?= source++QUICKSTART_SDK_ROOT := $(PROJECT_ROOT)+QUICKSTART_C_INCLUDE := $(PROJECT_ROOT)/sdks/c/include+QUICKSTART_C_LIB := $(GO_DEBUG_DIR)+QUICKSTART_GO_ENV := $(GO_DEV_ENV)+QUICKSTART_GO_FLAGS := -tags $(GO_DEV_TAGS)+QUICKSTART_RUST_TARGET := $(abspath $(GO_DEBUG_DIR)/..)+ifeq ($(QUICKSTART_CLIENTS),release)+QUICKSTART_SDK_ROOT := $(E2E_RELEASE_ROOT)+QUICKSTART_C_INCLUDE := $(E2E_RELEASE_C_SDK)/include+QUICKSTART_C_LIB := $(E2E_RELEASE_C_SDK)/lib+QUICKSTART_GO_ENV :=+QUICKSTART_GO_FLAGS :=+QUICKSTART_RUST_TARGET := $(E2E_RELEASE_RUST_TARGET)+else ifneq ($(QUICKSTART_CLIENTS),source)+$(error QUICKSTART_CLIENTS must be source or release)+endif++build\:e2e\:quickstart:+ @node apps/e2e/render_quickstart.cjs "$(QUICKSTART_DIR)" "$(QUICKSTART_SDK_ROOT)/src/boxlite"+ @mkdir -p "$(QUICKSTART_DIR)/node_modules/@boxlite-ai"+ @ln -sfn "$(PROJECT_ROOT)/sdks/node" "$(QUICKSTART_DIR)/node_modules/@boxlite-ai/boxlite"+ $(CC) -std=c11 -pthread -I"$(QUICKSTART_C_INCLUDE)" "$(QUICKSTART_DIR)/main.c" -L"$(QUICKSTART_C_LIB)" -lboxlite \+ -Wl,-rpath,"$(QUICKSTART_C_LIB)" -o "$(QUICKSTART_DIR)/quickstart-c"+ @cd "$(QUICKSTART_SDK_ROOT)/sdks/go" && $(QUICKSTART_GO_ENV) go build -ldflags='-s -w' $(QUICKSTART_GO_FLAGS) \+ -o "$(QUICKSTART_DIR)/quickstart-go" "$(QUICKSTART_DIR)/main.go"+ @cp "$(QUICKSTART_SDK_ROOT)/Cargo.lock" "$(QUICKSTART_DIR)/Cargo.lock"+ @cargo build --manifest-path "$(QUICKSTART_DIR)/Cargo.toml" --target-dir "$(QUICKSTART_RUST_TARGET)"+ @cp "$(QUICKSTART_RUST_TARGET)/debug/quickstart-rust" "$(QUICKSTART_DIR)/quickstart-rust"++# The workflow checks out the selected release separately. Driver sources stay+# current, while headers, native libraries and SDK implementations come from it.build\:e2e\:release-drivers:@mkdir -p target/e2e target/debug "$(E2E_RELEASE_ROOT)/sdks/go/include" "$(E2E_RELEASE_ROOT)/apps/e2e/sdks/rust"@cp "$(E2E_RELEASE_C_SDK)/lib/libboxlite.a" "$(E2E_RELEASE_ROOT)/sdks/go/"@@ -86,5 +120,5 @@ build\:e2e\:release-drivers:$(CC) -std=c11 -Wall -Wextra -Werror -I"$(E2E_RELEASE_C_SDK)/include" apps/e2e/sdks/c/e2e_domains.c -L"$(E2E_RELEASE_C_SDK)/lib" -lboxlite -Wl,-rpath,"$(E2E_RELEASE_C_SDK)/lib" -o target/e2e/domain-c@cd "$(E2E_RELEASE_ROOT)/sdks/go" && go build -o "$(PROJECT_ROOT)/target/e2e/domain-go" "$(PROJECT_ROOT)/apps/e2e/sdks/go/e2e_domains.go"@cp apps/e2e/sdks/rust/Cargo.toml apps/e2e/sdks/rust/e2e_domains.rs "$(E2E_RELEASE_ROOT)/apps/e2e/sdks/rust/"- @cd "$(E2E_RELEASE_ROOT)" && CARGO_TARGET_DIR="$(PROJECT_ROOT)/target/e2e-release-rust" cargo build --locked -p boxlite-e2e-rust --bin domain-rust- @cp target/e2e-release-rust/debug/domain-rust target/debug/domain-rust+ @cd "$(E2E_RELEASE_ROOT)" && CARGO_TARGET_DIR="$(E2E_RELEASE_RUST_TARGET)" cargo build --locked -p boxlite-e2e-rust --bin domain-rust+ @cp "$(E2E_RELEASE_RUST_TARGET)/debug/domain-rust" target/debug/domain-rustdiff --git a/make/help.mk b/make/help.mkindex bc1e350a6..0522502e7 100644--- a/make/help.mk+++ b/make/help.mk@@ -173,6 +173,7 @@ help:@echo " make dev:node - Build and link Node.js SDK locally (debug mode)"@echo " make dev:go - Build Go SDK locally (debug mode)"@echo " make build:e2e:drivers - Build C/Go/Rust REST acceptance clients"+ @echo " make build:e2e:quickstart - Build Quickstart examples (QUICKSTART_CLIENTS=source|release)"@echo " make build:e2e:release-drivers - Build clients with target/e2e-release and staged target/e2e-c-sdk"@echo ""@echo " Distribution:"diff --git a/scripts/ci/install-e2e-release.sh b/scripts/ci/install-e2e-release.shindex 5af81619c..dd0f21fa8 100644--- a/scripts/ci/install-e2e-release.sh+++ b/scripts/ci/install-e2e-release.sh@@ -59,7 +59,7 @@ case "$component" in# Keep runtime dependencies and the downloaded addon; install only test tools.npm pkg delete optionalDependencies devDependencies workspaces --workspaces=falsenpm install --ignore-scripts --workspaces=false --omit=dev --save-prod \- --package-lock=false [email protected] tsx+ --package-lock=false [email protected] tsx [email protected]npx --no-install tsx --eval 'const ready: boolean = true; if (!ready) throw Error("tsx unavailable")'node --input-type=module -e \'import "playwright-core"; import { JsBoxlite } from "./dist/index.js"; if (typeof JsBoxlite.rest !== "function") throw Error("release REST SDK missing")'diff --git a/tests/scripts/test_e2e_release.py b/tests/scripts/test_e2e_release.pyindex c5fae1da7..bf1fee5ff 100644--- a/tests/scripts/test_e2e_release.py+++ b/tests/scripts/test_e2e_release.py@@ -167,6 +167,7 @@ class ReleaseInstallTest(unittest.TestCase):self.assertIn("--ignore-scripts", npm["args"])self.assertIn("--workspaces=false", npm["args"])self.assertIn("--save-prod", npm["args"])+ self.assertIn("[email protected]", npm["args"])self.assertNotIn("--omit=optional", npm["args"])self.assertEqual(npx["args"][:3], ["--no-install", "tsx", "--eval"])self.assertEqual(node["tool"], "node")