ci(inkless:system-tests): split the nightly ducktape suite into parallel shards [KC-838] #886
All Vouch review confidence checks passed
Residual risk 0.17 = Change Risk (0.43) × (1 − Review Confidence (0.60)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 376 lines diff across 4 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.355
Shallow Review Depth
shallow_review_depth
0.289
Real PR Conversation Timeline
1 comments
"Review active on #886"
general
weight: 0.35
gqmelo
The nightly Inkless system tests ran in one job: one 11-node ducker cluster, one test at a time, under a 300-minute inner timeout and a 350-minute job timeout. The 2026-11-19 nightly spent 240.6 minutes in ducktape, so the classic-to-diskless switch tests that KC-838 adds had little room left. GitHub's 360-minute ceiling for hosted runners leaves no room to raise the timeouts.
The job is now a matrix of three shards. Each shard runs on its own runner, with its own ducker cluster, Postgres, and MinIO. The split follows the per-test times from that nightly:
| Shard | Ducktape target | Nightly time |
| ----- | --------------- | ------------ |
|
switch-category-d|inkless_topic_switch_test.py::InklessClassicToDisklessSwitchTest.test_fault_between_seal_commit_and_phase_2| 72.5 min ||
switch-other|inkless_topic_switch_test.py, excluding Category D | 88.2 min ||
other|tests/kafkatest/tests/inkless/, excludinginkless_topic_switch_test.py| 79.8 min |The shards use ducktape
--exclude, so together they always cover the whole directory. A new switch test lands inswitch-other, and a new file lands inother, without a workflow change. Other behavior is unchanged:inkless-system-tests-results-<shard>artifact.fail-fastis off, so a failing shard doesn't cancel the others. If a target matches no tests, ducktape 0.13 exits 1 with "No tests to run!", and the shard fails.test-targetinput ofworkflow_dispatchis now optional. If it's empty, the full suite runs split. If it's set, the target runs as onecustomjob.Testing
test-target=tests/kafkatest/tests/inkless/inkless_produce_consume_test.py, a file where ducktape finds no tests. It ran as onecustomjob, ducktape printed "No tests to run!", and the job failed.-
switch-category-d: 12 passed, 69.7 minutes in ducktape.-
other: 22 passed and 1 ignored, 81.3 minutes.-
switch-other, attempt 1: 14 passed and 1 failed, 94.6 minutes.test_switch_succeeds_with_degraded_networkfailed becauseVerifiableConsumerreported "Consumed from an unexpected offset (4138, 2344)" for partition 28. That test passed in the 2026-11-19 nightly.-
switch-other, attempt 2: 15 passed, 88.2 minutes.make valereports no alerts on the new workflow comments.🤖 Generated with Claude Code