Skip to content

fix: remove stale rate-limit error handler from setup-tektoncd step#66

Merged
chmeliik merged 1 commit into
konflux-ci:mainfrom
Victoremepunto:fix-setup-tektoncd-error-message
Jul 14, 2026
Merged

fix: remove stale rate-limit error handler from setup-tektoncd step#66
chmeliik merged 1 commit into
konflux-ci:mainfrom
Victoremepunto:fix-setup-tektoncd-error-message

Conversation

@Victoremepunto

Copy link
Copy Markdown
Contributor

Summary

  • Remove the continue-on-error + "Describe setup-tektoncd failure" fallback step from the check-task-migration workflow (both the repo CI copy and the cookiecutter template)
  • The fallback was a workaround for tektoncd/actions#9, which has been fixed upstream by tektoncd/actions#15 (merged 2026-07-03)

Why

The stale fallback step is now harmful:

  1. Misleading error messages — it always blames "rate-limit" regardless of the actual failure cause. For example, build-definitions PR 3531 failed with a transient HTTP 502 downloading the Tekton CLI tarball, but the error message blamed rate limiting.
  2. The upstream fix is already active — since this workflow uses tektoncd/actions/setup-tektoncd@main, the fix (which switched pipeline downloads to infra.tekton.dev and added proper error handling) is already in effect.
  3. The unauthenticated GitHub API call in the fallback (curl -s https://api.github.com/repos/tektoncd/pipeline/releases/latest) can itself trigger rate limiting, adding noise to the output.

With the fix removed, setup-tektoncd's own error output surfaces directly, giving actionable information about the actual failure.

Test plan

  • CI on this PR validates the workflow syntax
  • Verify that a transient setup-tektoncd failure surfaces the action's own error message instead of the stale rate-limit message

Signed-off-by: Víctor M. Múgica vmugicag@redhat.com

🤖 Generated with Claude Code

The "Describe setup-tektoncd failure" step was added as a workaround
for tektoncd/actions#9, which caused setup-tektoncd to fail silently
when hitting GitHub API rate limits. That issue has since been fixed
by tektoncd/actions#15 (merged 2026-07-03), which switched pipeline
downloads to infra.tekton.dev and added proper error handling with
clear messages.

The stale fallback step is now harmful: it swallows the real error
(e.g. a transient HTTP 502) behind a misleading "rate-limit" message
and an unauthenticated GitHub API call that itself can trigger rate
limiting. Removing the continue-on-error and the fallback step lets
the action's own error output surface directly.

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Signed-off-by: Víctor M. Múgica <vmugicag@redhat.com>
@Victoremepunto
Victoremepunto requested a review from a team as a code owner July 14, 2026 11:09

@gemini-code-assist gemini-code-assist Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Code Review

This pull request simplifies the GitHub Actions workflow for checking task migration by removing the workaround for setup-tektoncd failures, which included a step to describe failures and a continue-on-error setting. I have no feedback to provide as there are no review comments.

Important

The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.

@chmeliik chmeliik left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thanks, good to know it's fixed now!

@chmeliik
chmeliik merged commit 57b9fb2 into konflux-ci:main Jul 14, 2026
10 checks passed
@Victoremepunto
Victoremepunto deleted the fix-setup-tektoncd-error-message branch July 14, 2026 11:37
tnevrlka added a commit to konflux-ci/build-pipeline-tasks that referenced this pull request Jul 21, 2026
Include konflux-ci/task-repo-shared-ci#66

Signed-off-by: Tomáš Nevrlka <tnevrlka@redhat.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants