Skip to content

AR02.2 — dnf-history-undo smoke (dnf delegation skip-scaffold)#38

Merged
mfwolffe merged 2 commits into
trunkfrom
ar02.2-dnf-history-undo
May 23, 2026
Merged

AR02.2 — dnf-history-undo smoke (dnf delegation skip-scaffold)#38
mfwolffe merged 2 commits into
trunkfrom
ar02.2-dnf-history-undo

Conversation

@espadonne
Copy link
Copy Markdown
Contributor

@espadonne espadonne commented May 23, 2026

Summary

AR02.2 deliverable: tests/smoke/dnf-history-undo-linux.sh — validates that on a Fedora-family runner, shit undo dispatches to dnf history undo <id> instead of synthesizing dnf remove. Mirrors AR02.1's structure with dnf substituted for apt.

Skip behavior (current runner)

AR00 self-hosted runner is Debian-family → no dnf → smoke skips cleanly. Tracked for un-skip work in AR10.7 (already documented in this PR's parent doc). Unlike AR02.1+AR02.5 mutual-exclusion, AR02.2 has no synthesis counterpart on the same runner — dnf has always had its history verb, so the runner choice is binary: dnf present (delegation runs) or absent (skip entirely).

Load-bearing assertion

Post-undo dnf history --reverse | head -30 must contain undone | rollback | reverted — confirms dnf history undo (delegation) ran, not dnf remove (synthesis). End-state alone is necessary-but-not-sufficient. Same shape as AR02.1's apt history post-undo check.

Test plan

  • bash -n parse clean
  • dnf-history-undo smoke (AR02.2) CI job: SKIP on Debian-family (current runner)
  • No regression on existing CI matrix

espadonne added 2 commits May 23, 2026 17:43
Mirror of AR02.1 with dnf instead of apt. Activates on a runner
with dnf installed; skips cleanly on Debian-family (current AR00
runner). Unlike AR02.1+AR02.5 mutual-exclusion, AR02.2 has no
synthesis counterpart on the same runner -- dnf's history verb
has always existed.

Load-bearing assertion: post-undo `dnf history --reverse` shows
an undone/rollback/reverted entry referencing the install. End-state
alone wouldn't distinguish delegation from synthesis.
@mfwolffe mfwolffe merged commit 57c314b into trunk May 23, 2026
21 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants