You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Enable API retries by default in E2E tests to handle transient provider failures #3039
E2E tests occasionally fail due to transient GitHub API errors (e.g., 502 from GraphQL when fetching .tekton files). When this happens, no PipelineRun is created and the test times out. A recent example is PR #3010 where TestGithubPullRequestCustomGitOpsCommandPrefix failed because GitHub returned a 502 "Unicorn" page during GetTektonDir.
Context
PR #2854 added configurable API retry support (enable-api-retry, api-retry-max-attempts, api-retry-max-wait-seconds) but the feature is disabled by default. This is the right default for production, but E2E environments would benefit from having retries enabled to avoid false-negative test failures caused by transient provider outages.
Proposal
Enable enable-api-retry: "true" in the PAC ConfigMap used by E2E tests. This would let the controller retry transient 5xx responses and rate-limit errors during test runs, reducing flaky failures that are unrelated to the code under test.
If the E2E results remain stable with retries enabled, we could consider making retries the default for all deployments in a future release.
Activity