Repository navigation
[Brew] One action at a time per package - #33983
Conversation
- Merge branch \'contributions/merge-1795638172400\' - Pull contributions - chore: ship AGENTS.md with the extension - fix(uninstall): offer Force Uninstall or Unpin for a pinned package - fix(actions): one brew operation per package at a time - chore: sync the merge date of raycast#33909 (2026-11-24) - fix(installed): list Casks before Dependencies in the filter - fix(search): carry a cask\'s install time into Search; correct the changelog - feat(installed): drop status letters from rows; show the install date in the sidebar - fix(search): carry linked_keg into Search rows; tighten the oldest-keg guard - feat(installed): filter dependencies from the dropdown; show the version brew uses - chore: sync the merge date of raycast#33901 (2026-11-24) - docs(installed): list what the build-dependency rule cannot see - fix(installed): read a HEAD keg\'s build dependencies; narrow what Unused claims - fix(installed): don\'t tag build dependencies Homebrew keeps as Unused - docs(agents): ray develop double-runs mount effects under StrictMode - chore: sync the merge date of raycast#33798 (2026-11-21) - fix(search): trim the launch argument like typed text - docs(pins): say when upgradeChecked\'s pin read trusts brew\'s own flag - fix(pins): catch pins under old names in Search and in Show Upgrades retries; read sized non-numeric versions - docs(changelog): Homebrew 7.0.15 previews and pins; stamp raycast#33527 with its merge date - fix(preview): read Homebrew 7.0.15 plan sizes and pins under old names - fix(taps): read every qualified package on a README install line - fix(taps): read a trusted alias by kind when brew refuses its same-named cask - fix(preview): Run in Terminal uses ⌘⇧T, as in Show Upgrades - fix(preview): drop the explicit ⌘↵ on Run in Terminal - fix(taps): show Stop Trusting\'s installed read as the list\'s loading bar - fix(taps): refresh Show Installed on trust changes, and name hidden formulae reliably - chore: restore local package.json changes on top of the published copy - chore: sync package.json with the published extension (raycast#33590) - fix(taps): install from and list untrusted taps on Homebrew 7.0.14 - fix: address nhojb\'s review on raycast#33527 - fix: close Codex findings on the Greptile fixes, and keep Installed tags beside the sidebar - fix: address Greptile review on raycast#33527 - fix(taps): a lead naming a formula never matches an installed cask; Search drops a stale sidebar choice - fix: title the debug action Show Debug Info, with the bug icon - fix(taps): match installed leads by alias and either kind; reset Search\'s sidebar on a preference change - fix: clear the house-style audit, and two tap follow-ups - fix(taps): house-style fixes in the tap check - chore(deps): bump @raycast/api to 2.12.1 - chore: keep AGENTS.md out of Store submissions - feat(taps): check a tap with git before adding it, and untrust on remove - docs(todo): restore the package detail entry the sync dropped - feat(warnings): read Disabled and Deprecated reasons as short labels - chore: sync with the published extension (raycast#33168, raycast#33250, raycast#33330, raycast#33398, raycast#32119) - docs(todo): track the package detail\'s abort-and-refetch - test(cache): replace anyzig, which lost its requirements upstream - chore: sync with the published extension (raycast#32283, raycast#32708) - chore: stamp Remove Tap fix with its merge date (2026-10-04) - revert(toast): take the settle-gap toast changes out of this PR - fix(toast): send hides at once, never after the settle gap - fix(taps): refresh the list after any attempted add or remove - fix(toast): ignore Cancel once the action has finished - fix: progress toast overwriting its own result; untap without autoremove - fix(taps): uninstall a tap\'s packages explicitly before untapping - fix(search): format section counts in the user\'s locale - chore(deps): brace-expansion 5.0.12, @raycast/api 2.6.0 - chore(taps): changelog, README, Homebrew 6 add-tap wording - feat: third-party taps
|
Thank you for your contribution! 🎉 🔔 @nhojb @Aayush9029 @mathieudutour @urwrstkn8mare @ashokbaruaakas @MillerApps @pernielsentikaer @jfkisafk @vpukhanov @j3lte @alexander-cato @ViGeng @ridemountainpig @clins1994 @alexi-build @dibas-np @raulgg you might want to have a look. You can use this guide to learn how to check out the Pull Request locally in order to test it. 📋 Quick checkout commandsBRANCH="ext/brew"
FORK_URL="https://github.com/chrismessina/extensions.git"
EXTENSION_NAME="brew"
REPO_NAME="extensions"
git clone -n --depth=1 --filter=tree:0 -b $BRANCH $FORK_URL
cd $REPO_NAME
git sparse-checkout set --no-cone "extensions/$EXTENSION_NAME"
git checkout
cd "extensions/$EXTENSION_NAME"
npm install && npm run devWe're currently experiencing a high volume of incoming requests. As a result, the initial review may take up to 15 business days. |
[Medium impact] No new blocking issue remains in the reviewed changes. SummaryAdds one shared busy state per package for Install, Upgrade, and Uninstall.
Reviews (3) · Last reviewed commit: "Update CHANGELOG.md" · Reviewed by Greptile |
| const busy = useInFlight(packageKey(props.formula)); | ||
| if (busy) return <BusyAction label={busy} />; |
There was a problem hiding this comment.
Terminal install bypasses busy state
The new check only replaces the in-Raycast Install action. Its sibling “Run Install in Terminal” remains active in InstallSlotAction. Start an install, then press ⌘↩ while it runs: the terminal action bypasses the claim and launches another install for the same package. Apply the busy check to both slots so this route cannot start a conflicting Homebrew operation.
Prompt To Fix With AI
This is a comment left during a code review.
Path: extensions/brew/src/components/actions.tsx
Line: 92-93
Comment:
**Terminal install bypasses busy state**
The new check only replaces the in-Raycast Install action. Its sibling “Run Install in Terminal” remains active in `InstallSlotAction`. Start an install, then press ⌘↩ while it runs: the terminal action bypasses the claim and launches another install for the same package. Apply the busy check to both slots so this route cannot start a conflicting Homebrew operation.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.There was a problem hiding this comment.
@greptile Fixed in f225935. While a package is busy, InstallSlotAction now hides Run Install in Terminal (the first slot shows the busy label instead), and the same check covers Run Adopt in Terminal, Run Upgrade in Terminal, and the install/upgrade previews' Run in Terminal action. Check for Updates' Upgrade button now takes the same per-package claim as the row's Upgrade.
There was a problem hiding this comment.
The reported package-scoped routes are fixed: InstallSlotAction, the Uninstall/Adopt/Upgrade Terminal actions, and the single-package preview Terminal actions now check the package’s in-flight state; Check for Updates’ Upgrade also uses the shared claim.
One gap remains in the whole-machine Upgrade Preview: RunInTerminalAction only checks a key when item is provided (extensions/brew/src/components/installPreview.tsx:431), but that preview passes no item (extensions/brew/src/components/installPreview.tsx:674). So while a package operation is running, its whole-machine Run Upgrade in Terminal action can still start another brew process. Please gate that machine-wide action whenever any package claim is active.
- fix(actions): claim the Check for Updates upgrade; hide preview Terminal runs while busy - chore: stop tracking AGENTS.md; keep it out of the Store - fix(actions): hide Run … in Terminal while a package is busy
…o end changelog-history paired a published entry with the first local heading that matched, so a CHANGELOG repeating a (title, date) heading FAILed falsely (brew, raycast/extensions#33983). Entries now pair by occurrence; status and each redaction record are consumed per occurrence. pr-local-only passes a file the preset's ship.keep keeps for this extension and names it. New preflight check keep-gitignored FAILs when the extension's own .gitignore would drop a kept file from the Store PR. One shared publishedTracks() predicate decides "the published copy already tracks a file here" for every check that asks it, so a published directory is never taken for a tracked file (agent-scaffolding, dev-material, contributing-mirror, readme-links, screenshots). Reviewed by Codex (3 rounds: CDUP-1..3 fixed). Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Published to the Raycast Store: |
|
🎉 🎉 🎉 We've rewarded your Raycast account with some credits. You will soon be able to exchange them for some swag. |
Description
Pressing Install, Upgrade or Uninstall again while it was still running started a second Homebrew for the same package, which failed with "Brew is Busy" while the first one carried on.
Each package now runs one action at a time: its row shows a spinning icon, Install and Upgrade read "Installing…" or "Upgrading…" and do nothing on ↵, and Uninstall is hidden until the list shows the result.
Screencast
Changes
AGENTS.mdnow ships with the extension on purpose: it records the decisions that are expensive to rediscover for whoever maintains Brew nextChecklist
npm run buildand tested this distribution build in Raycastassetsfolder are used by the extension itselfREADMEare placed outside of themetadatafolder(https://developers.raycast.com/basics/prepare-an-extension-for-store#how-to-use-it)
npm run lintandnpx tsc --noEmit, both cleanCHANGELOG.mdper the changelog conventions