docs(release): record service-sessions-English deploy + prod feed language discovery + stale-suite audit

This commit is contained in:
Lago committed 2026-10-21 00:03:14 +02:00
1 parent 6a3b70a330
commit a2b87602b4
3 files changed
+50 -3

No files matched your search

+31
View File
@@ -174,3 +174,34 @@ frontends).
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).
# Follow-up 2: service sessions forced to English (deployed 2026-10-21 23:45 CEST)
Product rule: sessions in `service_session` slots are always delivered in
English. Commit `1f4b9d2` — **database-only change, no image rebuilds**.
- **Migration** `20261021103000_service_language_english.sql`: both sync
functions force `language = 'English'` for `is_service_session` items (single
injection point after the language parse — byte-identical bodies otherwise,
proven by dumping the live prod definitions post-apply and diffing against
the local tested ones: identical) + backfill of existing service rows.
Applied `psql -1 -v ON_ERROR_STOP=1` → `UPDATE 10` (all 10 prod service
sessions), every other count unchanged (32/120/115/654/0).
- **Backup** `/home/APPE/convivo-backups/szeng-20261020T214520Z`: pg_dump,
before/after counts, source md5, function defs before/after, migration
output. No rollback tags needed (DB-only; the dump is the rollback).
- **Live verification:** real `POST /run` on the active event → success, and
afterwards service sessions are 10/10 English. `get_agenda` through Kong:
32 rows, `language` present on all, service rows all `English`, overall
distribution `Deutsch`/`English` — the **GridSmart feed turned out to carry
real per-session language values** overnight (12 English + 10 Deutsch
regular talks), so the feature is live on real data. Both sites → 200.
- **Test suites** (fresh `supabase db reset`): `session_language_tests.sql`
now 11/11 incl. three service cases. Full battery revealed **pre-existing
stale suites unrelated to language** (present since the 2026-10-20 features
or earlier, not re-run at the time): `leaderboard_tests.sql` (partially
fixed here: event-feedback +5 expectation + auto-connect pair collision;
one stale auto-connect points expectation remains), `assigned_speaker_role`
(missing service_role JWT setup), `delete_event_schedule` and
`registration_ticket_merge` (fixtures collide with seeded data),
`speaker_portal` (stale talk-set expectation). All others green.