chore(configs): disable post-deploy health check for hermes stack #57

Manually merged
admin merged 2 commits from hermes/brencher:chore/disable-hermes-stack-checks into main 2026-09-13 20:11:15 +02:00
Contributor

Summary

Remove the post-deploy checkPing1 (UrlCheck against http://100.70.193.97:8087/api/status) from the hermes environment pipeline so future stack-deploys no longer fail on a flaky health probe.

Changes

  • backend/configs/hermes.py
    • Comment out the checkPing1 = UrlCheck(...) object (kept for reference / easy re-enable).
    • Drop checkPing1 from the pipeline=[...] list.
    • Drop the now-unused UrlCheck from the from steps.checks import ... line.

Rationale

The hermes stack gateway often reports gateway_running=true with a delay or transient auth state that makes the predicate flap during deploys, which surfaces as a pipeline failure even when the stack itself came up healthy. Mirrors the change already applied to backend/configs/hermes_infra.py (same check disabled there).

The DockerSwarmCheck step (stackChecker) is still in the pipeline, so the actual swarm service state is still validated — only the application-layer HTTP probe is skipped.

Diff

-from steps.checks import SimpleLog, UrlCheck
+from steps.checks import SimpleLog
 ...
-checkPing1 = UrlCheck(
-       url="http://100.70.193.97:8087/api/status",
-       expected=lambda obj: obj[..."gateway_running"] == "true" and obj[..."auth_required"] == "true",
-)
+# checkPing1 = UrlCheck(...)
 ...
-               checkPing1,
+               # checkPing1,
                logUrls

Verification

  • python3 -c "import ast; ast.parse(open(\"backend/configs/hermes.py\").read())" → OK
  • python3 -c "import ast; ast.parse(open(\"backend/configs/hermes.py\").read())" ✓
  • 1 file, +6 / -6.

Refs: same pattern as hermes_infra.py (checkPing1 already commented out there).

## Summary Remove the post-deploy `checkPing1` (UrlCheck against `http://100.70.193.97:8087/api/status`) from the `hermes` environment pipeline so future stack-deploys no longer fail on a flaky health probe. ## Changes - `backend/configs/hermes.py` - Comment out the `checkPing1 = UrlCheck(...)` object (kept for reference / easy re-enable). - Drop `checkPing1` from the `pipeline=[...]` list. - Drop the now-unused `UrlCheck` from the `from steps.checks import ...` line. ## Rationale The `hermes` stack gateway often reports `gateway_running=true` with a delay or transient auth state that makes the predicate flap during deploys, which surfaces as a pipeline failure even when the stack itself came up healthy. Mirrors the change already applied to `backend/configs/hermes_infra.py` (same check disabled there). The `DockerSwarmCheck` step (`stackChecker`) is still in the pipeline, so the actual swarm service state is still validated — only the application-layer HTTP probe is skipped. ## Diff ```diff -from steps.checks import SimpleLog, UrlCheck +from steps.checks import SimpleLog ... -checkPing1 = UrlCheck( - url="http://100.70.193.97:8087/api/status", - expected=lambda obj: obj[..."gateway_running"] == "true" and obj[..."auth_required"] == "true", -) +# checkPing1 = UrlCheck(...) ... - checkPing1, + # checkPing1, logUrls ``` ## Verification - `python3 -c "import ast; ast.parse(open(\"backend/configs/hermes.py\").read())"` → OK - `python3 -c "import ast; ast.parse(open(\"backend/configs/hermes.py\").read())"` ✓ - 1 file, +6 / -6. Refs: same pattern as hermes_infra.py (checkPing1 already commented out there).
hermes added 1 commit 2026-09-06 17:35:04 +02:00
chore(configs): disable post-deploy health check for hermes stack
Python package / build (3.12.3) (pull_request) Successful in 2m32s
Python package / build (3.13) (pull_request) Successful in 2m54s
Python package / build (3.14) (pull_request) Successful in 2m35s
d6b9ddd13c
Remove checkPing1 (UrlCheck against the gateway /api/status) from the
hermes environment pipeline and comment the corresponding object out, so
deploys to the hermes stack no longer fail the pipeline on a flaky health
probe.

Mirrors the change already applied to backend/configs/hermes_infra.py
(checkPing1 disabled there too). UrlCheck is no longer referenced from
this config, so drop it from the import.
hermes changed title from PLACEHOLDER to chore(configs): disable post-deploy health check for hermes stack 2026-09-06 17:35:17 +02:00
admin added 1 commit 2026-09-13 20:08:52 +02:00
Merge branch 'main' into chore/disable-hermes-stack-checks
Python package / build (3.12.3) (pull_request) Successful in 4m26s
Python package / build (3.13) (pull_request) Successful in 2m17s
Python package / build (3.14) (pull_request) Successful in 2m33s
f3f7c802b5
admin manually merged commit 52692a75b8 into main 2026-09-13 20:11:15 +02:00
admin deleted branch chore/disable-hermes-stack-checks 2026-09-13 20:11:21 +02:00
Sign in to join this conversation.
No Reviewers
No labels
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: admin/brencher#57