fix(inkless:test): raise S3 timeouts and avoid the isolated broker in switch systests #813
All Vouch review confidence checks passed
Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.36 · 199 lines diff across 2 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.317
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #813"
general
weight: 0.35
viktorsomogyi
Six
InklessClassicToDisklessSwitchTestcases fail on the nightly run fortwo reasons unrelated to the switch itself.
#791 set the S3 client defaults to a 2 s call timeout and a 1 s attempt
timeout. The degraded-network tests throttle every broker NIC, including the
path to MinIO, to 2 Mbit/s with 200 ms latency, so WAL uploads outlast 2 s
and fail with
ApiCallTimeoutException. The producer retries each failedproduce, so it either never recovers or the consumer reads more records than
were acked.
_create_kafkanow sets the call timeout to 60 s and the attempttimeout to 30 s. That fixes
test_switch_follower_crash_with_lagged_hw,test_switch_leader_crash(both variants),test_switch_leader_restart, andtest_switch_rolling_restart, which have failed since #791 merged.test_switch_follower_network_partitionisolates a follower and then runskafka-configs.shfromself.nodes[0]. When that node is the isolatedfollower, the admin client can't reach its peers, and the describe that
precedes the alter hits its 30 s limit.
_switch_topic_to_disklessnow takesa
node, and both network-partition tests pass one from the reachable side.test_switch_leader_network_partitionhas the same latent bug, since theleader can also be
self.nodes[0].Test plan
Run the Inkless System Tests workflow on this branch and check that the six
cases pass.
test_switched_topic_urp_clears_after_replica_recoverystillfails: that failure is the stranded-follower bug fixed by #760.
Co-authored-by: Cursor <cursoragent@cursor.com>
Made with Cursor