ci(#2618): retry transient issue creation auth failures - #7055
Conversation
E2E tests did not runE2E tests run automatically for org/repo members and collaborators on pull requests. For other contributors, a maintainer must add the See E2E testing guide for details. |
PR Summary by QodoRetry transient GitHub 401s during e2e issue creation
AI Description
Diagram
High-Level Assessment
Files changed (2)
|
Code Review by Qodo🐞 Bugs (0) 📘 Rule violations (0) 📎 Requirement gaps (0)
Great, no issues found!Qodo reviewed your code and found no material issues that require reviewTip of the day💡 Did you know, you can show, collapse, or hide each part of a finding: code, evidence, and all |
Codecov Report✅ All modified and coverable lines are covered by tests. 📢 Thoughts on this report? Let us know! |
Retry e2e issue creation up to three times when GitHub returns 401. Fail immediately for other errors and keep backoff context-aware. Co-authored-by: Codex <noreply@openai.com> Signed-off-by: Shai Revivo <srevivo@redhat.com>
23f32e6 to
d00a959
Compare
Summary
Retry the e2e triage test's issue-creation request when GitHub temporarily returns HTTP 401. Other errors still fail immediately so genuine authorization and validation failures are not hidden.
Related Issue
Fixes #2618
Changes
Testing
make lintpasses (stage changes first, then run)go test -race -tags=e2e ./e2e/admin -run '^TestCreateIssueWithRetry_' -count=1e2ebuild tagThe broader
make go-testcommand was also run. It reached two unrelated baseline failures ininternal/harnessdispatchandinternal/sandbox; neither package compiles these e2e-tagged files.Checklist
!for breaking changes)