feat(sessions): service sessions are always English

Both sync functions now force language='English' for sessions flagged
is_service_session (covers Sessionize, GridSmart and Excel paths); existing
service rows are backfilled by the migration. Regular sessions keep the
Language-category behavior unchanged. Seed mirrors the rule; test suite
extended (11 cases, all green).

Co-authored-by: Stephan Charles <[email protected]>
Co-authored-by: Amelia Hernandez <[email protected]>
Co-authored-by: Markus Franz <[email protected]>
Co-authored-by: Sabrina Hota <[email protected]>
Co-authored-by: Nilüfer Doğan <[email protected]>
This commit is contained in:
committed 2026-10-20 23:25:35 +02:00
1 parent 9c916b2f0e
commit bb55020350
3 files changed
+550 -2

No files matched your search

+4
View File
@@ -256,6 +256,10 @@ In this workshop, we’ll build a custom connector step by step for a simulated
update public.sessions set language = 'English'
where language is null
and slot_id in (select id from public.slots where type = 'session');
-- Service sessions are always English (sync enforces the same rule).
update public.sessions set language = 'English'
where language is distinct from 'English'
and slot_id in (select id from public.slots where type = 'service_session');
update public.sessions set language = 'German'
where title in ('Low Code, High Impact – warum Wirkung wichtiger ist als Code',
'Copilot Studio in der Praxis, Interne Chatbots mit Model Context Protocol für deinen Arbeitsalltag');