Skip to content

Steps can carry an optional label - #2307

Merged
santoshkumarradha merged 27 commits into
app/v3from
c52/step-label
Nov 3, 2026
Merged

santoshkumarradha merged 27 commits into
app/v3from
c52/step-label

Conversation

@santoshkumarradha

@santoshkumarradha santoshkumarradha commented Nov 3, 2026 •

Copy link
Copy Markdown
Member

What changes

A step can carry an optional label, so a step shown as "Securityrevi" (made from its id) can read "Security review".

  1. New optional label on a step: in pipeline definitions (label:), saved stages, steps added from a client, and the client views (job detail, queue step strip, pipeline editor).
  2. The id doesn't change. State, routing and receipts still key on name.
  3. A job or pipeline with no label shows what it shows today, and saves without gaining a label. An empty or whitespace label counts as none.
  4. A client can set a label: on an added step (edit.add[].step.label), on a job's existing step (edit.label, step name to label, empty clears), and in a pipeline edit (edits[].label). The engine announces factory.job_step_edit_label and factory.pipeline_edit_label.
  5. Clients show label when present and fall back to today's formatting. Older clients ignore the field.

Validation

  • Red first: FAIL: TestStepLabelTravelsWithoutChangingIdentity/label.
  • New tests cover the pipeline parse and save seam, desktop reads and adds, the queue strip, and PR maintenance resume.
  • Touched packages, go vet and internal/manual pass.
  • No live model run; no model call depends on the label.

Limits

The desktop app doesn't draw label until it reads the field.

🤖 Generated with Claude Code

santoshkumarradha and others added 27 commits November 3, 2026 04:57
Apply gofmt from the test box.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
@santoshkumarradha
santoshkumarradha marked this pull request as ready for review November 3, 2026 12:28
@santoshkumarradha
santoshkumarradha merged commit 48466e5 into app/v3 Nov 3, 2026
1 check passed
@santoshkumarradha
santoshkumarradha deleted the c52/step-label branch November 3, 2026 12:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant