Skip to content

Conversation

@aThorp96
Copy link
Member

Changes

With this change, no ErrCouldntValidateObjectRetryable returned by DryRunValidate results in a PipelineRun being marked as failed. Previously, the only errors which were actually retried were naming conflicts, server-timeouts, timeouts, and too-many-requests. Unknown errors were still marked as Retryable, but they still caused the pipelinerun to fail.

Submitter Checklist

As the author of this PR, please check off the items in this checklist:

  • Has Docs if any changes are user facing, including updates to minimum requirements e.g. Kubernetes version bumps
  • Has Tests included if any functionality added or changed
  • pre-commit Passed
  • Follows the commit message standard
  • Meets the Tekton contributor standards (including functionality, content, code)
  • Has a kind label. You can add one by adding a comment on this PR that contains /kind <type>. Valid types are bug, cleanup, design, documentation, feature, flake, misc, question, tep
  • Release notes block below has been updated with any user facing changes (API changes, bug fixes, changes requiring upgrade notices or deprecation warnings). See some examples of good release notes.
  • Release notes contains the string "action required" if the change requires additional action from users switching to the new release

Release Notes

With this change, unknown DryRunValidation errors during TaskRef and PipelineRef resolution no longer cause PipelineRuns and TaskRuns to fail. Explicit Validation errors will still cause the Run to fail.

@tekton-robot tekton-robot added the release-note Denotes a PR that will be considered when it comes time to generate release notes. label Oct 27, 2025
@aThorp96
Copy link
Member Author

/kind fix

@tekton-robot tekton-robot added the size/L Denotes a PR that changes 100-499 lines, ignoring generated files. label Oct 27, 2025
@tekton-robot
Copy link
Collaborator

@aThorp96: The label(s) kind/fix cannot be applied, because the repository doesn't have them.

In response to this:

/kind fix

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

@aThorp96
Copy link
Member Author

/kind bug

@tekton-robot tekton-robot added the kind/bug Categorizes issue or PR as related to a bug. label Oct 27, 2025
@aThorp96 aThorp96 force-pushed the retryable-validation-error branch from 03e4771 to b77b00a Compare October 27, 2025 15:40
With this change, no `ErrCouldntValidateObjectRetryable` returned by
DryRunValidate results in a PipelineRun being marked as failed.
Previously, the only errors which were actually retried were naming
conflicts, server-timeouts, timeouts, and too-many-requests.
Unknown errors were marked as "Retryable", however they still caused the
PipelineRun to fail since `resolutioncommon.IsErrTransient` did not
check if the err was of type `ErrCouldntValidateObjectRetryable`
@aThorp96 aThorp96 force-pushed the retryable-validation-error branch from b77b00a to c5d3a6d Compare October 27, 2025 15:43
@tekton-robot tekton-robot added the approved Indicates a PR has been approved by an approver from all required OWNERS files. label Oct 27, 2025
@vdemeester vdemeester added this to the v1.6.0 (LTS) milestone Oct 27, 2025
@vdemeester vdemeester self-assigned this Oct 27, 2025
@waveywaves
Copy link
Member

/retest

Copy link
Member

@waveywaves waveywaves left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@tekton-robot tekton-robot added the lgtm Indicates that a PR is ready to be merged. label Oct 28, 2025
@tekton-robot
Copy link
Collaborator

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: vdemeester, waveywaves

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:
  • OWNERS [vdemeester,waveywaves]

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tekton-robot tekton-robot merged commit ec2f685 into tektoncd:main Oct 28, 2025
107 of 112 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

approved Indicates a PR has been approved by an approver from all required OWNERS files. kind/bug Categorizes issue or PR as related to a bug. lgtm Indicates that a PR is ready to be merged. release-note Denotes a PR that will be considered when it comes time to generate release notes. size/L Denotes a PR that changes 100-499 lines, ignoring generated files.

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

4 participants