docs(release): record the staff-auto-connect + event-feedback-points production deploy
This commit is contained in:
1 parent
35b88d50ca
commit
f1cc926d8b
3 files changed
+51
-11
No files matched your search
@@ -1,8 +1,9 @@
|
||||
# Staff Auto-Connect, Points Hygiene, Leaderboard Privacy (2026-10-20)
|
||||
|
||||
Three user-requested changes, one migration:
|
||||
`20261020120000_staff_auto_connections.sql` (applied to the local stack,
|
||||
**pending production**).
|
||||
Three user-requested changes, two migrations:
|
||||
`20261020120000_staff_auto_connections.sql` and
|
||||
`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
|
||||
|
||||
@@ -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
|
||||
[../backend/tests.md](../backend/tests.md)); the backend guarantee is what
|
||||
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.
|
||||
@@ -10,7 +10,7 @@ appended, so the record shows what was believed and when it was fixed.
|
||||
|
||||
| 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-18](./2026-10-18.md) | Badge print queue on the Pi stations |
|
||||
| [2026-10-17](./2026-10-17.md) | Reports + event feedback work |
|
||||
|
||||
Reference in new issue
Block a user