Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[5.x] Feature: Warn if no supervisor config (#1447) #1451

Conversation

yudikubota
Copy link

As discussed in #1447, users may run php artisan horizon in a different environment and forget to configure the supervisors for this new environment. This feature warns if there are no supervisors configured for the current environment.

This PR implements:

  • Warning when no supervisor configuration is present;
  • Integration tests to check the warning;

Obs.

It's possible to warn from the MasterSupervisor output but I think the HorizonCommand is more appropriate.

@yudikubota yudikubota changed the title Feature: Warn if no supervisor config (#1447) [5.x] Feature: Warn if no supervisor config (#1447) May 25, 2024
Copy link
Member

@driesvints driesvints left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is better but I also wonder if we should start Horizon at all if no supervisor config was found. Will let @taylorotwell wage in here.

@taylorotwell
Copy link
Member

No plans to take any action here.

@driesvints
Copy link
Member

@yudikubota looks like we're going to leave things be for now, sorry

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.

3 participants