Skip to content

batches: require additional workspaces preview when execution options change

Warren Gifford requested to merge kr/execution-options-makes-preview-stale into main

Created by: courier-new

Closes https://github.com/sourcegraph/sourcegraph/issues/37148.

The longer-term solution entails refactoring the execution API so that the workspaces are recomputed if the execution options change between the preview and it, but since we're addressing that more holistically post-beta, this is a more temporary fix that ensures we run another workspaces preview any time the user modifies the execution options.

Demo:

https://user-images.githubusercontent.com/8942601/173692222-150c38b1-b8e4-48c5-bc0c-bf4e41164105.mov

Test plan

Manually tested stale workspaces preview behavior.

App preview:

Check out the client app preview documentation to learn more.

Merge request reports

Loading