Skip to content

Prevent boost:update from failing when there is nothing to update - #907

Merged
pushpak1300 merged 1 commit into
laravel:mainfrom
ohnotnow:fix/update-gate
Aug 7, 2026
Merged

Prevent boost:update from failing when there is nothing to update#907
pushpak1300 merged 1 commit into
laravel:mainfrom
ohnotnow:fix/update-gate

Conversation

@ohnotnow

@ohnotnow ohnotnow commented Aug 2, 2026

Copy link
Copy Markdown
Contributor

Currently boost:update needs configured agents before it checks whether there is anything to update, so an MCP-only setup (php artisan boost:install --mcp) gets Please set up Boost with [php artisan boost:install] first. and a non-zero exit code.

This PR reorders the checks in handle() so that when guidelines or skills aren't configured the command exits successfully before requiring the agents part.

Example run that shows the current behaviour in a new project that this PR (seems to!) fix:

$ composer require --dev laravel/boost
... <all fine>

$ php artisan boost:install --mcp
... <all looks ok>

$ php artisan boost:update
Please set up Boost with [php artisan boost:install] first.

@pushpak1300
pushpak1300 merged commit cd6d252 into laravel:main Aug 7, 2026
24 checks passed
@pushpak1300

Copy link
Copy Markdown
Member

Thanks

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.

2 participants