Show Installing Docker, not 'start Docker', while ployz-prepare installs it #3197
All Vouch review confidence checks passed
Residual risk 0.19 = Change Risk (0.43) × (1 − Review Confidence (0.57)).
Review depth and reviewer attention state are adequate.
Model 1 · Change Risk (XGBoost)
Score: 0.43 · 379 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 #3197"
general
weight: 0.35
nick-potts
Fixes #3159. While Ployz's own
ployz-prepareinstalls Docker, check-in no longer reports Blocked: Docker is installed but not running. Start it…. It shows Installing Docker instead. A user's own stopped Docker still blocks.Summary
dpkg registers
docker-cebefore the unit is enabled and started. In that window the probe sees "installed, not running". Check-in drops that one blocker only with positive evidence that Ployz is mid-install: the unit is active, and the Docker step in/var/lib/ployz/prepare/state.jsonisinstalling. An unreadable unit, a missing state file (prepare may still be indpkg --configure -a), a staleinstallingwith the unit stopped, or a finished install all keep the blocker.Stable promise: nothing changes on the wire or in a file format. Cloud gets the same check-in payload shape. Only the blocker list differs in that window.
Evidence
Tests in
checkin_tests.rsassert what Cloud received and the headline:| prepare unit | Docker step in state.json | result |
|---|---|---|
| active | installing | Installing Docker (Blocked on main) |
| unreadable | installing | Blocked |
| active | no state file | Blocked |
| stopped | installing (stale) | Blocked |
| active | done | Blocked |
| stopped | none | Blocked |
docker_stopped_mid_install_reads_as_installing_dockerfailed before the fix.docker_stopped_blocks_when_the_preparation_unit_cannot_be_readanddocker_stopped_blocks_while_preparing_before_docker_has_begunfailed against the first fix and pass now.docker_stopped_reads_as_installing_docker_once_a_retry_starts_the_preparationcovers the pass that retries an abandoned install and starts the unit itself. It failed before the follow-up fix, which came from the Codex bot's review on this PR.cargo nextest -p ployz checkin: 165 passed.cargo clippy -p ployz -D warningsis clean.There's no real-host proof: the shared build host was out of memory, and coordination asked for no new verify clusters. The dpkg window is about a minute of a 2-minute install, and the tests cover each input combination.
Independent review:
codex/gpt-6.1-solfound two cases where a user's own stopped Docker could read as Installing Docker: an unreadable unit, and a missing state file. Both are fixed here, as the table shows.Merge Danger
Door: two-way
Blast Radius: check-in headline
It changes one blocker during one install window, on Fleet-path hosts only.