Ask each last workflow stage to merge as soon as it finishes

This commit is contained in:
Ian Gulliver
2026-10-21 08:46:51 -07:00
parent b34f9c1511
commit 279919c6cd
6 changed files with 20 additions and 27 deletions
+2 -2
View File
@@ -689,9 +689,9 @@ func quoteList(names []string) string {
func lastStageText(def api.WorkflowDefinition) string {
ends := workflow.Ends(def)
if len(ends) == 1 {
return "This is the workflow's last stage: the workflow finishes when this turn ends, and byre discards its other stage tasks."
return "This is the workflow's last stage: the workflow finishes when this turn ends, byre discards its other stage tasks, and once the review of your latest work has come back, byre asks whether this task is ready to merge."
}
return fmt.Sprintf("This is one of the workflow's last stages (%s): the workflow finishes once all of them have, and byre then discards its other stage tasks, keeping each last stage's task.", quoteList(ends))
return fmt.Sprintf("This is one of the workflow's last stages (%s): once the review of your latest work has come back, byre asks whether this task is ready to merge, without waiting for the others. The workflow finishes once all of them have, and byre then discards its other stage tasks, keeping each last stage's task.", quoteList(ends))
}
func stageGuidance(frozen store.FrozenWorkflow, stage string) string {