Skip to content

fix(workspace): avoid ambiguous OpenWork host fallback#1274

Open
benjaminshafii wants to merge 1 commit intodevfrom
fix/workspace-activation-targeting
Open

fix(workspace): avoid ambiguous OpenWork host fallback#1274
benjaminshafii wants to merge 1 commit intodevfrom
fix/workspace-activation-targeting

Conversation

@benjaminshafii
Copy link
Copy Markdown
Member

Summary

  • stop OpenWork remote connects from silently falling back to the first workspace on a multi-workspace host when the target is ambiguous
  • preserve older remote entries by resolving stored OpenWork workspace ids from the persisted runtime lookup before reconnecting
  • keep sidebar session refreshes off the runtime-activation critical path so new-session and prompt flows stay faster after workspace switches

Testing

  • pnpm --filter @openwork/app typecheck
  • pnpm --filter @openwork/app test:openwork-selection
  • pnpm --filter @openwork/app test:session-scope

Refuse host-only fallback when a remote returns multiple workspaces and keep sidebar refreshes off the activation critical path so new sessions stay fast in the selected workspace.
@vercel
Copy link
Copy Markdown

vercel bot commented Apr 1, 2026

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

Project Deployment Actions Updated (UTC)
openwork-app Ready Ready Preview, Comment Apr 1, 2026 4:35am
openwork-den Ready Ready Preview, Comment Apr 1, 2026 4:35am
openwork-den-worker-proxy Ready Ready Preview, Comment Apr 1, 2026 4:35am
openwork-landing Ready Ready Preview, Comment, Open in v0 Apr 1, 2026 4:35am
openwork-share Ready Ready Preview, Comment Apr 1, 2026 4:35am

@github-actions
Copy link
Copy Markdown
Contributor

github-actions bot commented Apr 1, 2026

The following comment was made by an LLM, it may be inaccurate:

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