docs(release): record the staff-auto-connect + event-feedback-points production deploy

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 22:20:04 +02:00
1 parent 3ee91b5ad6
commit 07ee05e1cd
3 files changed
+51 -11

No files matched your search

+8 -7
View File
@@ -5,17 +5,18 @@ Convivo runs locally for development and on the production VM at
[backend/supabase-core.md](./backend/supabase-core.md) and [backend/supabase-core.md](./backend/supabase-core.md) and
[backend/docker.md](./backend/docker.md) for service ownership. [backend/docker.md](./backend/docker.md) for service ownership.
## Production status (2026-10-07) ## Production status (2026-10-20)
> **This table and its evidence block describe the 2026-10-07 deploy** — its > **This table and its evidence block describe the 2026-10-07 deploy** — its
> bundle markers (`index-Gv3o7AW6.js` / `index-CocPCSGt.js`) were superseded many > bundle markers (`index-Gv3o7AW6.js` / `index-CocPCSGt.js`) were superseded many
> times since. Dated deployment evidence lives in [releases/](./releases/). > times since. Dated deployment evidence lives in [releases/](./releases/).
> Last full deploy **2026-10-19** ([release record](./releases/2026-10-19.md)): > Last full deploy **2026-10-20** ([release record](./releases/2026-10-20.md)):
> served bundles `index-CvbBKcXb.js` (admin) and `index-D4o4lQL7.js` (attendee), > served bundles `index-Bvxa-AGu.js` (admin) and `index-CI1zhQx2.js` (attendee);
> both md5-identical to clean local builds of `main`; migration > migrations `20261020120000` + `20261020130000` applied; backup
> `20261019160000` in the ledger; backup > `/home/APPE/convivo-backups/staffpts-20261020T201609Z`; rollback tags
> `/home/APPE/convivo-backups/pointsfix-20261019T181646Z`; rollback tags > `convivo-{app,admin}:rollback-staffpts-20261020T201609Z`. The previous full
> `convivo-{app,admin,sidecar}:rollback-pointsfix-20261019T181646Z`. > deploy 2026-10-19 ([record](./releases/2026-10-19.md)) served
> `index-CvbBKcXb.js`/`index-D4o4lQL7.js` with migration `20261019160000`.
| Public URL | Role | Verified result | | Public URL | Role | Verified result |
|---|---|---| |---|---|---|
+42 -3
View File
@@ -1,8 +1,9 @@
# Staff Auto-Connect, Points Hygiene, Leaderboard Privacy (2026-10-20) # Staff Auto-Connect, Points Hygiene, Leaderboard Privacy (2026-10-20)
Three user-requested changes, one migration: Three user-requested changes, two migrations:
`20261020120000_staff_auto_connections.sql` (applied to the local stack, `20261020120000_staff_auto_connections.sql` and
**pending production**). `20261020130000_event_feedback_points.sql` — applied to the local stack **and
deployed to production 2026-10-20** (evidence at the bottom).
## 1. Staff are automatically connected to everyone — never for points ## 1. Staff are automatically connected to everyone — never for points
@@ -85,3 +86,41 @@ previously showed the bare first name; rows leaked the full surname). The
rest of that file it still rides the known seed drift (see rest of that file it still rides the known seed drift (see
[../backend/tests.md](../backend/tests.md)); the backend guarantee is what [../backend/tests.md](../backend/tests.md)); the backend guarantee is what
the SQL suite covers. Runbook: [../backend/tests.md](../backend/tests.md). the SQL suite covers. Runbook: [../backend/tests.md](../backend/tests.md).
## Deployment
**Deployed to production 2026-10-20** (attendee app + admin console + both
migrations), from commit `35b88d5` (= `main`).
- **Baseline guard first:** all eight frontend files being shipped were
md5-identical between the VM source and `origin/main`, so whole-file copies
were safe; the prod stack was exactly at the 2026-10-19 deploy (bundles
`index-D4o4lQL7.js` / `index-CvbBKcXb.js`, `welcome_checkin` awarding +10).
One drift found and **left in place**: the VM's `supabase/tests/rpc_tests.sql`
differs from `main` (edited on the VM); it ships in no image — flagged, not
overwritten.
- **Backup** `/home/APPE/convivo-backups/staffpts-20261020T201609Z` (0700):
full `postgres.dump` (custom format), before/after count files, md5 manifest
of replaced sources. Rollback tags
`convivo-{app,admin}:rollback-staffpts-20261020T201609Z`.
- **Migrations** applied each in one `psql -1 -v ON_ERROR_STOP=1` transaction
(`supabase/migrations` copies kept on the VM). No ledger table exists in this
stack — this record is the ledger.
- **Backfill result:** `connections` = **654 auto / 0 manual**, exactly
6 staff × 109 eligible participants of the active event. `contacts` 120,
`registrations` 115, **`points_log` 0 — the backfill paid nobody**, which is
the point of the feature.
- **Live RPC smoke on prod, inside a rolled-back transaction** (probe contacts
via `request.jwt.claims`): first `submit_event_feedback` → `earned=5`,
points 0→5, one `points_log` row; re-submit edit → `earned=0`, points stay 5;
a `staff` registration → `earned=0`, points 0. After `ROLLBACK`: zero smoke
rows left in `contacts`/`points_log`/`connections`.
- **Images:** only `convivo-app` + `convivo-admin` rebuilt/recreated; sidecar,
Supabase core and every other container untouched (sidecar uptime
unbroken). New bundles `index-CI1zhQx2.js` (attendee, contains the
`Thanks! +N pts` toast) and `index-Bvxa-AGu.js` (admin, contains the
`auto` filters and the Registrations Points action); both HTTP 200 and
healthy.
- **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.
+1 -1
View File
@@ -10,7 +10,7 @@ appended, so the record shows what was believed and when it was fixed.
| Date | Contents | | Date | Contents |
|---|---| |---|---|
| [2026-10-20](./2026-10-20.md) | Staff auto-connected to everyone (never for points, `connections.auto`), points adjustment moved Contacts → Registrations with active-event guard, Dashboard top-points without emails, leaderboard names masked, event feedback pays +5 (session feedback confirmed +5/+10) — local stack applied, **production pending** | | [2026-10-20](./2026-10-20.md) | Staff auto-connected to everyone (never for points, `connections.auto`), points adjustment moved Contacts → Registrations with active-event guard, Dashboard top-points without emails, leaderboard names masked, event feedback pays +5 (session feedback confirmed +5/+10) — **deployed** |
| [2026-10-19](./2026-10-19.md) | Welcome-check-in confirmation + camera fixes; per-row check-in toggle, front-desk gate, badge copies — **deployed**; then points correctness (welcome +10, toggle restore, visible exclusions), Sessions view, AI connection test, silent refresh, tooltip containment, speaker pending-material deep link — **deployed**, incl. the corrected test numbers and the seed-drift diagnosis | | [2026-10-19](./2026-10-19.md) | Welcome-check-in confirmation + camera fixes; per-row check-in toggle, front-desk gate, badge copies — **deployed**; then points correctness (welcome +10, toggle restore, visible exclusions), Sessions view, AI connection test, silent refresh, tooltip containment, speaker pending-material deep link — **deployed**, incl. the corrected test numbers and the seed-drift diagnosis |
| [2026-10-18](./2026-10-18.md) | Badge print queue on the Pi stations | | [2026-10-18](./2026-10-18.md) | Badge print queue on the Pi stations |
| [2026-10-17](./2026-10-17.md) | Reports + event feedback work | | [2026-10-17](./2026-10-17.md) | Reports + event feedback work |