Skip to content

docs(0051): record live Hetzner prices schema apply + archive task#51

Merged
karczuRF merged 2 commits into
developfrom
feat/0051_live-hetzner-schema-apply
Jun 22, 2026
Merged

docs(0051): record live Hetzner prices schema apply + archive task#51
karczuRF merged 2 commits into
developfrom
feat/0051_live-hetzner-schema-apply

Conversation

@karczuRF

Copy link
Copy Markdown
Collaborator

Summary

  • 0051 completed + archived — Step 4 (live loopback-admin schema apply) executed by hand on the single production CH box `ch-prod-01`: `prices` DB + full schema (12 base tables, 6 rollup MVs, 6 read-surface views) applied via streamed `init`/`seed`/`views`/`rollups` SQL over `ssh + docker exec`.
  • Added provenance note `notes/G-live-schema-state.md` capturing the live object set (24 objects), `backfill_progress` seed (=2), `price_ohlcv_1m` engine/sort key (verified vs ADR 0003/0004), and the refreshable MV propagation smoke test (`_1m` → `_15m`, fixture cleaned up).
  • Flipped 0051's two remaining acceptance criteria to `[x]`; status → `completed`; moved `blocked/` → `archive/`.
  • 0063: marked AC#1 (`prices` database exists) `[x]` and appended a completion record to `G-provisioning-plan.md`. 0063 stays active — RBAC users, Caddy CN→user map, Ansible run, and mTLS certs remain BE-gated.
  • Docs/lore only — no code changed (operational apply + verification).

karczuRF added 2 commits June 22, 2026 15:01
Step 4 (live loopback-admin apply) executed by hand on the single
production CH box ch-prod-01: the prices DB + full schema (12 base
tables, 6 rollup MVs, 6 read-surface views) applied via streamed
init/seed/views/rollups SQL over ssh + docker-exec. Verified the object
set (24 objects), backfill_progress seed (=2), price_ohlcv_1m
engine/sort key vs ADR 0003/0004, and the refreshable MV propagation
smoke test (_1m -> _15m, fixture cleaned up). Evidence in
notes/G-live-schema-state.md. Both remaining acceptance criteria now
met; task moved to archive (completed).

Also records the same milestone on 0063: the prices database now exists
(AC#1 satisfied), with the RBAC users / Caddy CN map / mTLS certs still
BE-gated (G-provisioning-plan.md completion record).
Operator will self-serve the Caddy CLICKHOUSE_CN_USER_MAP entries and the
mTLS client certs + Secrets-Manager bundles (CA-key access available), so
those are no longer a BE ask. Only the users.d prices_writer/prices_reader
users + quotas PR remains BE-owned. Resolves runbook open item 1.
@karczuRF karczuRF merged commit d07c85f into develop Jun 22, 2026
3 checks passed
@karczuRF karczuRF deleted the feat/0051_live-hetzner-schema-apply branch June 22, 2026 13:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant