Reuses the SELECT 1 that /status already runs, so the two endpoints cannot disagree.
Draining still answers 200 draining and outranks the database check; a healthy relay still answers exactly ok (the staging gate compares that literal for 25s); only notAnswering fails, so a driver with no SQL surface is not permanently unhealthy.
Verified against a running relay in all three states — ok/200, database unreachable/503, then ok/200 once it recovered.
Closes #60.
Reuses the `SELECT 1` that `/status` already runs, so the two endpoints cannot disagree.
Draining still answers 200 `draining` and outranks the database check; a healthy relay still answers exactly `ok` (the staging gate compares that literal for 25s); only `notAnswering` fails, so a driver with no SQL surface is not permanently unhealthy.
Verified against a running relay in all three states — ok/200, database unreachable/503, then ok/200 once it recovered.
paulhitt
(Migrated from gitlab.com)
merged commit 043fe9f23b into main2026-09-08 13:13:57 +00:00
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Closes #60.
Reuses the
SELECT 1that/statusalready runs, so the two endpoints cannot disagree.Draining still answers 200
drainingand outranks the database check; a healthy relay still answers exactlyok(the staging gate compares that literal for 25s); onlynotAnsweringfails, so a driver with no SQL surface is not permanently unhealthy.Verified against a running relay in all three states — ok/200, database unreachable/503, then ok/200 once it recovered.
mentioned in commit
043fe9f23bmentioned in issue #60