Skip to content

fix(review): accept the desktop viewer link in launch responses - #5240

Merged
benjaminshafii merged 1 commit into
devfrom
fix/review-desktop-service-link
Sep 23, 2026
Merged

benjaminshafii merged 1 commit into
devfrom
fix/review-desktop-service-link

Conversation

@benjaminshafii

Copy link
Copy Markdown
Member

What is this about?

The review page's sandbox launcher now accepts the desktop viewer link that ACME sandboxes return.

What problem does it solve?

Choosing "OpenWork desktop" (or ACME web) on any commit whose snapshot includes the desktop always showed "The sandbox could not launch", even though the sandbox had launched and was running.

What was the situation before?

The launch succeeded server-side, but the page's link check only allowed ow|den|api|engine|gateway hosts. The desktop-<id> link added in #5233 failed that check, so the page discarded the whole session and showed the generic error.

Evidence

No E2E; unit-tested. packages/freestyle/test/preview.test.ts adds a test that runs a real ACME launch response through the page's parser. It fails without the fix and passes with it (17/17).

The review page re-validates every Services link a launch returns. The
desktop viewer (desktop-<id>) added in #5233 was missing from the allowed
prefixes, so a working ACME sandbox was rejected and shown as a failed
launch.

Signed-off-by: Benjamin Shafii <[email protected]>
@benjaminshafii
benjaminshafii requested a review from a team September 23, 2026 02:31
@vercel
vercel Bot temporarily deployed to Preview – openwork-app September 23, 2026 02:31 Inactive
@vercel

vercel Bot commented Sep 23, 2026 •

Copy link
Copy Markdown
Contributor

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

4 Skipped Deployments
Project Deployment Actions Updated
openwork-app Skipped Skipped Sep 23, 2026 2:31am UTC
openwork-den Skipped Skipped Sep 23, 2026 2:31am UTC
openwork-diagnostics Skipped Skipped Sep 23, 2026 2:31am UTC
openwork-landing Skipped Skipped v0 Sep 23, 2026 2:31am UTC

@vercel
vercel Bot temporarily deployed to Preview – openwork-den September 23, 2026 02:31 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-landing September 23, 2026 02:31 Inactive
@vercel
vercel Bot temporarily deployed to Preview – openwork-diagnostics September 23, 2026 02:31 Inactive
@benjaminshafii
benjaminshafii merged commit 17c8786 into dev Sep 23, 2026
24 checks passed

This branch was previously deployed

4 inactive deployments
Preview – openwork-den — 6210ba57 Deployed Sep 23, 2026 by vercel[bot]
Preview – openwork-landing — 6210ba57 Deployed Sep 23, 2026 by vercel[bot]
Preview – openwork-diagnostics — 6210ba57 Deployed Sep 23, 2026 by vercel[bot]
Preview – openwork-app — 6210ba57 Deployed Sep 23, 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