AR02.2 — dnf-history-undo smoke (dnf delegation skip-scaffold)#38
Merged
Conversation
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.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AR02.2 deliverable:
tests/smoke/dnf-history-undo-linux.sh— validates that on a Fedora-family runner,shit undodispatches todnf history undo <id>instead of synthesizingdnf 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 -30must containundone | rollback | reverted— confirmsdnf history undo(delegation) ran, notdnf remove(synthesis). End-state alone is necessary-but-not-sufficient. Same shape as AR02.1'sapt historypost-undo check.Test plan
bash -nparse cleandnf-history-undo smoke (AR02.2)CI job: SKIP on Debian-family (current runner)