惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

WordPress大学
WordPress大学
D
Darknet – Hacking Tools, Hacker News & Cyber Security
Hacker News: Ask HN
Hacker News: Ask HN
N
News and Events Feed by Topic
Forbes - Security
Forbes - Security
The Last Watchdog
The Last Watchdog
TaoSecurity Blog
TaoSecurity Blog
Schneier on Security
Schneier on Security
SecWiki News
SecWiki News
V
Vulnerabilities – Threatpost
Project Zero
Project Zero
O
OpenAI News
W
WeLiveSecurity
Security Archives - TechRepublic
Security Archives - TechRepublic
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
H
Hacker News: Front Page
Cisco Talos Blog
Cisco Talos Blog
Spread Privacy
Spread Privacy
Help Net Security
Help Net Security
P
Privacy & Cybersecurity Law Blog
K
Kaspersky official blog
S
Security @ Cisco Blogs
Latest news
Latest news
AWS News Blog
AWS News Blog
U
Unit 42
Martin Fowler
Martin Fowler
阮一峰的网络日志
阮一峰的网络日志
S
Secure Thoughts
CTFtime.org: upcoming CTF events
CTFtime.org: upcoming CTF events
Application and Cybersecurity Blog
Application and Cybersecurity Blog
Know Your Adversary
Know Your Adversary
Scott Helme
Scott Helme
博客园 - 司徒正美
B
Blog RSS Feed
C
Check Point Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
D
Docker
Google Online Security Blog
Google Online Security Blog
Jina AI
Jina AI
aimingoo的专栏
aimingoo的专栏
Recent Commits to openclaw:main
Recent Commits to openclaw:main
Last Week in AI
Last Week in AI
月光博客
月光博客
C
CXSECURITY Database RSS Feed - CXSecurity.com
S
SegmentFault 最新的问题
NISL@THU
NISL@THU
T
The Blog of Author Tim Ferriss
C
Cisco Blogs
Attack and Defense Labs
Attack and Defense Labs
小众软件
小众软件

Recent Commits to openclaw:main

test: merge chat side-result checks · openclaw/openclaw@ddd2c2a test: merge cron history checks · openclaw/openclaw@f7eb746 test: merge responsive navigation shell checks · openclaw/openclaw@c2e4b47 docs(changelog): add codex oauth fixes · openclaw/openclaw@628e6cd test: merge navigation routing cases · openclaw/openclaw@5d8cecb Tests: mock channel registry bundled fallback · openclaw/openclaw@2b08233 Secrets: avoid broad web search discovery for single plugin config · openclaw/openclaw@a464f59 test: merge config view browser checks · openclaw/openclaw@20cf511 fix(status): align oauth health with runtime · openclaw/openclaw@eed7116 feat: add macOS screen snapshots for monitor preview (#67954) thanks … · openclaw/openclaw@f377db1 fix: report shared auth scopes in hello-ok (#67810) thanks @BunsDev · openclaw/openclaw@0b6c39b Auto-reply: avoid eager bundled route fallback · openclaw/openclaw@3ea1bf4 Tests: narrow session binding contract setup · openclaw/openclaw@54e4e16 fix(macOS): enable undo/redo in webchat composer text input (#34962) · openclaw/openclaw@00951dc Tests: speed up channel setup promotion · openclaw/openclaw@82b529a Docs: refresh agent instructions · openclaw/openclaw@5775fe2 fix(auth): serialize OAuth refresh across agents to fix #26322 (#67876) · openclaw/openclaw@8e79080 test: allow ollama public surface boundary test · openclaw/openclaw@7d4f1a6 Docs: add test performance guardrails · openclaw/openclaw@89706d3 Tests: restore context-engine usage proof · openclaw/openclaw@e4c4f95 Tests: slim context engine runtime coverage · openclaw/openclaw@74c198f ci: retry failed custom checkouts · openclaw/openclaw@0ee5baf test: trim duplicate provider auth onboarding cases · openclaw/openclaw@1ffc02e matrix: fix sessions_spawn --thread subagent session spawning (#67643) · openclaw/openclaw@1ce2596 test: reduce auth choice fixture churn · openclaw/openclaw@857b9cd test: mock health status config boundaries · openclaw/openclaw@9d5ab4a test: mock onboard config io boundary · openclaw/openclaw@299694d test: mock legacy state plugin boundaries · openclaw/openclaw@2713089 test: mock channel install boundaries · openclaw/openclaw@b945248 test: mock doctor preview channel boundaries · openclaw/openclaw@b1a3ad4 test: trim doctor command hotspots · openclaw/openclaw@c66f16a test: isolate agent auth and spawn hotspots · openclaw/openclaw@9285935 test: stabilize MCP startup disposal race · openclaw/openclaw@dd9d2eb test: merge browser contract server suites · openclaw/openclaw@5817a76 test: narrow ollama provider discovery setup · openclaw/openclaw@a0d9598 build: declare qa-lab aimock runtime dependency · openclaw/openclaw@24431e5 test: speed up safe-bins exec harness · openclaw/openclaw@ee856ab test: preserve tool helpers in embedded runner mocks · openclaw/openclaw@acd86a0 refactor: move memory embeddings into provider plugins · openclaw/openclaw@77e6e4c test: reuse system-run temp fixtures · openclaw/openclaw@7e9ff0f test: trim hotspot wait overhead · openclaw/openclaw@12a59b0 Check: avoid duplicate boundary prep · openclaw/openclaw@baf11b8 test: reduce hotspot fixture overhead · openclaw/openclaw@3a59edd feat(ui): overhaul settings and slash command UX (#67819) thanks @Bun… · openclaw/openclaw@2cfb660 QA Matrix: exit cleanly on failure · openclaw/openclaw@42805d2 QA Matrix: isolate scenario coverage · openclaw/openclaw@7e659e1 Matrix: refresh crypto bootstrap state · openclaw/openclaw@94081d8 QA Lab: add provider registry · openclaw/openclaw@bb7e982 Matrix: add plugin changelog · openclaw/openclaw@4acab55 test: trim more hotspot overhead · openclaw/openclaw@f485311 test: trim remaining hotspot tests · openclaw/openclaw@6ba8626 test: narrow hotspot mocks · openclaw/openclaw@dbc8179 test: isolate gemini embedding request helpers · openclaw/openclaw@cd330f5 test: trim memory and mcp hotspots · openclaw/openclaw@fd48dfa test: slim provider registry mocks · openclaw/openclaw@2e08c77 test: harden Parallels update smoke · openclaw/openclaw@1a98090 feat: default Anthropic to Opus 4.7 · openclaw/openclaw@628b454 fix: harden node-host shell payload mutability checks · openclaw/openclaw@75c551e fix: land node-host approval binding for native binaries (#66731) (th… · openclaw/openclaw@29919bb CI: add daily schedule to CodeQL workflow (#67645) · openclaw/openclaw@69d25f5 fix(gateway): capture config hash after plugin auto-enable to prevent… · openclaw/openclaw@8c11210 fix: repair sanitized replay tool results before send (#67620) (thank… · openclaw/openclaw@c3c7a99 fix: restrict HTML timeout short-circuit to transient statuses · openclaw/openclaw@de129a6 fix: keep TUI watchdog bound to active run (#67401) (thanks @xantorres) · openclaw/openclaw@3525273 Gateway/skills: dedupe skills prefix-match + drop dead fallback on log · openclaw/openclaw@d7f489f Extensions/lmstudio: back off inference preload after consecutive fai… · openclaw/openclaw@b555214 TUI/streaming: add watchdog that resets the activity indicator after … · openclaw/openclaw@f44ab20 Agents/tool-loop: enable unknown-tool stream guard by default · openclaw/openclaw@36ed367 Gateway/skills: invalidate session skills snapshot on config write · openclaw/openclaw@b23d59a fix: classify HTML provider error pages correctly (#67642) (thanks @s… · openclaw/openclaw@e588e90 fix(skills): remove unused model-usage import (#67641) · openclaw/openclaw@55f05df docs(changelog): credit codex fix superseded PRs · openclaw/openclaw@e485f24 fix(openai-codex): normalize stale transport metadata in resolution a… · openclaw/openclaw@90801ba CI: pin Docker-related GitHub Actions (#67632) · openclaw/openclaw@f697b01 Android: modernize WebView and discovery API usage (#67627) · openclaw/openclaw@44a6e50 fix(deps): bump hono to 4.12.14 and @hono/node-server to 1.19.14 (GHS… · openclaw/openclaw@fbccc18 fix(deps): bump dompurify to 3.4.0 (#67614) · openclaw/openclaw@2c2dc00 CI: add explicit permissions to all workflow jobs (fixes code-scannin… · openclaw/openclaw@01b7516 fix: register bundled TTS providers and route overrides correctly (#6… · openclaw/openclaw@6ea3cdd fix: align host tilde paths with OS home (#62804) (thanks @stainlu) · openclaw/openclaw@ecfaf64 fix: flush creds queue before reconnect socket open (#67464) (thanks … · openclaw/openclaw@405c63f fix: strip standalone <function> tool call tags from visible text (#6… · openclaw/openclaw@78df859 fix(agents): preserve cli session metadata before transcript persist … · openclaw/openclaw@898fd04 docs(changelog): move cli transcript entry · openclaw/openclaw@c1817c6 fix(agents): normalize cli transcript api field · openclaw/openclaw@3a3fae0 docs(changelog): note cli transcript persistence · openclaw/openclaw@6c343f1 fix(agents): persist cli transcript turns · openclaw/openclaw@b8ef507 fix(msteams): harden security-sensitive flows (#65841) · openclaw/openclaw@c56b56e [Dashboard] Fix exec approval modal overflow for long command content… · openclaw/openclaw@053c5b0 Docs: remove QA changelog entry · openclaw/openclaw@7fd5771 QA: fix private runtime source loading (#67428) · openclaw/openclaw@d5933af docs(gateway): correct protocol.md schema path, hello-ok example, aut… · openclaw/openclaw@489404d CI: pin Node 22 runners to 22.18.0 · openclaw/openclaw@4ffa621 models.authStatus: normalize provider ids + tighten env-backed escape… · openclaw/openclaw@f2fdb9d Update CHANGELOG.md · openclaw/openclaw@7694a92 test(parallels): clean up npm update guard jobs · openclaw/openclaw@045ea7b Plugins: prefer scanDir override paths · openclaw/openclaw@b2974da fix(dreaming): default storage.mode to "separate" so phase blocks sto… · openclaw/openclaw@8c392f0 fix(memory-core): skip dreaming transcript ingestion via session stor… · openclaw/openclaw@a1b01f0 fix: dedupe replayed exec.finished node events (#67281) · openclaw/openclaw@5dcf526
refactor: store sandbox registry in sqlite · openclaw/openclaw@ce015ce
steipete · 2026-06-07 · via Recent Commits to openclaw:main
1-

// Sandbox registry tests cover sharded registry migration, locking, ordering,

1+

// Sandbox registry tests cover legacy registry migration, ordering,

22

// and race-safety for container/browser runtime records.

33

import fs from "node:fs/promises";

4-

import { afterAll, afterEach, beforeEach, describe, expect, it, vi } from "vitest";

5-6-

type WriteDelayConfig = {

7-

targetFile: "containers.json" | "browsers.json" | null;

8-

containerName: string;

9-

started: boolean;

10-

markStarted: () => void;

11-

waitForRelease: Promise<void>;

12-

};

4+

import path from "node:path";

5+

import { afterAll, afterEach, describe, expect, it, vi } from "vitest";

136147

const {

158

TEST_STATE_DIR,

9+

PREVIOUS_OPENCLAW_STATE_DIR,

1610

SANDBOX_REGISTRY_PATH,

1711

SANDBOX_BROWSER_REGISTRY_PATH,

1812

SANDBOX_CONTAINERS_DIR,

1913

SANDBOX_BROWSERS_DIR,

20-

writeGateState,

2114

} = vi.hoisted(() => {

2215

const path = require("node:path");

2316

const { mkdtempSync } = require("node:fs");

2417

const { tmpdir } = require("node:os");

2518

const baseDir = mkdtempSync(path.join(tmpdir(), "openclaw-sandbox-registry-"));

19+

const previousStateDir = process.env.OPENCLAW_STATE_DIR;

20+

process.env.OPENCLAW_STATE_DIR = baseDir;

26212722

return {

2823

TEST_STATE_DIR: baseDir,

24+

PREVIOUS_OPENCLAW_STATE_DIR: previousStateDir,

2925

SANDBOX_REGISTRY_PATH: path.join(baseDir, "containers.json"),

3026

SANDBOX_BROWSER_REGISTRY_PATH: path.join(baseDir, "browsers.json"),

3127

SANDBOX_CONTAINERS_DIR: path.join(baseDir, "containers"),

3228

SANDBOX_BROWSERS_DIR: path.join(baseDir, "browsers"),

33-

writeGateState: { active: null as WriteDelayConfig | null },

3429

};

3530

});

3631

@@ -42,37 +37,8 @@ vi.mock("./constants.js", () => ({

4237

SANDBOX_BROWSERS_DIR,

4338

}));

443945-

vi.mock("../../infra/json-files.js", async () => {

46-

const actual = await vi.importActual<typeof import("../../infra/json-files.js")>(

47-

"../../infra/json-files.js",

48-

);

49-

return {

50-

...actual,

51-

writeJson: async (

52-

filePath: string,

53-

value: unknown,

54-

options?: Parameters<typeof actual.writeJson>[2],

55-

) => {

56-

// Gate selected writes to model a concurrent update/remove interleave at

57-

// the JSON-file boundary.

58-

const payload = JSON.stringify(value);

59-

const gate = writeGateState.active;

60-

if (

61-

gate &&

62-

(!gate.targetFile || filePath.includes(gate.targetFile)) &&

63-

payloadMentionsContainer(payload, gate.containerName)

64-

) {

65-

if (!gate.started) {

66-

gate.started = true;

67-

gate.markStarted();

68-

}

69-

await gate.waitForRelease;

70-

}

71-

await actual.writeJson(filePath, value, options);

72-

},

73-

};

74-

});

75-40+

import { closeOpenClawStateDatabaseForTest } from "../../state/openclaw-state-db.js";

41+

import { hashTextSha256 } from "./hash.js";

7642

import {

7743

migrateLegacySandboxRegistryFiles,

7844

readBrowserRegistry,

@@ -88,13 +54,6 @@ type SandboxBrowserRegistryEntry = import("./registry.js").SandboxBrowserRegistr

8854

type SandboxRegistryEntry = import("./registry.js").SandboxRegistryEntry;

8955

type MigrationResult = Awaited<ReturnType<typeof migrateLegacySandboxRegistryFiles>>[number];

905691-

function payloadMentionsContainer(payload: string, containerName: string): boolean {

92-

return (

93-

payload.includes(`"containerName":"${containerName}"`) ||

94-

payload.includes(`"containerName": "${containerName}"`)

95-

);

96-

}

97-9857

async function seedMalformedContainerRegistry(payload: string) {

9958

await fs.writeFile(SANDBOX_REGISTRY_PATH, payload, "utf-8");

10059

}

@@ -103,39 +62,9 @@ async function seedMalformedBrowserRegistry(payload: string) {

10362

await fs.writeFile(SANDBOX_BROWSER_REGISTRY_PATH, payload, "utf-8");

10463

}

10564106-

function installWriteGate(

107-

targetFile: "containers.json" | "browsers.json" | null,

108-

containerName: string,

109-

): { waitForStart: Promise<void>; release: () => void } {

110-

let markStarted = () => {};

111-

const waitForStart = new Promise<void>((resolve) => {

112-

markStarted = resolve;

113-

});

114-

let resolveRelease = () => {};

115-

const waitForRelease = new Promise<void>((resolve) => {

116-

resolveRelease = resolve;

117-

});

118-

writeGateState.active = {

119-

targetFile,

120-

containerName,

121-

started: false,

122-

markStarted,

123-

waitForRelease,

124-

};

125-

return {

126-

waitForStart,

127-

release: () => {

128-

resolveRelease();

129-

writeGateState.active = null;

130-

},

131-

};

132-

}

133-134-

beforeEach(() => {

135-

writeGateState.active = null;

136-

});

137-13865

afterEach(async () => {

66+

closeOpenClawStateDatabaseForTest();

67+

await fs.rm(path.join(TEST_STATE_DIR, "state"), { recursive: true, force: true });

13968

await fs.rm(SANDBOX_CONTAINERS_DIR, { recursive: true, force: true });

14069

await fs.rm(SANDBOX_BROWSERS_DIR, { recursive: true, force: true });

14170

await fs.rm(SANDBOX_REGISTRY_PATH, { force: true });

@@ -145,7 +74,13 @@ afterEach(async () => {

14574

});

1467514776

afterAll(async () => {

77+

closeOpenClawStateDatabaseForTest();

14878

await fs.rm(TEST_STATE_DIR, { recursive: true, force: true });

79+

if (PREVIOUS_OPENCLAW_STATE_DIR === undefined) {

80+

delete process.env.OPENCLAW_STATE_DIR;

81+

} else {

82+

process.env.OPENCLAW_STATE_DIR = PREVIOUS_OPENCLAW_STATE_DIR;

83+

}

14984

});

1508515186

function browserEntry(

@@ -185,6 +120,28 @@ async function seedBrowserRegistry(entries: SandboxBrowserRegistryEntry[]) {

185120

);

186121

}

187122123+

async function seedShardedContainerRegistry(entries: SandboxRegistryEntry[]) {

124+

await fs.mkdir(SANDBOX_CONTAINERS_DIR, { recursive: true });

125+

for (const entry of entries) {

126+

await fs.writeFile(

127+

path.join(SANDBOX_CONTAINERS_DIR, `${hashTextSha256(entry.containerName)}.json`),

128+

`${JSON.stringify(entry, null, 2)}\n`,

129+

"utf-8",

130+

);

131+

}

132+

}

133+134+

async function seedShardedBrowserRegistry(entries: SandboxBrowserRegistryEntry[]) {

135+

await fs.mkdir(SANDBOX_BROWSERS_DIR, { recursive: true });

136+

for (const entry of entries) {

137+

await fs.writeFile(

138+

path.join(SANDBOX_BROWSERS_DIR, `${hashTextSha256(entry.containerName)}.json`),

139+

`${JSON.stringify(entry, null, 2)}\n`,

140+

"utf-8",

141+

);

142+

}

143+

}

144+188145

async function seedStaleLock(lockPath: string) {

189146

await fs.writeFile(

190147

lockPath,

@@ -246,7 +203,7 @@ describe("registry race safety", () => {

246203

expect(entry?.configLabelKind).toBe("Image");

247204

});

248205249-

it("migrates legacy container and browser registry files after explicit repair", async () => {

206+

it("migrates legacy monolithic container and browser registry files after explicit repair", async () => {

250207

await seedContainerRegistry([

251208

containerEntry({

252209

containerName: "legacy-container",

@@ -297,7 +254,35 @@ describe("registry race safety", () => {

297254

expect(browser?.configHash).toBe("legacy-browser-hash");

298255

});

299256300-

it("does not overwrite newer sharded entries during legacy migration", async () => {

257+

it("migrates legacy sharded container and browser registry files after explicit repair", async () => {

258+

await seedShardedContainerRegistry([

259+

containerEntry({

260+

containerName: "legacy-container",

261+

sessionKey: "agent:legacy",

262+

lastUsedAtMs: 7,

263+

configHash: "legacy-container-hash",

264+

}),

265+

]);

266+

await seedShardedBrowserRegistry([

267+

browserEntry({

268+

containerName: "legacy-browser",

269+

sessionKey: "agent:legacy",

270+

cdpPort: 9333,

271+

noVncPort: 6081,

272+

configHash: "legacy-browser-hash",

273+

}),

274+

]);

275+276+

const migrationResults = await migrateLegacySandboxRegistryFiles();

277+

expect(requireMigrationResult(migrationResults, "containers").status).toBe("migrated");

278+

expect(requireMigrationResult(migrationResults, "browsers").status).toBe("migrated");

279+

await expectPathMissing(SANDBOX_CONTAINERS_DIR);

280+

await expectPathMissing(SANDBOX_BROWSERS_DIR);

281+

expect((await readRegistry()).entries[0]?.containerName).toBe("legacy-container");

282+

expect((await readBrowserRegistry()).entries[0]?.containerName).toBe("legacy-browser");

283+

});

284+285+

it("does not overwrite newer SQLite entries during legacy migration", async () => {

301286

await updateRegistry(

302287

containerEntry({

303288

containerName: "container-a",

@@ -320,7 +305,30 @@ describe("registry race safety", () => {

320305

expect(entry?.lastUsedAtMs).toBe(10);

321306

});

322307323-

it("reads a single sharded entry without scanning the full registry", async () => {

308+

it("prefers newer sharded entries over stale monolithic entries during legacy migration", async () => {

309+

await seedContainerRegistry([

310+

containerEntry({

311+

containerName: "container-a",

312+

sessionKey: "legacy-session",

313+

lastUsedAtMs: 1,

314+

}),

315+

]);

316+

await seedShardedContainerRegistry([

317+

containerEntry({

318+

containerName: "container-a",

319+

sessionKey: "sharded-session",

320+

lastUsedAtMs: 10,

321+

}),

322+

]);

323+324+

await migrateLegacySandboxRegistryFiles();

325+326+

const entry = await readRegistryEntry("container-a");

327+

expect(entry?.sessionKey).toBe("sharded-session");

328+

expect(entry?.lastUsedAtMs).toBe(10);

329+

});

330+331+

it("reads a single SQLite entry without scanning the full registry", async () => {

324332

await updateRegistry(containerEntry({ containerName: "container-x", sessionKey: "sess:x" }));

325333

await updateRegistry(containerEntry({ containerName: "container-y", sessionKey: "sess:y" }));

326334

@@ -347,24 +355,19 @@ describe("registry race safety", () => {

347355

});

348356349357

it("prevents concurrent container remove/update from resurrecting deleted entries", async () => {

350-

// Delete wins over an in-flight stale update so prune/remove cannot be

351-

// undone by a delayed writer.

352358

await updateRegistry(containerEntry({ containerName: "container-x" }));

353-

const writeGate = installWriteGate(null, "container-x");

354359355360

const updatePromise = updateRegistry(

356361

containerEntry({ containerName: "container-x", configHash: "updated" }),

357362

);

358-

await writeGate.waitForStart;

359363

const removePromise = removeRegistryEntry("container-x");

360-

writeGate.release();

361364

await Promise.all([updatePromise, removePromise]);

362365363366

const registry = await readRegistry();

364367

expect(registry.entries).toHaveLength(0);

365368

});

366369367-

it("stores unsafe container names as encoded shard filenames", async () => {

370+

it("stores unsafe container names without writing path-derived files", async () => {

368371

await updateRegistry(containerEntry({ containerName: "../escape" }));

369372370373

const registry = await readRegistry();

@@ -406,14 +409,11 @@ describe("registry race safety", () => {

406409407410

it("prevents concurrent browser remove/update from resurrecting deleted entries", async () => {

408411

await updateBrowserRegistry(browserEntry({ containerName: "browser-x" }));

409-

const writeGate = installWriteGate(null, "browser-x");

410412411413

const updatePromise = updateBrowserRegistry(

412414

browserEntry({ containerName: "browser-x", configHash: "updated" }),

413415

);

414-

await writeGate.waitForStart;

415416

const removePromise = removeBrowserRegistryEntry("browser-x");

416-

writeGate.release();

417417

await Promise.all([updatePromise, removePromise]);

418418419419

const registry = await readBrowserRegistry();

@@ -443,4 +443,28 @@ describe("registry race safety", () => {

443443

);

444444

expect(requireMigrationResult(migrationResults, "browsers").status).toBe("quarantined-invalid");

445445

});

446+447+

it("quarantines malformed sharded registry directories during migration", async () => {

448+

await fs.mkdir(SANDBOX_CONTAINERS_DIR, { recursive: true });

449+

await fs.mkdir(SANDBOX_BROWSERS_DIR, { recursive: true });

450+

await seedShardedContainerRegistry([

451+

containerEntry({ containerName: "valid-container", sessionKey: "agent:valid" }),

452+

]);

453+

await seedShardedBrowserRegistry([

454+

browserEntry({ containerName: "valid-browser", sessionKey: "agent:valid" }),

455+

]);

456+

await fs.writeFile(path.join(SANDBOX_CONTAINERS_DIR, "bad.json"), "{bad json", "utf-8");

457+

await fs.writeFile(path.join(SANDBOX_BROWSERS_DIR, "bad.json"), "{bad json", "utf-8");

458+459+

const migrationResults = await migrateLegacySandboxRegistryFiles();

460+461+

expect(requireMigrationResult(migrationResults, "containers").status).toBe(

462+

"quarantined-invalid",

463+

);

464+

expect(requireMigrationResult(migrationResults, "browsers").status).toBe("quarantined-invalid");

465+

expect((await readRegistry()).entries[0]?.containerName).toBe("valid-container");

466+

expect((await readBrowserRegistry()).entries[0]?.containerName).toBe("valid-browser");

467+

await expectPathMissing(SANDBOX_CONTAINERS_DIR);

468+

await expectPathMissing(SANDBOX_BROWSERS_DIR);

469+

});

446470

});