Skip to content

[BYO-S3] Form view's run button does not show the warehouse requirement #8591

Closed

Description

@mengw15

The warehouse gate added in #8551 reaches the form view only as a refusal, not as a state its run button shows.

With the feature enabled and no warehouse selected, the canvas turns its run button into Warehouse and a click opens the create dialog. The form view's run button still reads Run and looks ready; clicking it starts nothing and surfaces "Create or select a warehouse before running." as a toast, because the guard lives in ExecuteWorkflowService.sendExecutionRequest's callers rather than in the button's state.

The execution is correctly blocked either way — this is about the button describing itself. runButtonState already enumerates the states a run cannot start from (invalid workflow, empty workflow, connecting, no computing unit, read-only unit) precisely so that, in its own words, "the reader is never sent to press a button that does nothing". The warehouse requirement is the one condition missing from that list.

The picker itself is already there: the warehouse dropdown lives inside ComputingUnitSelectionComponent, which the form view embeds, so a warehouse can be picked or created without leaving the page. Adding a sixth case to runButtonState — Warehouse, disabled, the same shape as its no-computing-unit case — would be enough; onRun() needs no change, since it already returns early when the button is disabled.

Part of #6870. Follows #8551.

Activity

  1. self-assigned this
    on Sep 18, 2026
  2. github-actions commented on Sep 18, 2026

    @github-actions
    Contributor

    👋 Thanks for opening this issue, @mengw15!

    It looks like the issue description doesn't quite follow our template yet:

    • This issue doesn't appear to use one of our templates (Bug, Feature, or Task). Please open it using a template so the required details are captured.

    Filling out the template helps reviewers understand and triage your contribution faster. Please edit the description to complete it. This message will disappear automatically once the template is followed.

    You can find the template prompts by editing the description, or see CONTRIBUTING.md for the full contribution flow.

  3. added 3 commits that reference this issue on Sep 18, 2026
    18a345f
    e39a755
    fe64e60
  4. added a commit that references this issue on Sep 18, 2026
    5264df2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions