Skip to content

Disable Retry / Resubmit of a completed Workflow #16037

@pedrotiag0

Description

@pedrotiag0

Summary

I have a use case where each Workflow run must correspond 1:1 with an external artifact, so allowing a retry/resubmit breaks that contract.

So far it seems there is no native, workflow-scoped way to prevent this:

  • retry strategy (including expressions) only governs automatic retries inside the controller. It does not affect the manual Retry/Resubmit actions from the UI or CLI, which simply mutate the existing Workflow object back into a non-terminal state.
  • The Retry button in the UI cannot be hidden via Workflow or WorkflowTemplate configuration.
  • RBAC can disable retries, but only globally per user/role. Not per workflow or per template.

Is there a supported way to do this that I'm missing? (I'm in v3.7.13)

Use Cases

Prevent users from retrying/resubmitting a completed workflow with the same id.

Thanks!


Message from the maintainers:

Love this feature request? Give it a 👍. We prioritise the proposals with the most 👍.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions