Repository navigation
Conversation
The cask still named v0.2.0 with `sha256 :no_check`, so installing it from this repo's tap fetched the v0.2.0 DMG without checking its hash. Set version 0.2.9, the latest release, and the OpenMessage.dmg hash from that release's SHA256SUMS, which matches the digest GitHub reports for the asset. Add a Homebrew Cask section to the release checklist: bump the cask after the release workflow publishes, and again if the tag's assets are replaced. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
- Say that the asset digest carries a `sha256:` prefix, and fall back to it when a hand-cut release has no SHA256SUMS (v0.1.0 has none). - "Previous release" was wrong: until the bump merges, the cask installs whatever version main pins (0.2.0 today, nine releases back). - Name re-running the tag's own release run, not "a re-run of the release workflow": a workflow_dispatch from main builds main. - Third-party taps carry copies of the cask, so call this repo's copy the only official one rather than the only one. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
brew style on a macOS runner flagged three autocorrectable offenses, all on lines this PR had not touched: - Cask/HomepageUrlStyling: the homepage needs a slash after the domain. - Homebrew/OSDependsOn: a cask with an `app` stanza needs a macOS dependency. Use `depends_on macos: :sonoma`, since v0.2.9's Info.plist sets LSMinimumSystemVersion 14.0; the cop rejects the old `">= :sonoma"` string form. - Cask/ArrayAlphabetization: sort the zap paths. Their bundle id is still the wrong one (com.openmessage.OpenMessage, not com.openmessage.app); that fix changes what --zap deletes, so it gets its own PR. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Commit 3 added `depends_on macos: :sonoma` to the cask, so the checklist's bump step now says to keep it matching the release's LSMinimumSystemVersion. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Independent review (round 1) of this section found:
- The digest fallback would put `sha256:<hex>` into the cask, which
Homebrew compares as a whole string and rejects. The digest query
now drops the prefix with `ltrimstr("sha256:")`, and the text says
the cask takes exactly the 64 hex digits.
- `--dir <empty dir>` is not valid shell. The steps are now a runnable
block with `tag` and `checksums_dir` variables; it prints matching
hashes for v0.2.9.
- "The DMG's hash does not exist before then" was wrong: the workflow
computes it before upload. The reason to wait is that the cask must
pin the bytes users download.
- Replacing a pinned DMG breaks fresh installs until the new hash
reaches main, and --clobber deletes the old asset first. Prefer a new
tag; if a replacement can't be avoided, re-run all jobs of the tag's
original release run (within GitHub's 30-day re-run window), and
bump the cask right after.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
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.
Draft until the independent review finishes (round 2 is queued). The cask checks on a macOS runner all pass (see Validation). Max's go is to mark this ready and merge once the review finishes.
What changes
Casks/openmessage.rb:version "0.2.0"→"0.2.9"andsha256 :no_check→ the real hash. Onmainthe cask installs the v0.2.0 DMG without checking its hash. This repo is its own tap (brew tap maxghenis/openmessage https://github.com/MaxGhenis/openmessage), so merging this ships 0.2.9 to everyone who tapped it.brew stylefailed onmain's cask with three autocorrectable offenses, all on lines this PR hadn't touched. Commit 3 fixes them:depends_on macos: :sonomais added, because v0.2.9 setsLSMinimumSystemVersion14.0 and Homebrew now requires a macOS dependency on casks with anappstanza;docs/release-checklist.md: a new "7. Homebrew Cask" section. It says to:sha256:prefix stripped. It is also the fallback when a hand-cut release has no SHA256SUMS. The steps are a runnable bash block, which prints matching hashes for v0.2.9;depends_on macos:matching the release'sLSMinimumSystemVersion(commit 4);Where the hash comes from
a0f96618f65b4ecbc7bbe005229040fd70ccaa9e760b0b48761d36a6f7bd9ad9is theOpenMessage.dmgline of v0.2.9'sSHA256SUMS, fetched alone withgh release download v0.2.9 --pattern SHA256SUMS. The DMG itself was not downloaded on a maintainer Mac.sha256:digest GitHub reports for the asset.remusa/homebrew-tappins the same hash for 0.2.9.brew installdownloaded the DMG and Homebrew verified it against this hash (Validation).Tap check
MaxGhenis/homebrew-tapholds onlyCasks/rambar.rb(plus a README) and has no PRs.Homebrew/homebrew-caskhas noopenmessagecask and no PR for one.remusa/homebrew-tapat 0.2.9; they aren't ours to bump.Found, not fixed here
zappaths. The stanza namescom.openmessage.OpenMessage, but release builds ship ascom.openmessage.app. That id is in v0.2.9'sInfo.plist, andrelease.ymlnow enforces it. The CI install below confirms the installed app's id.UserDefaults.standard, so its preferences go to~/Library/Preferences/com.openmessage.app.plist, which--zapmisses.URLSession.sharedand a defaultWKWebViewstore, so~/Library/Caches/com.openmessage.appand~/Library/WebKit/com.openmessage.appare likely too. That is inferred from Apple's defaults, not observed.--zapdeletes on users' machines, so it belongs in its own PR.release.ymltakesGITHUB_REF_NAMEahead ofinputs.tagand checks out the dispatched ref, so aworkflow_dispatchfrommainbuildsmain. Publish multi-architecture container images, improve documentation and UX #279 appears to change this; this PR's checklist wording holds either way.brew trustbefore Homebrew will load it foraudit,fetchor a short-name install. The header's fully qualifiedbrew install --cask maxghenis/openmessage/openmessagetrusts this one cask on its own, as CI confirmed, so the instructions still work.Validation
Throwaway CI on branch
ci-scratch/cask-check-292, which has been deleted; the runs stay readable. Nothing ran on a maintainer Mac.brew styleoffenses.0bba657(commit 4 changes only the checklist), on macOS 26.7.2 with Homebrew 7.0.13, passed every gate:brew stylefound no offenses.brew install --cask maxghenis/openmessage/openmessageworked with no priorbrew trust, and Homebrew verified the freshly downloaded DMG against the pinned hash./Applications/OpenMessage.appiscom.openmessage.app0.2.9 with minimum OS 14.0, andspctlaccepts it as "Notarized Developer ID".brew uninstall --caskworked.brew audit --caskwas clean plain, with--online, and with--strict --online.Three skeptic agents tried to refute the hash, the checklist and this body. This was in-session, so it is supporting evidence only. Their notes fixed four wording points in the checklist (commit 2).
Independent review, round 1 (Subfleet job
20261118-151503-om-cask-292, at head83c913e), returned REQUEST_CHANGES. It raised three P1s and a P2, all in checklist section 7, and commit 5 fixes all four:sha256:<hex>into the cask;--dir <empty dir>wasn't valid shell;The reviewer confirmed the hash, the release, the CI evidence and the tap scope.
Independent review, round 2 (full): Subfleet job
20261119-190355-om-cask-292-r2at head72ecb9b, queued.git merge-filemerges this PR's checklist cleanly with Publish multi-architecture container images, improve documentation and UX #279, Rebuild openmessage.ai around verified claims #283 and Prepare v0.3.0 release from upstream main #180, which edit the same file.🤖 Generated with Claude Code