test(gitea_runner): fold the disk-pressure run into the failed-download case #459

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

Part of #419

Problem

gitea_runner verify runs the role once with disk_threshold_percent: 0 only to check the pressure units, and separately runs a failed download. The forced re-registration plays start child ansible-playbook runs on each host, although they read only controller state.

Proposal

  • Pass disk_threshold_percent: 0 to the failed-download run. Prune runs before update in tasks/main.yml, so the pressure units are removed before the download fails; the rescue's exact "Staging … failed" message keeps a prune error from passing as the expected failure.
  • Keep the pressure asserts after it, and the "run again" before the remove path.
  • run_once: true on the forced re-registration child runs.

Acceptance criteria

  • The pressure asserts and the staging-failure assert both still hold.
  • The remove path still proves it deletes the units.
  • The PR states the measured scenario time before and after.

Assisted-by: Claude Code

Part of #419 ### Problem `gitea_runner` verify runs the role once with `disk_threshold_percent: 0` only to check the pressure units, and separately runs a failed download. The forced re-registration plays start child `ansible-playbook` runs on each host, although they read only controller state. ### Proposal - Pass `disk_threshold_percent: 0` to the failed-download run. Prune runs before update in `tasks/main.yml`, so the pressure units are removed before the download fails; the rescue's exact "Staging … failed" message keeps a prune error from passing as the expected failure. - Keep the pressure asserts after it, and the "run again" before the remove path. - `run_once: true` on the forced re-registration child runs. ### Acceptance criteria - [ ] The pressure asserts and the staging-failure assert both still hold. - [ ] The remove path still proves it deletes the units. - [ ] 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#459