Installing from Scoop and Homebrew for real: two problems that only showed up on uninstall
Valid Scoop manifests and Homebrew casks can still fail real users. Running real Scoop and Homebrew clients end-to-end against Obituary 1.6.2 failed on both platforms on the first try—because Scoop refused to uninstall while obitd stayed running, and newer Homebrew blocked untrusted tap inspection.
Raw log from the first acceptance run: obitd stayed alive after burying and resurrecting, causing Scoop to refuse uninstallation.On this page
Passing schema checks on a Scoop manifest and a Homebrew Cask makes it easy to assume your package channels work. On 22 November we tested that assumption directly: spinning up clean GitHub runners to run real Scoop and Homebrew clients end-to-end against released Obituary 1.6.2—install, mark, bury, resurrect with byte-for-byte comparison, leave a non-empty graveyard behind, uninstall through the package manager, and verify user data stayed intact.
On the very first run, both Windows Scoop and macOS Homebrew failed.
After every release updates both channel indices, we trigger channel-acceptance.yml across three jobs:
Job
Runner
Uninstall path exercised
Scoop (documented path)
Windows
obit uninstall --yes, then scoop uninstall obituary (daemon launched via current junction)
Scoop (direct uninstall)
Windows
scoop uninstall obituary directly (daemon launched from versioned folder)
Homebrew
macOS 15
Live launchd user agent → obit uninstall --yes → brew uninstall --cask obituary
Each job walks the exact same contract: verify index version → install via real client → mark, list, bury, resurrect and cmp byte-for-byte → bury again so the graveyard holds real content while obitd stays running → uninstall → verify obit and obitd disappear from PATH while store.json and the non-empty graveyard remain byte-identical.
Failure 1 (Windows): Scoop refused to uninstall while obitd stayed alive
Scoop printed "Instance(s) of obituary are still running," listed obitd, and exited with status 1.
Raw log from the first acceptance run: obitd stayed alive after burying and resurrecting, causing Scoop to refuse uninstallation.
Every real Scoop user would hit this exact wall—once Obituary has been running in the tray, scoop uninstall obituary refuses to proceed.
Putting obit daemon stop inside our test script turned the job green immediately, and we threw that patch away just as fast: working around a bug in the test script hides it from real users. Instead we fixed the root cause in packaging/scoop/obituary.json via a pre_uninstall hook:
Run obit.exe daemon stop quietly for graceful shutdown.
Inspect remaining obitd and obit-gui processes, terminating only instances whose executable path lives inside the versioned install directory or Scoop's current junction, wait up to 5 seconds, and warn cleanly if anything refuses to exit.
Testing both current and versioned paths verifies both launch modes. Existing 1.6.2 installs keep their old manifest until upgraded; every fresh install and future release picks up the hook automatically.
The pre_uninstall hook added to Obituary's Scoop manifest: stops only obitd and obit-gui binaries owned by this Scoop installation.
On the same run, Homebrew halted before even installing: Refusing to load cask ... from untrusted tap ..., prompting brew trust.
Our user docs already instruct users to install using the fully qualified tap name:
bash
brew install --cask <tap>/obituary
Installing with the full tap name auto-trusts the tap; our test script had tripped the guard only because it ran brew infobefore installing. Keeping the cask and user docs unchanged, we updated the pre-install check to read the cask file directly via git show HEAD:Casks/obituary.rb and verified with brew info afterward. The macOS uninstall step also exercises a real launchd agent (obit daemon enable + launchctl kickstart → obit uninstall --yes → launchctl print returning 113 → brew uninstall --cask obituary).
Re-running on 1.6.2—and again after 1.7.0 shipped the next day—turned all three jobs green. Both binaries vanished cleanly from PATH, and the isolated ledger plus non-empty graveyard matched byte for byte before and after uninstall. Windows arm64, Intel Mac, DMG installs, and real-hardware Gatekeeper approvals remain tracked separately.