[ci] Added Selenium connection failure to transient markers#648
[ci] Added Selenium connection failure to transient markers#648nemesifier merged 3 commits intomasterfrom
Conversation
Added more transient failure markers that caused a skipped re-run.
Code Review SummaryStatus: No Issues Found | Recommendation: Merge The PR adds the Files Reviewed (2 files)
Reviewed by kimi-k2.5 · 115,309 tokens |
📝 WalkthroughWalkthroughThis PR extends the CI failure analyzer's transient/infrastructure failure markers by adding the substring Sequence Diagram(s)Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Possibly related PRs
Suggested labels
🚥 Pre-merge checks | ✅ 3✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/actions/bot-ci-failure/analyze_failure.py:
- Around line 34-35: Remove the overly broad
"selenium.common.exceptions.WebDriverException" marker from the
transient/failure markers list so that Selenium base exceptions are not treated
as infrastructure/network transients; keep the
"about:neterror?e=connectionFailure" entry and any other specific transient
markers. Locate the list that contains the string
"selenium.common.exceptions.WebDriverException" (the transient markers array)
and delete that entry, leaving only specific exception strings or URL markers
for transient classification.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: 7feed6e5-9482-4d66-b403-0e597c92f8ba
📒 Files selected for processing (1)
.github/actions/bot-ci-failure/analyze_failure.py
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (14)
- GitHub Check: Python==3.10 | django~=4.2.0
- GitHub Check: Python==3.11 | django~=5.0.0
- GitHub Check: Python==3.13 | django~=5.2.0
- GitHub Check: Python==3.11 | django~=5.1.0
- GitHub Check: Python==3.12 | django~=5.1.0
- GitHub Check: Python==3.13 | django~=5.1.0
- GitHub Check: Python==3.12 | django~=4.2.0
- GitHub Check: Python==3.12 | django~=5.0.0
- GitHub Check: Python==3.12 | django~=5.2.0
- GitHub Check: Python==3.10 | django~=5.0.0
- GitHub Check: Python==3.10 | django~=5.2.0
- GitHub Check: Python==3.11 | django~=4.2.0
- GitHub Check: Python==3.11 | django~=5.2.0
- GitHub Check: Python==3.10 | django~=5.1.0
Removed WebDriverException as it is overly broad for transient classification.
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In @.github/actions/bot-ci-failure/analyze_failure.py:
- Line 34: Add a new positive unit test in the test module that calls the
analyzer's _is_transient_failure function and asserts it returns True for the
string "about:neterror?e=connectionFailure"; update the existing test file
test_analyze_failure.py to include a test case (e.g.,
test_transient_marker_about_neterror_connectionFailure) that imports the
analyzer or _is_transient_failure symbol and verifies the new classification so
future changes won't regress CI retry behavior.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: ASSERTIVE
Plan: Pro
Run ID: 969645d3-db73-4565-8b31-897f416050c0
📒 Files selected for processing (1)
.github/actions/bot-ci-failure/analyze_failure.py
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (18)
- GitHub Check: Python==3.12 | django~=5.0.0
- GitHub Check: Python==3.11 | django~=5.1.0
- GitHub Check: Python==3.12 | django~=5.1.0
- GitHub Check: Python==3.13 | django~=5.1.0
- GitHub Check: Python==3.13 | django~=5.2.0
- GitHub Check: Python==3.12 | django~=4.2.0
- GitHub Check: Python==3.11 | django~=5.2.0
- GitHub Check: Python==3.12 | django~=5.2.0
- GitHub Check: Python==3.10 | django~=5.1.0
- GitHub Check: Python==3.11 | django~=4.2.0
- GitHub Check: Python==3.10 | django~=5.0.0
- GitHub Check: Python==3.11 | django~=5.0.0
- GitHub Check: Python==3.10 | django~=5.2.0
- GitHub Check: Python==3.10 | django~=4.2.0
- GitHub Check: Kilo Code Review
- GitHub Check: Analyze (actions)
- GitHub Check: Analyze (javascript-typescript)
- GitHub Check: Analyze (python)
Added a dedicated positive test to prevent silent regressions in CI retry behavior.
|
@coderabbitai review. If found complete and correct then approve |
|
Tip For best results, initiate chat on the files or code changes. 🧩 Analysis chain🏁 Script executed: Length of output: 17924
Change: Adds Assessment: ✅ Correct and complete.
Approving the PR. [approve] |
Added more transient failure markers that caused a skipped re-run.
Checklist
Description of Changes
Added
about:neterror?e=connectionFailureinTRANSIENT_FAILURE_MARKERS.