Skip to content

test(evals): create the declared workspace instead of adopting the first-launch default (closes the #4608 adoption trap for every world) - #4817

Merged
yomgui merged 8 commits into
devfrom
e2e/world-workspace-adoption
Sep 11, 2026
Merged

yomgui merged 8 commits into
devfrom
e2e/world-workspace-adoption

Conversation

@yomgui

@yomgui yomgui commented Sep 10, 2026 •

Copy link
Copy Markdown
Member

Harness follow-up to #4747 / #4798 (their "Noticed, not touched" default-workspace items) and to the pooled-lane finding in #4730. Closes the #4608 default-workspace adoption trap for every seed.workspace() caller instead of one call site at a time.

Stacked on origin/e2e/workspace-permission-reload (#4747) via a merge commit; none of its files are modified here. See "Rebase order" for why.

Root cause

Since #4608 (51c0ab92f) a public first launch provisions and selects an "OpenWork Chat" workspace under the dev profile's openwork-dev-data/home. That profile lives inside the repo checkout on both lanes (/workspace/.openwork-daytona/... on Daytona, evals/results/.surfaces/<pid>/... locally), so OpenCode's config walk merges the repo's .opencode/opencode.json ("permission": "allow") after the workspace file.

createAndSelectWorkspace(app, { path }) returned whatever workspace was already selected unless the caller passed create: true, so seed.workspace(app, seed.tmpPath(...)) silently ran the spec in that in-repo default folder. Every workspace-level permission/policy a world wrote was shadowed; the claims held only because the repo config happened to allow the same things (#4747 root cause, #4798 root cause (a), #4730 defect 4).

What changed (evals only, 3 files)

  • evals/packages/behaviors/src/desktop-boot.ts — when a workspace is already selected, createAndSelectWorkspace now reads its path from the product's route slice and creates the requested folder unless the selected workspace already sits there. create: true keeps forcing creation. This is commit 61f108942 from test(evals): make the pooled Daytona lane honour per-spec surface isolation #4730 lifted onto dev so it can land on its own (that PR is approved but conflicting); identical content, so whichever of the two lands second sees an empty hunk.
  • evals/packages/cdp/src/browser-globals.d.ts — types path on the route slice's workspaces (already published by use-workspace-route-state.ts).
  • evals/packages/env/src/seed.ts — the Seed.workspace contract states the semantics.

Nothing in evals/worlds/** or evals/specs/** changes: the 68 call sites below start doing what their briefs declare without a per-site flag, and chat.ts/desktop.ts stay untouched so #4798 and #4747 do not conflict.

Why the harness default rather than flipping call sites

Enumeration (seed.workspace( in evals/worlds/** and evals/specs/** at e925c7c99)

74 calls: 6 already pass create: true (browser-panel ×2, models-analytics, session-shell workspaceNewTask, chat workspaceEngineUpgrade second workspace, cross-workspace-split-view spec); 68 adopted.

Declared tmp path, adopted the default (64) — now create their declared folder:

World file Worlds (line) Spec files reached
chat.ts emptyChat 216, paletteSessionActions 223, splitPaneQuestions 239 (→ delegatedQuestionHandoff, permissionStopRecovery, restartUpdateTaskWorld, newSplitPrimary, sessionSubmitErrorIsolation), focusContinuity 478, attachmentUpload 609, renderCycle 706, streamedToolHistory 780, streamedMarkdown 872, clampHtml 1055, queuedDrainAway 1194, queuedSequential 1294, crossWorkspace 1397/1402, markdownArtifact 1426, mermaidChat 1439, safeEdit 1495, sessionErrorCard 1522, snapshotFailure 1648, longHistory 1680, taskActivity 1712, unfinishedTools 1720, computerMentions 1771, visualization 1835, workspaceEngineUpgrade 1876 (primary), skillLifecycle 1900 parent-child-permission-approval, background-desktop-update, new-split-session, session-error-technical-details, command-palette-pin-rename, attachment-upload-loading-state, streamed-markdown-answer, composer-editable-during-snapshot-error, session-full-history-on-open, task-activity-shimmer, unfinished-tool-lifecycle, computer-task-mentions, visualization, workflow-run-previews, workspace-engine-upgrade, opencode-v2-skill-jit, and the chat worlds consumed through spec.world aliases
first-run.ts appSmokeWorld 76, workspaceWorld 173 (→ sessionWorld, parentChildPermissionWorld, scopedPermissionRefreshWorld, …), unconfiguredNotificationWorld 410, backgroundUpdateWorld 1203, revokedUpdateWorld 1310 app-smoke, parent-child-permission-approval, background-desktop-update, and every workspaceWorld consumer
library.ts connectStateProvenance 234, preseededConnect 295, connectorBranding 359, libraryConnectorDiscovery 416, librarySessionRestore 440, libraryAdvancedRefresh 460, libraryAuthoringRoutes 487, libraryMcpConnectError 544, localManagedMcp 593, connectionActionMcpApp 1036, skillCreatedMcpApp 1106, mcpAppInlineHost 1214, remoteMcpApps 1390 connect-readiness-preseeded, connector-tool-call-branding, library-add-connector-discovery, connection-action-mcp-app, and the library worlds consumed through aliases
session-shell.ts oneWorkspace 580, sidebarOverflow 593, sidebarExpansion 601, sidebarWorkspaceTitles 640, pinnedSessions 1351, archiveActiveSessions 1448, archiveSessions 1823, externalSessionVisibility 1987, crossWorkspaceSessions 2303, settingsRuntime 2326, activeSessionStorm 2536, workspaceOrder 2573 sidebar-title-overflow-fade, live-tool-visible-after-session-switch, pinned-sessions-exposed, session-archive-button, session-archive-undo, sidebar-external-session-visibility, …
desktop.ts emptySession 6 (already create: true in #4747, merged here) app-smoke, composer-draft-reload, composer-run-mode
desktop-policies.ts 97, dashboard-launch-input.ts 153, saved-apps.ts 115, chat-stream-continuity.ts 84, session-switch-latency.ts 160, infra.ts 49/50, specs/new-task-draft-return.e2e.test.ts 8 one world each desktop-policy-restricted-mode, dashboard-atlassian-tile-error, saved-app-creation, streamed-markdown-answer, live-tool-visible-after-session-switch, two-daytona-desktops, new-task-draft-return

Explicitly declare the repo workspace (4) — stay explicit, now get exactly that folder: library.ts libraryConfigReadBudget 509, librarySignedInStability 561, libraryStateTabs 580 (repoRoot), first-run.ts skillsLocalWorld 357 (app.workspaceRoot). None has a spec consumer today. Note for whoever revives them: repoRoot in library.ts carries a trailing slash, so it never string-equals the server's resolve()d path; creation is idempotent, but if that repo-root workspace were already selected the "created workspace selected" wait would time out loudly rather than adopt.

Rebase order

  1. fix(server): make workspace permission changes reach the engine's effective permissions (composer-run-mode) #4747 (e2e/workspace-permission-reload) first — this PR is stacked on it. Without its desktop-runtime-boot fix, a workspace that exists only in the server registry makes the location.reload() inside configureProvider (used by every splitPaneQuestions world) restart the embedded server and engine; observed on 004c2e73e (this fix on plain dev): session-error-technical-details test 2 and parent-child-permission-approval test 4 got past their send gates in the correct workspace and then found no session rows in the sidebar (Could not locate {"text":"Independent task B"} / "Delegated question parent"). Same runs on the stacked head are green (see Proof).
  2. This PR.
  3. test(evals): make the pooled Daytona lane honour per-spec surface isolation #4730 rebases and drops 61f108942 (becomes empty). fix(app): apply per-session bash 'ask' permission and withdraw orphaned permission requests after Stop #4798 rebases cleanly (no shared files); its createWorkspace opt-in in splitPaneQuestions becomes redundant and can go in a follow-up.

Proof

Lane: Daytona (--daytona, placement: daytona, fresh sandboxes per surface, OPENWORK_EVAL_REF exported and source verified in every log; all sandboxes deleted). Command shape: OPENWORK_EVAL_REF=<sha> pnpm evals:e2e <spec> --daytona. Spec files reached by the four splitPaneQuestions worlds Z4 named plus the plain-desktop worlds they share files with.

At the PR head d24974132:

Spec file Result Detail
background-desktop-update 3 passed / 0 failed / 0 skipped (exit 0) backgroundUpdateWorld, revokedUpdateWorld (plain seed.desktop() + tmp path — the trap's main shape) and restartUpdateTaskWorld (splitPaneQuestions) all run in their declared /tmp/openwork-* workspace.
parent-child-permission-approval 1 passed / 3 failed / 0 skipped Test 1 (scopedPermissionRefreshWorld → workspaceWorld, plain desktop) passed. Test 2 (permissionStopRecovery) now gets past spec line 137 — bash asks for permission because the world's permission: { bash: "ask" } finally reaches the engine — and fails at line 150 (native interruption cleanup removes the pending permission), the product gap #4798 fixes (its root cause (b)). Test 3 fails at line 75 (runningTreatmentVisible: false), the pre-existing Cluster 2 shimmer regression. Test 4 (delegatedQuestionHandoff) runs through sidebar navigation, reload and delegation in the created workspace and fails at line 354 (Child checklist button still visible after Stop + follow-up), the product gap #4786 fixes.
session-error-technical-details 1 passed / 1 failed / 0 skipped Test 1 (sessionErrorCard) passed. Test 2 (sessionSubmitErrorIsolation) fails at the selected task can send … runEnabled:false — identical to the clean origin/dev control at e925c7c99 (Cluster 1).
new-split-session 0 passed / 1 failed (at 004c2e73e, first commit) expected 212 to be close to 213 at line 135 — identical failure on the clean origin/dev control at e925c7c99. Not re-run at the head; nothing in this PR touches sidebar geometry.

Controls on a clean origin/dev worktree at e925c7c99 (OPENWORK_EVAL_REF=e925c7c99, Daytona): new-split-session 0/1 (same assertion), session-error-technical-details 1/2 (same runEnabled:false gate), parent-child-permission-approval 1/4 — test 1 passed; test 3 fails at line 75 (Cluster 2, same as head); test 4 fails at line 354 (Child checklist still visible, same as head, #4786); test 2 fails at line 137 (Timed out after 45000ms seeing text=printf OTHER_PERMISSION_WITNESS — bash ran without asking because the world's bash: ask never reached the engine), whereas on this PR head the same test passes line 137 and reaches line 150. That line-137 → line-150 shift is the trap closing.

Diagnostic (not committed, run at 193b8f1a0): a throwaway spec on newSplitPrimary dumped the route slice after the world — three workspaces present (…/openwork-dev-data/home/OpenWork Chat, /tmp/openwork-admin-<ts> from app(), and the declared /tmp/openwork-new-split-session-<ts> selected, its two seeded sessions listed) — and showed the seeded title still rendering as New session - <iso> right after seed.session({ title }) returned. That race caused one-off Could not locate {"text":"<seeded title>"} failures in session-error-technical-details test 2 (004c2e73e), parent-child-permission-approval test 4 (004c2e73e) and background-desktop-update test 3 (193b8f1a0); the second commit settles it in the arrangement and none of the head runs hit it.

Verdict: Passed for the claim of this PR (worlds run in the workspace their brief declares, proven by the workspace-policy step of parent-child-permission-approval test 2 turning from "silently allowed" into "asks", and by background-desktop-update 3/3 and the passing tests above). Remaining red tests are pre-existing product gaps with open fixes (#4786, #4798, Cluster 1, Cluster 2) or the pre-existing new-split-session geometry assertion, each matched by a dev control or cited PR above.

Unit/typecheck: pnpm --dir evals exec tsc -p . --noEmit → 399 errors before and after, none in the touched files.

Publication: the nine head-matching test runs are rendered in one PR comment via the legacy per-run publisher (--publish --test-run <dir> --dry-run, one section per test, traces and step verdicts included). The review-app report could not be uploaded from this machine: OPENWORK_REVIEW_BLOB_TOKEN exists only as a GitHub Actions secret, and the Infisical BLOB_READ_WRITE_TOKEN is a public-store token the review app rejects (Cannot use private access on a public store). Someone with the private-store token can publish the same runs with OPENWORK_REVIEW_URL=<repo var> BLOB_READ_WRITE_TOKEN=<private> pnpm evals:e2e --publish --pr 4817 --all; the test-run directories are named in that comment.

Noticed, not touched

  • new-split-session is red on dev independently of this change: AssertionError: other conversations use the plus space: expected 212 to be close to 213 at spec line 135, identical on a clean origin/dev worktree at e925c7c99 (pnpm evals:e2e new-split-session --daytona, OPENWORK_EVAL_REF=e925c7c99, 0 passed / 1 failed) and on this branch. Sidebar row geometry — Cluster 8 / fix(app): keep sidebar rows anchored during Show more and restore title overflow state #4737 territory.
  • parent-child-permission-approval test 3 (runningTreatmentVisible: false) is the pre-existing Cluster 2 shimmer regression (e2e/delegated-task-shimmer), unrelated to workspace arrangement.
  • session-error-technical-details test 2 on dev fails earlier than here (the selected task can send ... runEnabled:false, Cluster 1); on this head it passes that gate, so this PR is also the first green run of that test since Sep 9 that I know of.
  • Daytona CLI v0.210.0 vs API v0.213.0 mismatch warnings on every exec; two provisioning 502s (source resolve gate, source checkout gate) during the first round, re-run rather than diagnosed.
  • pnpm --dir evals typecheck reports 399 pre-existing errors, none in the three touched files (same count before and after).

The emptySession world declared /tmp/openwork-empty-session-<ts> but
seed.workspace() adopted the existing first-launch default workspace
instead ("OpenWork Chat" under the dev profile home). On Daytona that
profile lives inside the repo checkout, so the engine merged
/workspace/.opencode/opencode.json ("permission": "allow") over the
workspace's own catch-all and composer-run-mode never saw the workspace
MCP rule take effect.
…ce is server-owned

Workspaces created from the app live only in the server registry, so a
renderer reload reaches startServerWithoutDesktopWorkspace and restarted
the embedded server (and its engine) although it was healthy and already
serving that workspace. Reuse it when it is ready with the preferred
remote-access mode; only restart when nothing usable is running.
…selected one

Since #4608 a public first launch provisions and selects an 'OpenWork Chat'
workspace inside the dev profile, which sits inside the repo checkout on both
lanes. createAndSelectWorkspace saw that selection and returned it without
creating the folder the world declared, so 68 seed.workspace() call sites ran
in a workspace whose ancestor .opencode/opencode.json ('permission: allow')
shadowed every workspace-level policy they wrote. Create when the selected
workspace is not at the requested folder; create:true keeps forcing creation.

Lifts commit 61f1089 from #4730 onto dev so it can land on its own; the
Seed.workspace contract now states the semantics.
…e title

seed.sessions() already renames through renameSessionAndWait and verifies the
titles are listed; seed.session() fired session.rename and returned. Running
worlds in their declared (freshly created) workspace made that gap visible:
specs clicked a sidebar row by its seeded title while the list still showed
the placeholder, so the arrangement now settles the title before handing back.
@vercel

vercel Bot commented Sep 10, 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 10, 2026 11:38pm UTC
openwork-den Ready Ready Preview Sep 10, 2026 11:38pm UTC
openwork-landing Ready Ready Preview, v0 Sep 10, 2026 11:38pm UTC
1 Skipped Deployment
Project Deployment Actions Updated
openwork-diagnostics Ignored Ignored Preview Sep 10, 2026 11:38pm UTC

@github-actions

github-actions Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Warden review summary — Clear

Native findings: 0. Blocking policy matches before consolidation: 0. Full finding text remains in Warden's native checks and review threads. This comment retains only native IDs, severity, skill attribution, and safe locations. Analysis run

Reported trigger coverage (not proof of complete repository or context coverage): diff-security-review (23226 ms), confidentiality-review (21778 ms).

Blockers

  • None.

Advisories

  • None.

Needs recheck

  • None.

Observed review-thread metrics

  • Unique observed run attempts in retained window: 3
  • Distinct heads in retained window: 3
  • Current unresolved Warden threads: 0 of 0 observed
  • Observed resolved/unresolved transitions in retained snapshots: 0 / 0
  • First observed resolved/unresolved (state at first collection, not event time): 0 / 0
  • Precision: unavailable (no adjudications; no TP/FP values are inferred)
  • Observation window: 3/20 run attempts retained; truncated: false
  • Transition snapshot: 0/0 current attributed threads retained (limit 500); truncated: false

Thread states are read-only collection snapshots. These metrics are neither lifetime totals nor exact resolution times, and this summary is not clearance authority.

diff-warden[bot]
diff-warden Bot previously approved these changes Sep 10, 2026

@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 (d2497413278c68a7ad1e8f74188b023366098146). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

@yomgui

yomgui commented Sep 10, 2026

Copy link
Copy Markdown
Member Author

Change verification — Daytona lane, head d24974132

Legacy per-run publication rendered locally with pnpm evals:e2e --publish --pr 4817 --test-run <dir> --dry-run (the private review-store token OPENWORK_REVIEW_BLOB_TOKEN is a GitHub Actions secret and is not available in this environment; the Infisical BLOB_READ_WRITE_TOKEN is a public-store token the review app rejects, so screenshots are not attached). Every run below was recorded at the PR head on Daytona (placement: daytona, OPENWORK_EVAL_REF exported). Pre-existing failures are classified in the PR body.

Test evidence — a downloaded update is not installed once the organization revokes its version — ✅ passed

SHA d249741 · engine v1

✅ 0/1 screenshots passed · 0 expectations passed · 0 failed · 0 pending

Dry run: screenshots were not attached.

[world] den(daytona) · [seed] api PATCH /v1/org · desktop(as admin) · workspace(/tmp/openwork-revoked-update-1789059470522)
[user] text=Check now · click(text=Check now)
[probe] eventually(the allowed version downloads)
[user] see(text=Ready to install: v9.9.9) · see(text=Restart to update) · Restart to update · click(Restart to update) · see(text=Restart OpenWork?) · Restart & update · click(Restart & update) · see(text=OpenWork 9.9.9 is available, but this installation is not eligible for it yet., timeoutMs=30000) · notSee(text=Ready to install: v9.9.9) · notSee(text=Restart to update) · notSee(text=Install & restart) · screenshot · text=Check now · click(text=Check now)
[probe] eventually(the re-approved version downloads again)
[user] see(text=Ready to install: v9.9.9) · notSee(text=OpenWork 9.9.9 is available, but this installation is not eligible for it yet.) · text=Install & restart · click(text=Install & restart)
[probe] eventually(install proceeds while the version stays allowed)
verdict passed · 10 user observations (see ×5, notSee ×4, screenshot ×1) · 3 probes · steps 0/0

⚪ UNVALIDATED — 1. a downloaded update is not installed once the organization revokes its version artifact 1

  • ⚪ UNVALIDATED — no visual expectations recorded.

Test run created 2026-09-10T16:54:16.722Z · Source: evals/results/test-runs/2026-09-10T16-54-16-721Z-a-downloaded-update-is-not-installed-once-the-organization-revokes-its-version/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 4817 --test-run 2026-09-10T16-54-16-721Z-a-downloaded-update-is-not-installed-once-the-organization-revokes-its-version


Test evidence — switching and creating threads hydrate permissions without waiting for unrelated roots — ✅ passed

SHA d249741 · engine v1

✅ 0/1 screenshots passed · 0 expectations passed · 0 failed · 0 pending

Dry run: screenshots were not attached.

[world] desktop(daytona) · workspace(/tmp/openwork-workspace-spec-1789059377542) · sessions(8) · [seed:raw] evalIn()
[probe] eventually(the unrelated permission endpoint is held open)
[agent] run(session.open)
[probe] eventually(the selected thread finishes its scoped permission read while the unrelated request is held) · hash
[user] see(composer, editable)
[agent] createSession("Fresh permission scope")
[probe] eventually(the selected thread finishes its scoped permission read while the unrelated request is held) · hash
[user] see(composer, editable) · screenshot
steps 1 ✅ switching reads only the selected root, not the other seven roots (0.5s) · 2 ✅ a newly created thread hydrates without sweeping existing roots (1.6s)
verdict passed · 3 user observations (see ×2, screenshot ×1) · 5 probes · steps 2/2

⚪ UNVALIDATED — 1. switching and creating threads hydrate permissions without waiting for unrelated roots artifact 1

  • ⚪ UNVALIDATED — no visual expectations recorded.

Test run created 2026-09-10T16:54:16.721Z · Source: evals/results/test-runs/2026-09-10T16-54-16-721Z-switching-and-creating-threads-hydrate-permissions-without-waiting-for-unrelated/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 4817 --test-run 2026-09-10T16-54-16-721Z-switching-and-creating-threads-hydrate-permissions-without-waiting-for-unrelated


Test evidence — a parent task surfaces and resolves its child session permission request — ❌ failed

SHA d249741 · engine v1

❌ 0/1 screenshots passed · 0 expectations passed · 0 failed · 0 pending

Dry run: screenshots were not attached.

[world] desktop(daytona) · workspace(/tmp/openwork-workspace-spec-1789059511529) · session("New task") · [seed:raw] evalIn()
[user] see(text=/Needs permission/, timeoutMs=30000) · see(text=/Requested by Investigate the deployment failure/) · see(text=/git status --short --branch/) · see(Deny) · see(Allow once) · see(Allow for session)
[probe:raw] [probe:raw] eval()
[user] screenshot · Allow once · click(Allow once) · notSee(text=/Requested by Investigate the deployment failure/) · notSee(text=/Needs permission/)
[probe:raw] [probe:raw] eval()
steps 1 ✅ The parent exposes the child request (0.7s) · 2 ❌ Approving clears the blocked state (18.3s)
verdict failed · 9 user observations (see ×6, screenshot ×1, notSee ×2) · 2 probes · steps 1/2

⚪ UNVALIDATED — 1. a parent task surfaces and resolves its child session permission request artifact 1

  • ⚪ UNVALIDATED — no visual expectations recorded.

Test run created 2026-09-10T16:56:48.876Z · Source: evals/results/test-runs/2026-09-10T16-56-48-876Z-a-parent-task-surfaces-and-resolves-its-child-session-permission-request/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 4817 --test-run 2026-09-10T16-56-48-876Z-a-parent-task-surfaces-and-resolves-its-child-session-permission-request


Test evidence — a delayed submit error stays with its owner while another retained task remains sendable — ❌ failed

SHA d249741 · engine v1

❌ failed · 0 expectations passed · 0 failed · 0 pending

Dry run: screenshots were not attached.

[world] mock(mcp) · den(daytona) · desktop(as admin) · workspace(/tmp/openwork-session-submit-error-isolation-1789059734113) · [seed:raw] evalIn() ×4 · session("Independent task B") · session("Storage failure task A")
[user] type(composer, "Save the first task output.")
[probe] eventually(the selected task can send)
[user] label=Run task · click(label=Run task)
[probe] eventually(A's actual submit is intercepted before its response)
[user] text=Independent task B · click(text=Independent task B)
[probe] eventually(the selected task owns the visible surface)
[user] type(composer, "Summarize the second task independently.")
[probe] eventually(the selected task can send) · eventually(the held SDK error response finishes)
[user] notSee(testId=session-error-card) · notSee(text=Storage error reported) · see(composer, editable, text="Summarize the second task independently.") · label=Run task · click(label=Run task) · see(text=The second task completed independently., timeoutMs=60000) · notSee(testId=session-error-card) · text=Storage failure task A · click(text=Storage failure task A)
[probe] eventually(the selected task owns the visible surface)
[user] type(composer, "Save the first task output again.", replace)
[probe] ❌ eventually(the selected task can send)
steps 1 ✅ A's real submit stays pending while B is selected and editable (2.3s) · 2 ✅ A's late upstream storage failure neither shows a B banner nor blocks B's one send (12.0s) · 3 ❌ a failure delivered while A owns the surface remains visible with neutral storage guidance (16.1s)
verdict failed · 5 user observations (notSee ×3, see ×2) · 7 probes · steps 2/3


Test run created 2026-09-10T16:57:46.788Z · Source: evals/results/test-runs/2026-09-10T16-57-46-788Z-a-delayed-submit-error-stays-with-its-owner-while-another-retained-task-remains-/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 4817 --test-run 2026-09-10T16-57-46-788Z-a-delayed-submit-error-stays-with-its-owner-while-another-retained-task-remains-


Test evidence — updates download outside Settings and offer a persistent, optional restart — ✅ passed

SHA d249741 · engine v1

⏳ 0/1 screenshots passed · 1 pending · 0 expectations passed · 0 failed · 2 pending

Dry run: screenshots were not attached.

[world] desktop(daytona) · workspace(/tmp/openwork-background-update-1789059587439)
[probe] eventually(initial background check finds no update) · eventually(return after the interval checks again while idle) · eventually(background download without opening Settings)
[user] notSee(text=Restart to update) · label=/^Notifications/ · click(label=/^Notifications/) · see(text=Update native preparation failed.) · press(Escape) · notSee(text=Restart to update) · text=Check now · click(text=Check now)
[probe] eventually(the user retries the failed download through Settings)
[user] notSee(text=Restart to update) · label=/^Notifications/ · click(label=/^Notifications/) · see(text=Update download connection failed.) · press(Escape) · notSee(text=Restart to update) · text=Check now · click(text=Check now)
[probe] eventually(the user retries the failed download through Settings)
[user] notSee(text=Restart to update) · see(text=Restart to update) · notSee(text=Ready when you are.) · see(text=Restart to update) ×2
[vision] looks(2 expectations)
[user] Restart to update · click(Restart to update) · notSee(text=Ready when you are.) · see(text=Restart OpenWork?) · see(text=/Eligible running tasks resume gradually after restart/) · Keep working · click(Keep working) · ❌ notSee(text=Restart OpenWork?) · notSee(text=Restart OpenWork?)
[probe] eventually(Keep working dismisses the restart dialog)
[user] label=Check automatically · click(label=Check automatically)
[probe] eventually(custom logo is preserved instead of the default wordmark)
[user] Restart to update · click(Restart to update) · see(text=Restart Studio?) · Restart & update · click(Restart & update) · label=/^Notifications/ · click(label=/^Notifications/) · see(text=Update installer could not start.) · press(Escape) · notSee(text=Restart Studio?)
[probe] eventually(the failed restart dismisses its dialog)
[user] notSee(text=Restart to update) · text=Check now · click(text=Check now)
[probe] eventually(the user re-downloads after the failed install through Settings)
[user] notSee(text=Restart to update) · see(text=Restart to update) · Restart to update · click(Restart to update) · see(text=Restart Studio?) · Restart & update · click(Restart & update) · label=/^Notifications/ · click(label=/^Notifications/) · see(text=Update installer connection failed.) · press(Escape) · notSee(text=Restart Studio?)
[probe] eventually(the failed restart dismisses its dialog)
[user] notSee(text=Restart to update) · text=Check now · click(text=Check now)
[probe] eventually(the user re-downloads after the failed install through Settings)
[user] notSee(text=Restart to update) · see(text=Restart to update) · Restart to update · click(Restart to update) · see(text=Restart Studio?) · Restart & update · click(Restart & update)
[probe] eventually(restart only after confirmation)
verdict passed · 30 user observations (notSee ×15, see ×14, looks ×1) · 12 probes · steps 0/0

⏳ PENDING — 1. A compact neutral Restart to update button sits in the titlebar with the app's other controls

  • ⏳ PENDING A compact neutral Restart to update button sits in the titlebar with the app's other controls — vision judgment deferred
  • ⏳ PENDING The OpenWork name remains above the sidebar navigation and no update card or banner covers the workspace — vision judgment deferred

Test run created 2026-09-10T16:58:10.397Z · Source: evals/results/test-runs/2026-09-10T16-58-10-397Z-updates-download-outside-settings-and-offer-a-persistent-optional-restart/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 4817 --test-run 2026-09-10T16-58-10-397Z-updates-download-outside-settings-and-offer-a-persistent-optional-restart


Test evidence — retry recovery and stopping a permission leave other requests and fresh work intact — ❌ failed

SHA d249741 · engine v1

❌ failed · 0 expectations passed · 0 failed · 0 pending

Dry run: screenshots were not attached.

[world] mock(mcp) · den(daytona) · desktop(as admin) · workspace(/tmp/openwork-permission-stop-recovery-1789059754571) · [seed:raw] evalIn() ×4 · session("Stop permission task") · session("Keep permission task")
[user] type(composer, "Prepare the retry reliability summary") · press(Enter) · see(text=/Rate limited for lifecycle verification/, timeoutMs=45000)
[probe] desktopApi(GET /workspace/ws_3678b362658d/opencode/session/status)
[user] see(text=/Rate limited for lifecycle verification/)
[probe] desktopApi(GET /workspace/ws_3678b362658d/opencode/session/status)
[user] see(text=/Rate limited for lifecycle verification/)
[probe] desktopApi(GET /workspace/ws_3678b362658d/opencode/session/status)
[user] see(text=/Rate limited for lifecycle verification/)
[probe] desktopApi(GET /workspace/ws_3678b362658d/opencode/session/status)
[user] see(text=/Rate limited for lifecycle verification/)
[probe] desktopApi(GET /workspace/ws_3678b362658d/opencode/session/status)
[user] see(text=/Rate limited for lifecycle verification/)
[probe] desktopApi(GET /workspace/ws_3678b362658d/opencode/session/status)
[user] see(text=/Rate limited for lifecycle verification/)
[probe] desktopApi(GET /workspace/ws_3678b362658d/opencode/session/status)
[user] see(text=/Rate limited for lifecycle verification/)
[probe] desktopApi(GET /workspace/ws_3678b362658d/opencode/session/status)
[user] see(text=/Rate limited for lifecycle verification/)
[probe] desktopApi(GET /workspace/ws_3678b362658d/opencode/session/status)
[user] see(text=/Rate limited for lifecycle verification/)
[probe] desktopApi(GET /workspace/ws_3678b362658d/opencode/session/status)
[user] see(text=/Rate limited for lifecycle verification/)
[probe] desktopApi(GET /workspace/ws_3678b362658d/opencode/session/status)
[user] see(text=/Rate limited for lifecycle verification/)
[probe] desktopApi(GET /workspace/ws_3678b362658d/opencode/session/status)
[user] see(text=/Rate limited for lifecycle verification/)
[probe] desktopApi(GET /workspace/ws_3678b362658d/opencode/session/status)
[user] see(text=/Rate limited for lifecycle verification/) · see(text=Retry recovery finished., timeoutMs=45000) · notSee(text=/Rate limited for lifecycle verification/) · type(composer, "Inspect the other permission workspace") · press(Enter) · see(text=printf OTHER_PERMISSION_WITNESS, timeoutMs=45000)
[probe] desktopApi(GET /workspace/ws_3678b362658d/opencode/permission) · eventually(the unrelated approval is pending)
[user] text=Stop permission task · click(text=Stop permission task)
[probe] hash · eventually(the intended conversation is selected)
[user] type(composer, "Inspect the stopped permission workspace") · press(Enter) · see(text=printf STOP_PERMISSION_WITNESS, timeoutMs=45000)
[probe] desktopApi(GET /workspace/ws_3678b362658d/opencode/permission) ×2
[user] label=Stop · click(label=Stop)
[probe] desktopApi(GET /workspace/ws_3678b362658d/opencode/permission) ×56 · ❌ eventually(native interruption cleanup removes the pending permission)
steps 1 ✅ a native retry survives active polling and then recovers (9.8s) · 2 ✅ two conversations own separate real approvals (2.3s) · 3 ❌ Stop removes its cancelled approval without a permission reply and preserves the other session (30.1s)
verdict failed · 18 user observations (see ×17, notSee ×1) · 76 probes · steps 2/3


Test run created 2026-09-10T16:58:56.458Z · Source: evals/results/test-runs/2026-09-10T16-58-56-458Z-retry-recovery-and-stopping-a-permission-leave-other-requests-and-fresh-work-int/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 4817 --test-run 2026-09-10T16-58-56-458Z-retry-recovery-and-stopping-a-permission-leave-other-requests-and-fresh-work-int


Test evidence — a confirmed update relaunch resumes only the unfinished task on its original engine — ✅ passed

SHA d249741 · engine v1

✅ 0/1 screenshots passed · 0 expectations passed · 0 failed · 0 pending

Dry run: screenshots were not attached.

[world] mock(mcp) · den(daytona) · desktop(as admin) · workspace(/tmp/openwork-restart-update-task-1789059858514) · [seed:raw] evalIn() ×4 · session("Continue after update") · session("Keep stopped after update") · session("Keep completed after update") · [seed:raw] evalIn()
[user] type(composer, "Prepare the completed continuity report") · press(Enter) · see(text=The completed report is ready., timeoutMs=45000) · text=Keep stopped after update · click(text=Keep stopped after update)
[probe] hash · eventually(the intended task is selected)
[user] type(composer, "Prepare the cancelled continuity report") · press(Enter)
[probe] desktopApi(GET /workspace/ws_5e9b3b78bb9b/opencode/session/status) ×2 · eventually(the task is running before Stop)
[user] label=Stop · click(label=Stop)
[probe] desktopApi(GET /workspace/ws_5e9b3b78bb9b/opencode/session/status) ×2 · eventually(Stop settles its original run) · desktopApi(GET /workspace/ws_5e9b3b78bb9b/opencode/session/ses_f73b8dbefffejHa0r0R3Axd4eL/message?limit=100) · desktopApi(GET /workspace/ws_5e9b3b78bb9b/opencode/session/ses_f73b8e3b7ffeGfh1bSIlXqtNd9/message?limit=100)
[user] text=Continue after update · click(text=Continue after update)
[probe] hash · eventually(the intended task is selected)
[user] type(composer, "Prepare the restart continuity report") · press(Enter)
[probe] desktopApi(…) ×N · eventually(the original engine is running the unfinished tool)
[agent] run(settings.panel.open)
[user] text=Check now · click(text=Check now) · see(text=Restart to update, timeoutMs=30000) · text=Restart to update · click(text=Restart to update) · see(text=Restart OpenWork?) · Restart & update · click(Restart & update)
[probe] desktopApi(GET /workspace/ws_5e9b3b78bb9b/opencode/session/ses_f73b8eabbffergIn5GRFKKFDD9/message?limit=100) ×10 · eventually(startup produces the continuation reply on the original engine) · desktopApi(…) ×N · eventually(later recovery ticks do not duplicate work or restart excluded tasks)
[agent] run(session.open)
[user] see(text=The interrupted report continued after restart.) · screenshot
steps 1 ✅ one task completes and another is explicitly stopped (3.5s) · 2 ✅ an eligible task is executing when update is confirmed (2.3s) · 3 ✅ a new renderer continues once without touching stopped or completed work (16.4s)
verdict passed · 5 user observations (see ×4, screenshot ×1) · 54 probes · steps 3/3

⚪ UNVALIDATED — 1. a confirmed update relaunch resumes only the unfinished task on its original engine artifact 1

  • ⚪ UNVALIDATED — no visual expectations recorded.

Test run created 2026-09-10T17:00:29.596Z · Source: evals/results/test-runs/2026-09-10T17-00-29-596Z-a-confirmed-update-relaunch-resumes-only-the-unfinished-task-on-its-original-eng/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 4817 --test-run 2026-09-10T17-00-29-596Z-a-confirmed-update-relaunch-resumes-only-the-unfinished-task-on-its-original-eng


Test evidence — a parent answers and stops real child questions, then finishes fresh work without settling an unrelated root question — ❌ failed

SHA d249741 · engine v1

❌ 0/1 screenshots passed · 0 expectations passed · 0 failed · 0 pending

Dry run: screenshots were not attached.

[world] mock(mcp) · den(daytona) · desktop(as admin) · workspace(/tmp/openwork-delegated-question-handoff-1789060020935) · [seed:raw] evalIn() ×4 · session("Delegated question parent") · session("Unrelated question root")
[user] type(composer, "Help me choose the unrelated task format") · press(Enter) · see(text=Which format should the unrelated task use?, timeoutMs=45000)
[probe] desktopApi(GET /workspace/ws_b74288c07465/opencode/question) · eventually(the unrelated root owns a real question request) · desktopApi(GET /workspace/ws_b74288c07465/opencode/session/ses_f73b66908ffeHpoFA8HzA7l58Q)
[user] text=Delegated question parent · click(text=Delegated question parent)
[probe] hash · eventually(the requested root conversation is selected)
[user] notSee(text=Which format should the unrelated task use?) · type(composer, "Delegate choosing the task format, then report the result.") · press(Enter)
[probe] desktopApi(GET /workspace/ws_b74288c07465/opencode/question) ×4 · eventually(the real subagent asks its question) · desktopApi(GET /workspace/ws_b74288c07465/opencode/session/ses_f73b6453effeTWtj3hppHKCZc9) · desktopApi(GET /workspace/ws_b74288c07465/opencode/session/ses_f73b66fe2ffeV5nhnaZA3Xsy21) · desktopApi(GET /workspace/ws_b74288c07465/opencode/session/ses_f73b66908ffeHpoFA8HzA7l58Q)
[user] see(text=Which format should the child task use?, timeoutMs=30000) · see(label=/^Child checklist/) · notSee(text=Which format should the unrelated task use?) · notSee(label=/^Unrelated outline/)
[probe] hash · desktopApi(GET /workspace/ws_b74288c07465/opencode/session/ses_f73b6453effeTWtj3hppHKCZc9/message?limit=50)
[user] reload · see(text=Which format should the child task use?, timeoutMs=45000)
[probe] hash · desktopApi(GET /workspace/ws_b74288c07465/opencode/question)
[user] notSee(text=Which format should the unrelated task use?) · screenshot · label=/^Child checklist/ · click(label=/^Child checklist/)
[probe] desktopApi(GET /workspace/ws_b74288c07465/opencode/question) ×2 · eventually(only the original child request is settled) · desktopApi(GET /workspace/ws_b74288c07465/opencode/session/ses_f73b6453effeTWtj3hppHKCZc9/message?limit=50) ×2 · eventually(question settles and its session returns the actual answer) · desktopApi(GET /workspace/ws_b74288c07465/opencode/session/ses_f73b66fe2ffeV5nhnaZA3Xsy21/message?limit=50) ×2 · eventually(task settles and its session returns the actual answer)
[user] see(text=/User has answered your questions:.*="Child checklist"/) · notSee(label=/^Child checklist/)
[probe] hash · desktopApi(GET /workspace/ws_b74288c07465/opencode/question) · desktopApi(GET /workspace/ws_b74288c07465/opencode/session/ses_f73b66908ffeHpoFA8HzA7l58Q/message?limit=50)
[user] text=Delegated question parent · click(text=Delegated question parent)
[probe] hash · eventually(the requested root conversation is selected)
[user] notSee(text=Which format should the unrelated task use?) · type(composer, "Delegate choosing the task format, then report the result.") · press(Enter)
[probe] desktopApi(GET /workspace/ws_b74288c07465/opencode/question) ×3 · eventually(the real subagent asks its question) · desktopApi(GET /workspace/ws_b74288c07465/opencode/session/ses_f73b5efd1ffeQbh9wgVC7C5Wg3) · desktopApi(GET /workspace/ws_b74288c07465/opencode/session/ses_f73b66fe2ffeV5nhnaZA3Xsy21) · desktopApi(GET /workspace/ws_b74288c07465/opencode/session/ses_f73b66908ffeHpoFA8HzA7l58Q)
[user] see(text=Which format should the child task use?, timeoutMs=30000) · see(label=/^Child checklist/) · notSee(text=Which format should the unrelated task use?) · notSee(label=/^Unrelated outline/)
[probe] hash · desktopApi(GET /workspace/ws_b74288c07465/opencode/session/ses_f73b5efd1ffeQbh9wgVC7C5Wg3/message?limit=50) · desktopApi(GET /workspace/ws_b74288c07465/opencode/session/ses_f73b66fe2ffeV5nhnaZA3Xsy21/message?limit=50)
[user] label=Stop · click(label=Stop) · type(composer, "Leave the delegated task stopped and prepare a fresh summary") · press(Enter) · see(text=Fresh summary finished after stopping the child., timeoutMs=60000) · ❌ notSee(label=/^Child checklist/)
steps 1 ✅ an unrelated root waits for its own answer (2.5s) · 2 ✅ the parent displays only its delegated child's question (11.4s) · 3 ✅ reloading the parent restores the same unanswered requests (5.7s) · 4 ✅ answering in the parent resumes the original child and then the parent (5.1s) · 5 ✅ the parent waits on another foreground child while the unrelated question stays pending (10.8s) · 6 ❌ Stop immediately followed by fresh work interrupts the child and completes only the new turn once (1.7s)
verdict failed · 18 user observations (see ×8, notSee ×9, screenshot ×1) · 41 probes · steps 5/6

⚪ UNVALIDATED — 1. a parent answers and stops real child questions, then finishes fresh work without settling an unrelated root question artifact 1

  • ⚪ UNVALIDATED — no visual expectations recorded.

Test run created 2026-09-10T17:03:29.725Z · Source: evals/results/test-runs/2026-09-10T17-03-29-725Z-a-parent-answers-and-stops-real-child-questions-then-finishes-fresh-work-without/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 4817 --test-run 2026-09-10T17-03-29-725Z-a-parent-answers-and-stops-real-child-questions-then-finishes-fresh-work-without


Test evidence — session error cards expose provider diagnostics only in Developer mode — ✅ passed

SHA d249741 · engine v1

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

Dry run: screenshots were not attached.

[world] desktop(daytona) · workspace(/tmp/openwork-session-error-details-1789059351680) · session("Session error proof") · [seed:raw] evalIn()
[user] see(text=/Rate limit reached for claude-sonnet-4-5/)
[probe] storage(openwork.developerMode)
[user] notSee(testId=session-error-details-toggle) · notSee(text=/Status: 429/) · notSee(text=/req_01JZK4W9N7X2Q8M3V5T6B1C0DE/) · notSee(text=/react session debug/i) · press(Control+K) · label=/enable developer mode/i · click(label=/enable developer mode/i)
[probe] storage(openwork.developerMode) · eventually(Developer mode persisted on)
[user] see(testId=session-error-details-toggle) · see(text=/Rate limit reached for claude-sonnet-4-5/) · see(text=/react session debug/i) · notSee(testId=session-error-details) · notSee(text=/Status: 429/) · testId=session-error-details-toggle · click(testId=session-error-details-toggle) · see(testId=session-error-details) · see(text=/Error type: APIError/) · see(text=/Status: 429/) · see(text=/Provider: anthropic/) · see(text=/Code: rate_limit_error/) · see(text=/Retries: 3/) · see(text=/req_01JZK4W9N7X2Q8M3V5T6B1C0DE/) · see(label=/copy details/i) · press(Control+K) · label=/disable developer mode/i · click(label=/disable developer mode/i)
[probe] storage(openwork.developerMode) · eventually(Developer mode persisted off)
[user] notSee(testId=session-error-details-toggle) · see(text=/Rate limit reached for claude-sonnet-4-5/) · notSee(testId=session-error-details) · notSee(text=/Status: 429/) · notSee(text=/req_01JZK4W9N7X2Q8M3V5T6B1C0DE/) · notSee(text=/react session debug/i) · see(text=Storage error reported) · see(text=A storage limit was reported by the task runtime or a connected service. This does not necessarily mean your computer is full. Check the affected service or workspace before freeing local disk space.) · notSee(text=/effect/sql/SqlError/) · notSee(text=/at runLoop/) · notSee(testId=session-error-details-toggle) · notSee(text=Not enough disk space) · press(Control+K) · label=/enable developer mode/i · click(label=/enable developer mode/i)
[probe] storage(openwork.developerMode) · eventually(Developer mode persisted on)
[user] testId=session-error-details-toggle · click(testId=session-error-details-toggle) · see(text=/effect/sql/SqlError/) · see(text=/at runLoop/) · see(label=/copy details/i) · press(Control+K) · label=/disable developer mode/i · click(label=/disable developer mode/i)
[probe] storage(openwork.developerMode) · eventually(Developer mode persisted off)
[user] see(text=Storage error reported) · notSee(testId=session-error-details) · notSee(text=/at runLoop/) · see(testId=session-error-card) · see(text=Storage error reported) · notSee(text=/at runLoop/) · press(Control+K) · label=/enable developer mode/i · click(label=/enable developer mode/i)
[probe] storage(openwork.developerMode) · eventually(Developer mode persisted on)
[user] see(text=/effect/sql/SqlError/) · see(text=/at runLoop/) · press(Control+K) · label=/disable developer mode/i · click(label=/disable developer mode/i)
[probe] storage(openwork.developerMode) · eventually(Developer mode persisted off)
[user] see(text=Storage error reported) · notSee(text=/at runLoop/) · see(text=OpenWork couldn’t access its saved data) · see(text=/check the available disk space/) · notSee(text=/effect/sql/SqlError/) · notSee(text=/at runLoop/) · notSee(testId=session-error-details-toggle) · notSee(text=Not enough disk space) · notSee(text=Storage error reported) · press(Control+K) · label=/enable developer mode/i · click(label=/enable developer mode/i)
[probe] storage(openwork.developerMode) · eventually(Developer mode persisted on)
[user] testId=session-error-details-toggle · click(testId=session-error-details-toggle) · see(text=/effect/sql/SqlError/) · see(text=/at runLoop/) · see(label=/copy details/i) · press(Control+K) · label=/disable developer mode/i · click(label=/disable developer mode/i)
[probe] storage(openwork.developerMode) · eventually(Developer mode persisted off)
[user] see(text=OpenWork couldn’t access its saved data) · notSee(testId=session-error-details) · notSee(text=/at runLoop/) · see(testId=session-error-card) · see(text=OpenWork couldn’t access its saved data) · notSee(text=/at runLoop/) · press(Control+K) · label=/enable developer mode/i · click(label=/enable developer mode/i)
[probe] storage(openwork.developerMode) · eventually(Developer mode persisted on)
[user] see(text=/effect/sql/SqlError/) · see(text=/at runLoop/) · press(Control+K) · label=/disable developer mode/i · click(label=/disable developer mode/i)
[probe] storage(openwork.developerMode) · eventually(Developer mode persisted off)
[user] see(text=OpenWork couldn’t access its saved data) · notSee(text=/at runLoop/)
steps 1 ✅ with Developer mode off, a failed turn shows only the plain error card (12.2s) · 2 ✅ enabling Developer mode reaches the session surface without a reload (6.7s) · 3 ✅ opening Technical details shows the full provider diagnostic payload with a copy action (0.7s) · 4 ✅ disabling Developer mode removes diagnostics while the error card remains (22.5s) · 5 ✅ disk-full shows recovery guidance and keeps the stack trace in Developer mode (19.9s) · 6 ✅ disk-full banner hides the stack trace outside Developer mode (7.7s) · 7 ✅ database-error shows recovery guidance and keeps the stack trace in Developer mode (23.1s) · 8 ✅ database-error banner hides the stack trace outside Developer mode (8.0s)
verdict passed · 63 user observations (see ×35, notSee ×28) · 21 probes · steps 8/8


Test run created 2026-09-10T16:54:16.703Z · Source: evals/results/test-runs/2026-09-10T16-54-16-702Z-session-error-cards-expose-provider-diagnostics-only-in-developer-mode/test-run.json · Repro: pnpm --dir evals artifacts:publish -- --pr 4817 --test-run 2026-09-10T16-54-16-702Z-session-error-cards-expose-provider-diagnostics-only-in-developer-mode

@github-actions

github-actions Bot commented Sep 10, 2026 •

Copy link
Copy Markdown
Contributor

Passed · 12/12 tests · 18/18 assertions · 8 images

Commit 8ec4ade8ee9c6cb8c042042af1f6ef52a480cd91 · selected evidence

Open review report

@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Sep 10, 2026 •

Copy link
Copy Markdown

Deploying openwork with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5af76f9
Status: ✅  Deploy successful!
Preview URL: https://07e021a3.openwork.pages.dev
Branch Preview URL: https://e2e-world-workspace-adoption.openwork.pages.dev

View logs

@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 (5af76f92c5d2ad4c4a715409198b83391cabac9d). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

@yomgui

yomgui commented Sep 10, 2026

Copy link
Copy Markdown
Member Author

Resynced with origin/dev — merge commit 5af76f92c5d2ad4c4a715409198b83391cabac9d

git merge origin/dev (at 9a60a4b59) into e2e/world-workspace-adoption; no rebase, no amend, no force-push. Signed (G).

Conflict resolved

  • evals/packages/cdp/src/browser-globals.d.ts — the slice("route").workspaces element type: both sides declare the same field set (id, name?, path?, displayName?, displayNameResolved?, loading?, error?) in different order; kept dev's ordering. Nothing dropped from either side.

Proof at 5af76f92c

  • node --test packages/cdp/test/*.test.ts packages/testkit/test/*.test.ts (evals) → 53 pass / 0 fail.
  • Daytona OPENWORK_EVAL_REF=5af76f92c… pnpm evals:e2e parent-child-permission-approval --daytona ("lane":"e2e","daytona":true,"placement":"daytona"):
    • run 1: 1 passed / 3 failed — test 2 never entered its body: the permissionStopRecovery world hung at Starting OpenWork Den server stack... for the full 600 s, then the Daytona toolbox call died with connection reset by peer (provisioning death, no assertion reached; empty trace). Re-ran once per the rules.
    • run 2: 1 passed / 3 failed / 0 skipped — identical to the state documented in the PR body:

Not chased: the three pre-existing reds above. Untracked mise.toml in this worktree (not on dev, not added) left untouched.

@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 (8ec4ade8ee9c6cb8c042042af1f6ef52a480cd91). Automated clearance satisfies the required-review gate only — a human still reviews and merges. Analysis run

@yomgui

yomgui commented Sep 10, 2026

Copy link
Copy Markdown
Member Author

Follow-up: #4747's product commit removed from this branch — head 8ec4ade8ee9c6cb8c042042af1f6ef52a480cd91

#4747 was reverted on dev (#4870) after a bisect tied its product commit to the active-session-workspace-storm regression (2nd workspace's provider config not applied after a switch — reusing the running server keeps the engine's stale per-workspace provider config). This branch is stacked on #4747 and still carries 561b5c03a fix(app): reuse the running OpenWork server when the selected workspace is server-owned, so it had to be undone in-branch or a later squash-merge would silently re-land the regression.

What was done (no rebase / amend / force-push; signed G):

Proof at 8ec4ade8e

  • node --test packages/cdp/test/*.test.ts packages/testkit/test/*.test.ts → 55 pass / 0 fail.
  • Daytona OPENWORK_EVAL_REF=8ec4ade8e… pnpm evals:e2e parent-child-permission-approval --daytona (source verified 8ec4ade8e…, 6 sandboxes deleted) → 1 passed / 3 failed / 0 skipped:
    • ✓ test 1 (workspaceWorld adoption claim).
    • ✗ test 2 at line 150 native interruption cleanup removes the pending permission — pre-existing, fix(app): apply per-session bash 'ask' permission and withdraw orphaned permission requests after Stop #4798 (bash still asks, so the world's permission reaches the engine).
    • ✗ test 3 at line 75 runningTreatmentVisible: false — pre-existing Cluster 2.
    • ✗ test 4 now fails earlier than before: line 297, step "reloading the parent restores the same unanswered requests" — after user.reload() the seeded sessions are still listed in the declared openwork-delegated-question-handoff-* workspace (the preceding step "the parent displays only its delegated child's question" passed), but the child's pending question does not resurface (parent shows "Waiting for task result"). This is the effect 561b5c03a masked — a renderer reload on a server-owned workspace restarts the embedded server/engine — and is exactly what the "Rebase order" section of this PR predicted. Previously (with 561b5c03a) this test reached line 354 (fix(app): hide the child checklist when a stopped parent receives a follow-up #4786). Dependency noted; the product change is not re-added here. session-error-technical-details test 2 and composer-run-mode (which used the same reuse path) should be expected to show the same reload effect until a fix without the provider-config staleness lands.

@yomgui
yomgui merged commit ea1ef4f into dev Sep 11, 2026
27 checks passed
yomgui added a commit that referenced this pull request Sep 11, 2026
Resolves evals/packages/testkit/src/spec/runtime.ts: both sides made the same
change to seed.session() (wait through renameSessionAndWait like sessions()) and
differed only in the comment; dev's landed wording is kept, so the merged file is
identical to dev and its per-spec surface isolation, declared-workspace creation
and lazy provisioning (#4730, #4817, #4762) are untouched.

This branch was successfully deployed

4 active (1 outdated) deployments
Preview – openwork-landing — 8ec4ade8 Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-app — 8ec4ade8 Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-den — 8ec4ade8 Deployed Sep 10, 2026 by vercel[bot]
Preview – openwork-diagnostics — 5af76f92 Deployed Sep 10, 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