diff --git a/komodo/resources.toml b/komodo/resources.toml index 8e28c26..f66392b 100644 --- a/komodo/resources.toml +++ b/komodo/resources.toml @@ -49,7 +49,7 @@ REGISTRY=git.infra.msai.al/mca/parking_solution # Staging booth: pinned immutable stage-. After each promotion (merge dev → stage, CI builds # :stage-), bump this to the new sha and re-sync/deploy from Core. The moving `:stage` tag # exists as the pointer; we deploy the sha, not the mover. -TAG=stage-1167e27 +TAG=stage-32b4d9e COOKIE_SECURE=0 # Venue modules this site is ENTITLED to (vendor decision; the site admin activates within # this set in Setup → Site). Unset = every registered module. See wiki/decisions/venue-modules.md. @@ -94,7 +94,7 @@ REGISTRY=git.infra.msai.al/mca/parking_solution # Staging booth: pinned immutable stage-. After each promotion (merge dev → stage, CI builds # :stage-), bump this to the new sha and re-sync/deploy from Core. The moving `:stage` tag # exists as the pointer; we deploy the sha, not the mover. -TAG=stage-1167e27 +TAG=stage-32b4d9e COOKIE_SECURE=0 # Venue modules this site is ENTITLED to (vendor decision; the site admin activates within # this set in Setup → Site). Unset = every registered module. See wiki/decisions/venue-modules.md. @@ -145,7 +145,7 @@ environment = """ REGISTRY=git.infra.msai.al/mca/parking_solution # Lab: pinned to the SAME stage- as the booth whose bug is being reproduced (bump # alongside it). A lab may float, but a reproduction must run the booth's exact image. -TAG=stage-1167e27 +TAG=stage-32b4d9e # The lab stack runs on art-docker-station (2026-10-08), a SHARED host: :80 is another service's # and :3000 / :8089 may be too. These three move every host binding (Caddy listen, host-net # server, vision loopback publish); the UI is then http://:8080/. Booth stacks leave @@ -197,7 +197,7 @@ registry_account = "komodo" environment = """ REGISTRY=git.infra.msai.al/mca/parking_solution # Pinned like the booths: bump to the stage- that carries the collector. -TAG=stage-1167e27 +TAG=stage-32b4d9e # The host's NETBIRD address (an IP: Docker port bindings take no hostname) — the ingest port # is published on the overlay only. Booths reach it by its Netbird DNS name. COLLECTOR_BIND=100.75.184.156 diff --git a/wiki/decisions/fleet-deployment-komodo.md b/wiki/decisions/fleet-deployment-komodo.md index 8239e05..819561f 100644 --- a/wiki/decisions/fleet-deployment-komodo.md +++ b/wiki/decisions/fleet-deployment-komodo.md @@ -72,6 +72,12 @@ Three git branches map to three image tags and three booth roles: CI (`build-images.yml`, which now triggers on `dev`/`stage`/`main`) builds `:stage` + `:stage-`; then **bump `TAG=stage-`** in `komodo/resources.toml` and deploy from Core. `main` only ever receives what survived staging. + - ⚠️ **`` is the sha of the push HEAD, not of the code commit.** CI runs once per push and tags + with `GITHUB_SHA`. If the code commit and the `bump(resources)` commit go up in the *same* push, + the image is `stage-` and the pin (`stage-`) points at nothing — Komodo fails + with `failed to resolve reference … not found` (2026-10-08, `stage-1167e27`). Either push the code + commit first and bump after the build lands, or pin to whatever sha is the push head. A + komodo-only push does not trigger a build, so a pin-fix commit pushed alone is safe. - **`stage` was branched from `dev`** (2026-06-29) so the first real-world test carries the full current app, not a `main` that predates this work. `park-buzi`'s Stack `branch` + `TAG` both point at `stage`. - **DB migrations run at boot** (`migrate-runtime.mjs`), so a promotion auto-migrates the staging booth's diff --git a/wiki/log.md b/wiki/log.md index 107f58a..9c9f9d5 100644 --- a/wiki/log.md +++ b/wiki/log.md @@ -3441,3 +3441,4 @@ park-2 right after redeploy: 128 server + 160 vision lines in 15 min, ~90 % heal code, not by level: `/health` silent on both services, one request line instead of two (with an `onError` hook so 5xx keep logging under `disableRequestLogging`), hik-alarm HIT and per-snapshot byte lines demoted to debug via a level on `stubLog`. Pages: [[app-logs]] §Noise cut. +- 2026-10-08 — **stage-1167e27 never built**: the code fix and the TAG bump were pushed together, so CI tagged the image with the push head (`stage-32b4d9e`); Komodo deploy failed "not found". Re-pinned all four stacks to `stage-32b4d9e`; rule added to [[fleet-deployment-komodo]] (push code first, bump after the build).