Skip to content

Fix hidden workflow launch workspace selector - #1071

Merged
dovvnloading merged 2 commits into
mainfrom
fix/workflow-launch-workspace-1042
Nov 25, 2026
Merged

dovvnloading merged 2 commits into
mainfrom
fix/workflow-launch-workspace-1042

Conversation

@dovvnloading

Copy link
Copy Markdown
Owner

Fixes #1042.

  • Display a labeled target workspace selector even for a single workspace and explain library scope.
  • Reset launcher draft and preview when workspace changes (intentional remount to prevent cross-workspace approval).
  • Navigate to the actual launch workspace when a run completes starting.

Validation: source inspection only; component and browser tests have not been run or added. Follow-up verification: two workspaces, switch target before/after preview, confirm preview and start URLs, switch tabs and reopen. The existing first-workspace default is retained.

@dovvnloading dovvnloading left a comment

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

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

Reviewed the complete one-file diff against #1042 and traced the selector, polling, preview/approve/start, and navigation code in WorkflowLibraryDialog and WorkflowRunLauncher. The selected workspace is visible even with one workspace, the empty-list control is disabled, and the workspace-scoped key discards a stale preview when switching targets. All three launch requests use the workspace captured by that launcher; the completion callback returns the library to the workspace where the run was actually started. I found no blocking correctness issue in this change.

CI observed: frontend checks (including typecheck, lint, Vitest and build), wheel build/install and POSIX permissions passed; Windows compile, ruff, Vite build, pytest and performance pytest steps passed, with the final dependency audit still running at the time of this review. Playwright boot-smoke is intentionally skipped for PR-triggered CI per ci.yml. I did not run the app or a two-workspace browser scenario independently. No new regression test is included; recommend following up with a component/browser test covering a workspace switch before and after preview and a switch during an in-flight launch. The first-workspace default is unchanged.

Ready for merge once remaining CI completes successfully. Posting a comment rather than a formal approval because this review is submitted from the PR author's account.

@dovvnloading
dovvnloading marked this pull request as ready for review November 25, 2026 11:27
@dovvnloading
dovvnloading merged commit 5667019 into main Nov 25, 2026
5 checks passed
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.

Workflow launch target is hidden on the Workflows tab and defaults to the first workspace

1 participant