Skip to content

Correct cask migration docs to measured behavior#34

Merged
kevdoran merged 2 commits into
mainfrom
migration-docs-reality
Jul 4, 2026
Merged

Correct cask migration docs to measured behavior#34
kevdoran merged 2 commits into
mainfrom
migration-docs-reality

Conversation

@kevdoran

@kevdoran kevdoran commented Jul 4, 2026

Copy link
Copy Markdown
Owner

Post-release verification of the v1.0.0 cask→formula migration, live-tested on stable Homebrew 6.0.6 by recreating a real cask user (old cask installed from the tap's git history, then brew update):

What actually happens

  1. brew update detects the removed cask via tap_migrations.json and auto-installs the pj formula
  2. But the old cask is left installed, and its binary still owns /opt/homebrew/bin/pjpj version keeps reporting the old version ❌
  3. brew upgrade pj is then a no-op ("1.0.0 already installed")
  4. Completing the migration requires brew uninstall --cask pj and brew link pj (the formula was installed while the cask owned the binary path, so its link was skipped)

The docs previously said brew update && brew upgrade pj completes the migration — corrected to the verified four-step sequence.

Second finding: Homebrew locking bug breaks brew upgrade pj

Confirmed on both stable 6.0.6 and current master (6.0.6-68): brew upgrade pj and brew reinstall pj fail with A process has already locked /opt/homebrew/Cellar/pj for this source-built tap formula, even with the lock verifiably free (a direct flock acquires it; zero brew processes running). Related upstream reports: Homebrew/brew#22293. Added a Known Issue note to the upgrade section with the working brew uninstall pj && brew install pj workaround.

The published v1.0.0 release notes have been updated in place to match.

🤖 Generated with Claude Code [Fable 5]

kevdoran added 2 commits July 4, 2026 11:05
Live-tested on stable Homebrew 6.0.6: brew update auto-installs the
formula via tap_migrations but leaves the cask installed with its
binary owning pj on PATH; completing the migration requires
uninstalling the cask and linking the formula. Also document the
current Homebrew locking bug that breaks brew upgrade/reinstall for
source-built tap formulae, with the uninstall+install workaround.
@kevdoran
kevdoran merged commit f18f486 into main Jul 4, 2026
2 checks passed
@kevdoran
kevdoran deleted the migration-docs-reality branch July 4, 2026 15:16
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.

1 participant