Skip to content

feat(api): reject deployment requests #12

Description

@ctxswitch

Parent

Related to #1

What to build

Implement rejection for Deployment Requests so reviewers can stop requests that should not proceed.

Acceptance criteria

  • POST /deployments/{id}/reject transitions pending_approval requests to rejected.
  • Rejection requires a non-empty note.
  • rejected is terminal.
  • Invalid rejection attempts return conflict or validation errors as appropriate.
  • Tests cover successful rejection, missing rejection note, terminal rejection behavior, and invalid rejection transitions.

Blocked by

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions