Repository navigation
Fix Dreamdump path resolution in CLI - #1043
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
mnadareski
approved these changes
Oct 13, 2026
mnadareski
left a comment
Member
There was a problem hiding this comment.
I'll admit, this one is a bit funny that it was missed.
gmipf
added a commit
to gmipf/packaging-media-preservation
that referenced
this pull request
Oct 13, 2026
The hold (d2ba32e) kept every MPF build out while master was broken (377de1d0 closed the process before reading its exit code, so every dump ended in InvalidOperationException). The maintainer's fix reads ExitCode before Close(); Boot 6.1 re-tested exactly c97cda44 (32 cases on Fedora, Windows and macOS, CLI and GUI, real tools) and released it, and the user confirmed that master is fixed. The rolling tag points at c97cda44, which is also master's head, and the content guard from a894683 passes it. With the hold gone the watcher packages c97cda44, which also carries SabreTools/MPF#1043 (Dreamdump path resolution in the CLI). The DreamdumpPath workaround stays in this step on purpose: OBS reads the recipe through a cache, and removing it before the bump could let OBS rebuild 1064071b without it. It comes out in the next commit, with a Release bump. The hold mechanism itself stays in the watcher, idle while the file is absent. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
gmipf
added a commit
to gmipf/packaging-media-preservation
that referenced
this pull request
Oct 13, 2026
MPF's CLI stored the resolved Dreamdump path in AaruPath, so a bare DreamdumpPath failed with "does not exist"; e219926 seeded /usr/bin/dreamdump instead and migrated our earlier bare seed. The fix, SabreTools/MPF#1043, is in c97cda44, which mpf now ships (6f7305f), and the guard turned red on that run as designed: "MPF c97cda44 no longer stores Dreamdump's resolved path in AaruPath". The user: "dreamdump ist doch gefixt, entferne den umweg wieder". Both MPF-DREAMDUMP-PATH-WORKAROUND blocks are gone from all three wrappers (fedora and opensuse spec, ubuntu mpf-wrapper.in; debian.tar.gz regenerated). Configs that already hold /usr/bin/dreamdump keep it -- it resolves, so the wrapper leaves it alone, and MPF runs it. Fedora Release 2; openSUSE counts on OBS's own release. Debian stays at -1 on purpose (assemble.sh's per-series rewrite keys off "-1) UNRELEASED"); OBS is only now building c97cda44-1, so hardly anyone has the copy with the workaround, and that copy works too. The guard now checks both directions in the commit we ship: with the workaround it turns red when the broken form is gone (as before); without it, red when the broken form comes back (then a bare name fails again; e219926 is the template). An unreadable file or a missing Dreamdump branch is red either way. Red seen before green: - Wrappers rendered from all three lanes, 6 cases each: 18/18 with this commit; the same cases against HEAD's wrappers fail 12 (every bare-seed case gets /usr/bin/dreamdump). - The guard step, extracted from the workflow and run against MPF's real BaseFeature.cs at 1064071b (broken) and c97cda44 (fixed), a copy without the Dreamdump branch, an empty file and a failing download, with and without the workaround: 8/8. A copy whose "broken form is back" branch exits 0 fails exactly that case. Not yet measured: mpf-cli -u dreamdump with the bare name on the installed package (needs a test VM; next). Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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.
In MPF.CLI, the Dreamdump case in
BaseFeatureresolvesDreamdumpPathbut assigns the result toAaruPath.DreamdumpPathkeeps the raw value from config.json, andDumpEnvironmentchecks that withFile.Exists. A program name onPATHor a~/path therefore fails withError! dreamdump does not exist!, and Dreamdump is never started.Tested with a stand-in program on Fedora 44, macOS 26.5.2 and Windows 11 (VMs), before and after the change:
DreamdumpPathas a program name onPATH(dreamdump.exeon Windows) and as~/…/dreamdump: "does not exist" before, started after.DreamdumpPathand a bareRedumperPath: started in both.Prepared with AI assistance (Claude Opus 5.5) and reviewed before submission.