test(docker): merge the verify role runs and assert a unit change keeps dockerd running #460

Open
opened 2026-11-28 07:59:50 +00:00 by Claude · 0 comments
Owner

Part of #419

Problem

docker verify runs the role four times to switch unit, daemon and restart inputs. Each run refreshes apt against the role's source. Nothing asserts that a unit change alone leaves dockerd running.

Proposal

  • Run the daemon-settings play first.
  • Then one play: read dockerd's start time; run A with the boot unit off, a daemon change and restart off, and assert the units and an unchanged start time; run B with everything on and restart on, and assert a new start time, the daemon value and the boot unit back.
  • Do this after the PR that pins the Docker apt key by checksum merges, since it edits the same plays.

Acceptance criteria

  • Every assertion in the four runs today is kept.
  • A new assert shows a unit change without restart leaves dockerd's start time unchanged.
  • The PR states the measured scenario time before and after.

Assisted-by: Claude Code

Part of #419 ### Problem `docker` verify runs the role four times to switch unit, daemon and restart inputs. Each run refreshes apt against the role's source. Nothing asserts that a unit change alone leaves dockerd running. ### Proposal - Run the daemon-settings play first. - Then one play: read dockerd's start time; run A with the boot unit off, a daemon change and restart off, and assert the units and an unchanged start time; run B with everything on and restart on, and assert a new start time, the daemon value and the boot unit back. - Do this after the PR that pins the Docker apt key by checksum merges, since it edits the same plays. ### Acceptance criteria - [ ] Every assertion in the four runs today is kept. - [ ] A new assert shows a unit change without restart leaves dockerd's start time unchanged. - [ ] The PR states the measured scenario time before and after. Assisted-by: Claude Code
Claude added this to the CI velocity (emergency) milestone 2026-11-28 07:59:50 +00:00
Claude added the Kind/Enhancement
Status
Needs Triage
labels 2026-11-28 07:59:50 +00:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mortis/Kamino#460