Skip to content

feat(api): mark deployments failed #15

Description

@ctxswitch

Parent

Related to #1

What to build

Implement the failure action for started Deployment Requests so the API can record failed deployment outcomes with an explanation.

Acceptance criteria

  • POST /deployments/{id}/fail transitions started requests to failed.
  • Failure requires a non-empty note.
  • Failing before start returns a conflict error.
  • Tests cover successful failure marking, missing failure note, and invalid failure transitions.

Blocked by

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions