test: harden bounded Kafka supervisor timeouts #20124
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.39) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.39 · 264 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.334
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #20124"
general
weight: 0.35
GWphua
Description
KafkaBoundedSupervisorTestcan exceed the embedded cluster's default 60-second latch timeout while a bounded supervisor starts tasks, consumes records, and publishes segments.The post-merge CI run for PR #20106 provides the evidence:
Unit & Integration tests CIrun 32516481844 failed in job 96879148560.KafkaBoundedSupervisorTest.test_boundedSupervisor_doesNotSilentlyCompleteWhenStaleOffsetExceedsNewEndwhile waiting for 250 published records.This change:
maxRowsPerSegment = 100for this test class instead of the shared fixture's one-row segments. This reduces segment rollover and publication overhead while preserving the test's offset, row-count, and supervisor-state assertions.There is no user-facing behavior change.
Release note
No user-facing behavior change.
<hr>
##### Key changed/added classes in this PR
*
KafkaBoundedSupervisorTest<hr>
This PR has:
licenses.yaml.Local verification:
Result: 6 tests passed; Maven reactor
BUILD SUCCESS.