feat(workflow): serve step type titles with the step vocabulary (#1961)

Each step type declares its title beside its factory and settings; the
control plane serves it in x-step-types, and the dashboard reads it instead
of a hand-written TYPE_TITLES table. Parallel and switch are YAML shapes, not
registered types, so their titles stay with the graph.
This commit is contained in:
sam committed 2026-11-13 20:26:27 +11:00
1 parent 841c6aea16
commit ca4b039cb4
19 files changed
+72 -75

No files matched your search

+1 -1
View File
@@ -79,7 +79,7 @@ type diffRulesSettings struct {
// way the shipped stages are declared: the factory builds the stage the
// executing side runs from the settings the validating side accepted.
func DiffRulesStepType() StepType {
return StepType{Name: DiffRulesStepName, Factory: newDiffRulesStage, Settings: diffRulesSettings{}}
return StepType{Name: DiffRulesStepName, Title: "Diff rules", Factory: newDiffRulesStage, Settings: diffRulesSettings{}}
}
// newDiffRulesStage decodes and compiles the step's settings, refusing every