[Fix] Unmask CI failures and fix ready-endpoints check in TestZeroDowntimeUpgradeAfterOperatorUpgrade #5320
All Vouch review confidence checks passed
Residual risk 0.16 = Change Risk (0.40) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.40 · 284 lines diff across 3 files
Model 2 · Review Depth (DistilBERT)
Depth Score: 0.17 · 1 substantive comment(s)
Model 3 · Review Timing & Attention
Session adequacy: 100% · Reviewer familiarity: 35%
Bedrock Claude 3 · Risk Narration
(disconnected)
Groq Risk Narration
AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
Model 1 · Change Risk Attribution
SHAP Weights
Diff Size
diff_size
0.338
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #5320"
general
weight: 0.35
win5923
<!-- Thank you for your contribution! -->
<!-- Please add a reviewer to the assignee section when you create a PR. If you don't have the access to it, we will shortly find a reviewer and assign them to your PR. -->
Why are these changes needed?
<!-- Please give a short summary of the change and the problem this solves. -->
This PR addresses two issues in the operator upgrade e2e test suite:
1. Fix masked test failures in CI script (
test-e2e.yml)Problem: The test command piped
go testoutput withoutset -o pipefail, causing the pipeline to evaluate only the final command's exit code and allowing test failures to be reported as green.Fix: Added
set -o pipefailto ensure test execution failures properly fail the CI job.2. Configure Ray Serve replica distribution for zero-downtime upgrade
Problem: In
TestZeroDowntimeUpgradeAfterOperatorUpgrade, the RayService deployment usednum_replicas: 1. Without distributing replicas across multiple worker nodes, the service could not maintain high availability or produce the expected ready endpoints across distinct nodes during rolling upgrades.Fix: Updated the Serve application configuration to set
num_replicas: 2andmax_replicas_per_node: 1. This forces Ray Serve to schedule replicas onto separate worker nodes, ensuring continuous endpoint availability and true zero downtime during upgrades.Related issue number
<!-- For example: "Closes #1234" -->
Closes #5317
Labels
<!-- Please add the appropriate labels to this PR. -->
doc-updates-requiredlabel.breaking-changelabel.Checks
- [x] Unit tests
- [ ] Manual tests
- [ ] This PR is not tested :(
<!-- If you selected "Manual tests" above, please fill in the section below. Otherwise you can remove it. -->
Manual test instructions
<!--
Provide step-by-step instructions so reviewers can verify your changes.
Include any relevant screenshots or logs demonstrating the behavior.
-->