Add --resolvertype flag to rerun a resolver based pipelinerun by pratap0007 · Pull Request #2615 · tektoncd/cli

@tekton-robot added the release-note

Denotes a PR that will be considered when it comes time to generate release notes.

label

Sep 25, 2025

@tekton-robot tekton-robot added the size/XL

Denotes a PR that changes 500-999 lines, ignoring generated files.

label

Sep 25, 2025

chmouel

waveywaves

@pratap0007

- Add --resolvertype flag supporting hub, git, http, cluster, bundle and remote resolver type
- Implement special remote resolver that finds latest PipelineRun with any resolver type and rerun it
- If --resolvertype flag value is except remote, filters pipelinerun by that resolver type
- Integrate --resolvertype with existing --last flag functionality
- With --resolvertype and --last flags pipeline name is optional
- With --last flag pipeline name is optional
- Add validation: resolvertype requires pipeline name except for remote type
- Support all flag combinations: --resolvertype only, --last only, both together
- Include the unit tests

closes: tektoncd#2422

Signed-off-by: Shiv Verma <shverma@redhat.com>

@tekton-robot tekton-robot added size/XXL

Denotes a PR that changes 1000+ lines, ignoring generated files.

and removed size/XL

Denotes a PR that changes 500-999 lines, ignoring generated files.

labels

Oct 23, 2025

@tekton-robot tekton-robot added the approved

Indicates a PR has been approved by an approver from all required OWNERS files.

label

Oct 31, 2025