Repository navigation
fix(release): remove deprecated Homebrew cask syntax in generate-packaging - #2437
Merged
Merged
Conversation
…ckaging Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Contributor
🟡 Impact Analysis — PR #2437Risk tier: 🟡 MEDIUM 📊 Summary
🎯 Risk Factors
📦 Modules Affectedscripts (1 file)
tests (1 file)
This report is generated automatically for every PR. See #733 for details. |
Contributor
🛫 PR Readiness Check
PR Scope: 🔧 Infrastructure
|
| Status | Check | Details |
|---|---|---|
| ✅ | Single commit | 1 commit — clean history |
| ✅ | Not in draft | Ready for review |
| ❌ | Branch up to date | dev is 1 commit(s) ahead — rebase recommended |
| ❌ | Copilot review | No Copilot review yet — it may still be processing |
| ✅ | Changeset present | Changeset skipped via skip-changelog label |
| ✅ | Scope clean | No .squad/ or docs/proposals/ files |
| ✅ | No merge conflicts | Merge status unknown — GitHub is still computing |
| ✅ | Copilot threads resolved | No Copilot review threads |
| ✅ | CI passing | All checks passing |
Files Changed (2 files, +8 −3)
| File | +/− |
|---|---|
scripts/generate-packaging.mjs |
+2 −3 |
test/packaging-manifests.test.ts |
+6 −0 |
Total: +8 −3
This check runs automatically on every push. Fix any ❌ items and push again.
See CONTRIBUTING.md and PR Requirements for details.
Contributor
There was a problem hiding this comment.
🟢 Approval recommended
No active review issues remain; the deprecated Homebrew cask syntax has been replaced and regression coverage verifies the generated output.
No open issues 🎉
What changed in this PR
Updates Homebrew cask generation to use supported syntax and prevents automated releases from restoring deprecated directives.
Changes:
- Removes the redundant
verified:URL option. - Replaces the deprecated string-based macOS dependency with
depends_on macos: :big_sur. - Adds regression coverage for both syntax changes.
| File | Description |
|---|---|
test/packaging-manifests.test.ts |
Verifies deprecated cask syntax is absent and the updated dependency is emitted. |
scripts/generate-packaging.mjs |
Generates Homebrew casks using the updated syntax. |
Review effort: Lite (auto)
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.
What
Removes deprecated Homebrew cask syntax (�erified: "github.com//" when homepage already matches, and string comparison depends_on macos: ">= :big_sur" in favor of depends_on macos: :big_sur) from scripts/generate-packaging.mjs and adds a regression test in est/packaging-manifests.test.ts.
Working as Data (Squad Framework Expert).
Why
Homebrew deprecated �erified: when the URL domain matches homepage and deprecated string comparison in depends_on macos:. This was fixed manually in �radygaster/homebrew-squad#1, but scripts/generate-packaging.mjs still emitted the deprecated syntax and would overwrite the fix on the next automated release publish.
How
enderHomebrewCask in scripts/generate-packaging.mjs to omit �erified: and emit depends_on macos: :big_sur.
px changeset add / .changeset/*.md, direct CHANGELOG.md entry for maintainers, or skip-changelog label for no user-facing changes)
PR Readiness Checklist
Branch & Commit
Build & Test
pm run build passes
pm test passes (all tests green)
pm run lint passes (type check clean)
pm run lint:eslint passes
Changeset
px changeset add (if packages/squad-sdk/src/ or packages/squad-cli/src/ changed)
Docs
Exports
Breaking Changes
None.
Waivers
None.