-
Notifications
You must be signed in to change notification settings - Fork 194
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
Add ability to define and run a subset health checks #390
Conversation
Hi @codingjoe Just a polite ping!. Could I have some feedback on this PR. Really love to see this feature in the official release of django-health-check. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This looks great @panteparak I think it's definitely worth including. I'm hoping to do another release in the next few days (was actually supposed to do it last weekend but something came up) so I can include this in there.
@frankwiles Just a friendly reminder: Don't forget to create a new release :) |
@frankwiles FYI: this is a breaking change, if you've got custom checks, as the signature of
I'll send a PR to fix the docs. Maybe it's possible to add some hint to the current release notes? |
It's not clear to me what the point of the |
I agree with you, this merge request should be merged into 4.0.0 only. |
@SpecLad There's an example usage in the README (not within the docs). |
Where? The README hasn't even been updated to include the |
This doesn't describe the |
Ah, sorry, misunderstanding on my side. It looks like as if the @panteparak Can you shed some light on this? |
I would like to +1 that this is a breaking change and should not have been released as a minor version update. This caused all of our custom health checks to fail with a
The minor version upgrade from For others: we were able to fix our custom health checks by modifying the
|
I made a PR to unbreak this: #414. |
This PR Introduces an ability to define and run a
SUBSET
of health checks.It will be useful during certain period where it is only required to run specific health checks during a scenario.
It supports both via url
/ht/<subset-name>/
and via Django commandpython manage.py health_check --subset <subset-name>