quality: blockerbugs app - update health check probes #3366

Merged
adamwill merged 1 commit from jgroman/ansible:main into main 2026-06-02 15:33:59 +00:00
Contributor
  • update health check probes to use dedicated endpoint to reduce server and db load
  • add startup check to monitor app startup
- update health check probes to use dedicated endpoint to reduce server and db load - add startup check to monitor app startup
quality: blockerbugs app - update health check probes
All checks were successful
Linter / yamllint (pull_request) Successful in 27s
Linter / ansible-lint (pull_request) Successful in 1m49s
d0bb319af8
Author
Contributor
CC: @adamwill, @kparal
Contributor

Even though I haven't studied what the variables exactly mean (I hope infra folks do know), it looks OK to me.

But shouldn't we push the latest BBA version implementing the health probe at least to staging, so that the endpoint can be easily tested? Jaroslav, can you do that please?

Even though I haven't studied what the variables exactly mean (I hope infra folks do know), it looks OK to me. But shouldn't we push the latest BBA version implementing the health probe at least to staging, so that the endpoint can be easily tested? Jaroslav, can you do that please?
Member

yeah, agreed, we shouldn't merge this until the app change is rolled out. And maybe first do it only for staging (i.e. make the target location conditional on whether the instance is prod/stg) at first?

yeah, agreed, we shouldn't merge this until the app change is rolled out. And maybe first do it *only* for staging (i.e. make the target location conditional on whether the instance is prod/stg) at first?
Contributor

I wouldn't bother with that. Let's deploy new BBA to staging, and if the /_health endpoint works OK, then also to production. Then let's merge this change, run the playbook on staging, keep it that way a few days, and if it works OK, run it on production. If we encounter issues, we can revert (or add the conditional). This way it's just 1 (or 2 in the worst case) infra PRs instead of definitely 2 PRs.

I wouldn't bother with that. Let's deploy new BBA to staging, and if the `/_health` endpoint works OK, then also to production. Then let's merge this change, run the playbook on staging, keep it that way a few days, and if it works OK, run it on production. If we encounter issues, we can revert (or add the conditional). This way it's just 1 (or 2 in the worst case) infra PRs instead of definitely 2 PRs.
Author
Contributor

New BBA is now deployed both to staging and production. Healthcheck endpoints are responding OK (pun intended) in both environments.

New BBA is now deployed both to staging and production. Healthcheck endpoints are responding OK (pun intended) in both environments.
Author
Contributor

Ready to merge

Ready to merge
Owner

Looks fine to me. Let me know if you would like me to merge/deploy or if you all would like to.

Looks fine to me. Let me know if you would like me to merge/deploy or if you all would like to.
Sign in to join this conversation.
No reviewers
No milestone
No project
No assignees
4 participants
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Blocks
Reference
infra/ansible!3366
No description provided.