docs(release): material time-lock deploy record + private-bucket docs

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-21 19:01:40 +02:00
1 parent a8f3f5b8e1
commit ea1ed87fc9
2 files changed
+43 -1

No files matched your search

+7 -1
View File
@@ -10,7 +10,13 @@ Convivo runs locally for development and on the production VM at
> **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 deploy **2026-10-21** ([record](./releases/2026-10-20.md#followup-session-language-tag-deployed-2026-10-21)): > Last deploy **2026-10-21** ([record](./releases/2026-10-20.md#follow-up-3-material-downloads-unlock-at-the-session-end-deployed-2026-10-21-1705-utc--1905-cest)):
> served bundles `index-B-Aa8hmK.js` (admin) and `index-BQpxRhdq.js` (attendee);
> migration `20261021180000` applied (**materials bucket now private** —
> downloads unlock at session end); backup
> `/home/APPE/convivo-backups/matlock-20261021T165913Z`; rollback tags
> `convivo-{app,admin}:rollback-matlock-20261021T165913Z`. The previous 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); > served bundles `index-H78RjZbM.js` (admin) and `index-BeolCmUg.js` (attendee);
> migration `20261021090000` applied (sessions.language); sidecar rebuilt; > migration `20261021090000` applied (sessions.language); sidecar rebuilt;
> backup `/home/APPE/convivo-backups/szlang-20261020T211211Z`; rollback tags > backup `/home/APPE/convivo-backups/szlang-20261020T211211Z`; rollback tags
+36
View File
@@ -175,6 +175,42 @@ frontends).
- `supabase/seed.sql` and the new test files were **not** copied to the VM - `supabase/seed.sql` and the new test files were **not** copied to the VM
(repo-only, consistent with prior deploys). (repo-only, consistent with prior deploys).
# Follow-up 3: material downloads unlock at the session end (deployed 2026-10-21 17:05 UTC / 19:05 CEST)
Product rule: attendees must always see that a speaker uploaded material, but
the download is locked until the session's scheduled end (no mid-session slide
distraction); afterwards **everyone** can download — purely time-based,
attendance not required. Commit `d4e4637`. Full design in
[../next-steps.md](../next-steps.md) ("Material downloads unlock at the
session end"). **Migration + both frontend images** (no sidecar change).
- **Baseline guard:** all seven runtime files md5-identical between the VM and
`a2b8760` before transfer; pushed files md5-verified on the VM.
- **Backup** `/home/APPE/convivo-backups/matlock-20261021T165913Z` (0700):
`postgres.dump`, before/after counts, source md5, migration output, build
log, policy def, container status. Rollback tags
`convivo-{app,admin}:rollback-matlock-20261021T165913Z`.
- **Migration** `20261021180000_material_time_lock.sql` applied
`psql -1 -v ON_ERROR_STOP=1`; storage container restarted for bucket-cache
safety; PostgREST reloaded. Count diff: **only** `materials_public
true→false` — every data count identical (32/120/115/1).
- **Images:** `convivo-app` (new bundle `index-BQpxRhdq.js`) and
`convivo-admin` (`index-B-Aa8hmK.js`) rebuilt; healthy; nothing else touched.
- **Live verification on the REAL prod deck**
(`sessions/eee91262…/1789055525728-Harder_Better_Faster_Stronger_-_ShiftEnter_2026.pptx`,
session of the Oct 23–24 event, so locked):
- `/storage/v1/object/public/...` → **HTTP 400** (public access dead).
- Random authenticated attendee (JWT impersonation in-DB) → **0 rows** visible.
- Admin contact → **1 row** visible (bypass works).
- `session_material_unlocked(deck-session)` → `false` (event hasn't run yet);
time-based unlock, speaker bypass and anon exclusion are covered by the
12-assertion `material_time_lock_tests.sql` suite (12/12, run post-reset).
- Sites `convivo`/`admin` → 200; sidecar `/health` → 200.
- **Note:** the prod deck's session currently has no `session_speakers` rows
(material was attached without an assignment), so its speakers see nothing
until the end like everyone else — admins can always retrieve. Speakers
listed via the portal (assignment + registration) always bypass.
# Follow-up 2: service sessions forced to English (deployed 2026-10-21 23:45 CEST) # 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 Product rule: sessions in `service_session` slots are always delivered in