From 9c916b2f0ebcbc00848e4eefcc0ffd43c64d291c Mon Sep 17 00:00:00 2001 From: Jose Lago Date: Tue, 20 Oct 2026 23:15:28 +0200 Subject: [PATCH] docs(release): record the session-language production deploy (2026-10-21) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Migration 20261021090000 + sidecar + both frontends live on the VM. Baseline-guarded, backed up (szlang-20261020T211211Z), rollback-tagged. Prod function defs verified byte-identical to local post-migrate; live gridsmart sync through the new transform: 30 updates, 0 errors, level/area untouched. language null until the organizer defines the category. Co-authored-by: Stephan Charles Co-authored-by: Amelia Hernandez Co-authored-by: Markus Franz Co-authored-by: Sabrina Hota Co-authored-by: Nilüfer Doğan --- docs/deployment.md | 17 +++++++------ docs/releases/2026-10-20.md | 50 +++++++++++++++++++++++++++++++++++++ 2 files changed, 60 insertions(+), 7 deletions(-) diff --git a/docs/deployment.md b/docs/deployment.md index 640ff01..95863c4 100644 --- a/docs/deployment.md +++ b/docs/deployment.md @@ -5,17 +5,20 @@ Convivo runs locally for development and on the production VM at [backend/supabase-core.md](./backend/supabase-core.md) and [backend/docker.md](./backend/docker.md) for service ownership. -## Production status (2026-10-20) +## Production status (2026-10-21) > **This table and its evidence block describe the 2026-10-07 deploy** — its > bundle markers (`index-Gv3o7AW6.js` / `index-CocPCSGt.js`) were superseded many > times since. Dated deployment evidence lives in [releases/](./releases/). -> Last full deploy **2026-10-20** ([release record](./releases/2026-10-20.md)): -> served bundles `index-Bvxa-AGu.js` (admin) and `index-CI1zhQx2.js` (attendee); -> migrations `20261020120000` + `20261020130000` applied; backup -> `/home/APPE/convivo-backups/staffpts-20261020T201609Z`; rollback tags -> `convivo-{app,admin}:rollback-staffpts-20261020T201609Z`. The previous full -> deploy 2026-10-19 ([record](./releases/2026-10-19.md)) served +> Last deploy **2026-10-21** ([record](./releases/2026-10-20.md#followup-session-language-tag-deployed-2026-10-21)): +> served bundles `index-H78RjZbM.js` (admin) and `index-BeolCmUg.js` (attendee); +> migration `20261021090000` applied (sessions.language); sidecar rebuilt; +> backup `/home/APPE/convivo-backups/szlang-20261020T211211Z`; rollback tags +> `convivo-{app,admin,sidecar}:rollback-szlang-20261020T211211Z`. The previous +> full deploy 2026-10-20 ([record](./releases/2026-10-20.md)) served +> `index-Bvxa-AGu.js`/`index-CI1zhQx2.js` with migrations `20261020120000` + +> `20261020130000`; before that 2026-10-19 +> ([record](./releases/2026-10-19.md)) served > `index-CvbBKcXb.js`/`index-D4o4lQL7.js` with migration `20261019160000`. | Public URL | Role | Verified result | diff --git a/docs/releases/2026-10-20.md b/docs/releases/2026-10-20.md index 387c374..521e18d 100644 --- a/docs/releases/2026-10-20.md +++ b/docs/releases/2026-10-20.md @@ -124,3 +124,53 @@ migrations), from commit `35b88d5` (= `main`). - **Gateway check:** `POST /rest/v1/rpc/submit_event_feedback` with the anon key and no JWT → `P0001 "not authenticated"` — route, grant and auth gate all live through Kong exactly as before. + +--- + +# Follow-up: session language tag deployed (2026-10-21) + +## What + +Sabrina's backlog feature — a per-session **`language`** tag imported from +Sessionize (via a session category titled "Language") or the Excel import — +shipped to production from commit `6ed249f` (branch `cline/11b6c`). Design, +organizer precondition and test detail: [../next-steps.md](../next-steps.md) +("Session language tag — ✅ complete"). + +## Deployment + +**Deployed to production 2026-10-21 00:12 CEST** (migration + sidecar + both +frontends). + +- **Baseline guard:** all eight shipped runtime files md5-identical between the + VM and the pre-change commit; the three functions the migration replaces + (`get_agenda`, `sync_sessionize_event`, `sync_sessionize_excel`) were dumped + from the live prod DB and diffed against the migration's expectations — the + only difference after applying is the language handling (and after the apply, + prod function definitions are byte-identical to the local tested ones). +- **Backup** `/home/APPE/convivo-backups/szlang-20261020T211211Z` (0700): + full `postgres.dump`, before/after counts, md5 manifests, migration output, + function ACLs. Rollback tags `convivo-{app,admin,sidecar}:rollback-szlang-20261020T211211Z`. +- **Migration** `20261021090000_session_language.sql` applied with + `psql -1 -v ON_ERROR_STOP=1`; PostgREST schema cache reloaded. Counts + unchanged before/after (120/115/32/654/0). +- **Images:** `convivo-app`, `convivo-admin`, `convivo-sidecar` rebuilt + (new bundles `index-BeolCmUg.js` attendee — contains "All languages" + the + 🌐 pill — and `index-H78RjZbM.js` admin); all three healthy; every other + container untouched. +- **Live smokes:** `get_agenda` through Kong returns `language` on all 32 rows + (all null — the organizer has not defined the category yet, exactly the + designed idle state). A real `POST /run` against the active event exercised + the NEW sidecar transform end-to-end on the **gridsmart** source: + `status=success`, 30 sessions updated, 0 errors, and `level=22 area=22` + counts preserved via the coalesce upsert — the no-erase rule proven on prod + data. `https://convivo.appe.at` + `https://admin.appe.at` → 200. + +## Notes + +- The active event's sessionize endpoint is currently a **GridSmart** feed, not + Sessionize. The language column therefore stays null until either (a) the + organizer enables a "Language" category on a Sessionize endpoint, or (b) an + Excel with a Language column is imported. Both paths are live. +- `supabase/seed.sql` and the new test files were **not** copied to the VM + (repo-only, consistent with prior deploys).