Check the deployed revision, not just any 200, in the health poll
CI / check (push) Successful in 53s
CI / deploy (push) Successful in 13s

/api/health now reports REVISION alongside status, and the CI wait
step checks for this deploy's own short SHA specifically - a stray
old container that never got torn down (or a build that silently
kept serving stale code) would still 200 on a plain health check but
now won't match.
This commit is contained in:
randy committed 2026-09-08 21:19:03 +02:00
1 parent 4982f04258
commit 5c9516d038
4 files changed
+20 -13

No files matched your search

+1 -1
View File
@@ -169,7 +169,7 @@ module Maptool
end
get "/api/health" do
json status: "ok"
json status: "ok", revision: REVISION
end
get "/api/offline-tiles" do