diff --git a/stacks/albok-service/README.md b/stacks/albok-service/README.md index 9ad6f73..587e579 100644 --- a/stacks/albok-service/README.md +++ b/stacks/albok-service/README.md @@ -6,8 +6,11 @@ The FastAPI process that owns Albok's buildings-and-wings store (`vh/albok`, - **URL:** `http://albok.nh3.internal:8392` (= `http://10.100.50.40:8392`). Container port 8390. ⚠ Host port **8392**, because **8390 on nh3-docker is the althing post office**. -- **Image:** `gitea.phasefinal.com/pfi/albok-service:0.1.5` @ `sha256:dde3303d…` (pinned in `compose.yaml`), built - 2026-10-03 ~2038 from vh/albok `e70321c` (tags albok-service/v0.1.5 + core v0.1.3; pushed by infra-ops on Prime's go). +- **Image:** `gitea.phasefinal.com/pfi/albok-service:0.1.6` @ `sha256:2b44c9d4…` (pinned in `compose.yaml`), built + 2026-10-04 ~0544 from vh/albok `6c1adcd` (tags albok-service/v0.1.6 + core v0.1.4; pushed by infra-ops on Prime's go). 0.1.6 is + the review fold on 0.1.5's search fix: the keyword-index build now takes a lock (two concurrent first queries could cross + ids or KeyError), the core search keyword is keyword-only (do not pin albok 0.1.3), and the store wrapper fails closed. + 0.1.5 (below) was built 2026-10-03 ~2038 from `e70321c` (tags albok-service/v0.1.5 + core v0.1.3). 0.1.5 = search speed: an index on the facet table's object_id and one cached keyword index per wing (fleet/memory query 4.5 s → ~0.25 s warm; the first search per wing after a start or an ingest rebuilds the keyword index, ~1.7 s). The facet index is built at the first open (~0.35 s, +17 MB). **Measured live by albok-dev 2026-10-03 ~2245** (same idle container, before/after): fleet/memory top-5 median 3.97 s → **0.22 s** (n=5; diff --git a/stacks/albok-service/compose.yaml b/stacks/albok-service/compose.yaml index a53eff9..08e34a8 100644 --- a/stacks/albok-service/compose.yaml +++ b/stacks/albok-service/compose.yaml @@ -12,7 +12,7 @@ # 1512 albok-feedback (restricted wing personal/agent-feedback) is default-deny: no viewer gets it. services: albok-service: - image: gitea.phasefinal.com/pfi/albok-service:0.1.5@sha256:dde3303de8cdaab073d703dfc1e3c7c3b4fbca827b4e94b8114c55457a3ead51 + image: gitea.phasefinal.com/pfi/albok-service:0.1.6@sha256:2b44c9d443a1a2a8d4d7e2801c46eaaa482601135af9592319d342280be35b6f container_name: albok-service restart: unless-stopped ports: