golang/go
View on GitHubx/build/cmd/relui: shows a misleading prompt that says "immediately run" when scheduling a workflow (i.e., it doesn't run immediately)
Open
#70,148 opened on Oct 31, 2024
BuildersFrictionNeedsInvestigationhelp wanted
Description
When creating a workflow to be executed, relui always shows a prompt that asks:
"This will create and immediately run this workflow. Ready to proceed?"
The "immediately run" part is true whenever the schedule type is "immediately run", but not when the workflow is being scheduled to run at a later date, or on a schedule. In those cases, the workflow doesn't run immediately as the prompt says.
This would be good to fix to reduce confusion. The current logic has a good property that the confirmation prompt is always there as soon as the page loads, without any JavaScript execution delay. We should preserve that property when fixing this.
CC @golang/release.