Skip to content

chore(evals): drop the engine cache warm gate now that the devtools plugin is bundled - #4426

Merged
benjaminshafii merged 1 commit into
devfrom
chore/evals-drop-engine-warm-gate
Sep 4, 2026
Merged

benjaminshafii merged 1 commit into
devfrom
chore/evals-drop-engine-warm-gate

Conversation

@benjaminshafii

Copy link
Copy Markdown
Member

Why

#4397 added an "engine cache warm gate" to Daytona desktop provisioning: it pre-installed opencode-chrome-devtools via npm into each sandbox's OpenCode cache because the engine's in-process npm install could hang at bootstrap. #4423 bundles that plugin as a local file, so the engine no longer installs anything from npm at bootstrap and the gate — plus the engineCacheDir plumbing it needed through provision → place → daytonaSandbox → spawnElectron, the OPENWORK_EVAL_DAYTONA_ENGINE_CACHE_DIR{,_A,_B} facts, and the profile pre-seed copy — is dead weight (~10s per sandbox).

Change

Removal only, evals/ only: +14 / −145 across 11 files. First-boot and Vite-prewarm gates are untouched.

Verification

Fresh Daytona sandbox on this branch (checkout resolved 10829bce6ced), no warm gate in the provisioning trace, engine boots, existing desktop journey passes:

OPENWORK_EVAL_REF=chore/evals-drop-engine-warm-gate node evals/bin/evals.mjs composer-draft-reload --daytona
# passed 1 / failed 0 / skipped 0 — verdict: passed
rg -n "engineCacheDir|ENGINE_CACHE_DIR|CHROME_DEVTOOLS_PLUGIN_VERSION|engine cache warm|install_package|engine-cache" evals .github   # no matches
pnpm --dir evals test              # exit 0 — 233 pass, 0 fail, 0 skip (lint:layers, channel ratchet, node --test)
pnpm --dir evals typecheck:spec-layer   # exit 0

pnpm --dir evals typecheck has 99 pre-existing errors on clean dev (unrelated packages/headless-threads / den types); unchanged by this PR.

…lugin is bundled

The cache warm gate added in #4397 preinstalled opencode-chrome-devtools through npm. #4423 now bundles the plugin locally, so remove the provision-time install, profile seeding, and environment plumbing.
@benjaminshafii

Copy link
Copy Markdown
Member Author

Test evidence — reloading-a-session-with-a-persisted-composer-draft-keeps-the-renderer-stable — ✅ passed

✅ passed · 0 expectations passed · 0 failed · 0 pending

[world] desktop(daytona) · workspace(/tmp/openwork-empty-session-1788544489686) · session("New task")
[user] type(composer, "Keep this persisted draft through reload")
[probe] storage(openwork.session-drafts.v2)
[user] reload · see(composer, editable, text="Keep this persisted draft through reload") · reload · see(composer, editable, text="Keep this persisted draft through reload") · reload · see(composer, editable, text="Keep this persisted draft through reload")
[probe] storage(openwork.session-drafts.v2)
steps 1 ✅ draft survives three reloads (3.5s)
verdict passed · 3 user observations (see ×3) · 2 probes · steps 1/1


Test run created 2026-09-04T17:54:49.655Z · Source: evals/results/test-runs/2026-09-04T17-54-49-655Z-reloading-a-session-with-a-persisted-composer-draft-keeps-the-renderer-stable/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 4426 --test-run 2026-09-04T17-54-49-655Z-reloading-a-session-with-a-persisted-composer-draft-keeps-the-renderer-stable

@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown
Contributor

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
openwork-app Ready Ready Preview Sep 4, 2026 5:57pm UTC
openwork-den Ready Ready Preview Sep 4, 2026 5:57pm UTC
openwork-diagnostics Ready Ready Preview Sep 4, 2026 5:57pm UTC
openwork-landing Ready Ready Preview, v0 Sep 4, 2026 5:57pm UTC

@benjaminshafii
benjaminshafii enabled auto-merge (squash) September 4, 2026 17:59

@diff-warden diff-warden Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Warden security clearance: clear. No blocking findings (security or desktop↔den sync) in this diff (10829bce6ced0eb1d1346003278eee39feb7d4df). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

@benjaminshafii
benjaminshafii merged commit dda3557 into dev Sep 4, 2026
27 checks passed

This branch was successfully deployed

4 active deployments
Preview – openwork-app — 10829bce Deployed Sep 4, 2026 by vercel[bot]
Preview – openwork-landing — 10829bce Deployed Sep 4, 2026 by vercel[bot]
Preview – openwork-den — 10829bce Deployed Sep 4, 2026 by vercel[bot]
Preview – openwork-diagnostics — 10829bce Deployed Sep 4, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant