fix: preserve week-long sessions and add profile mascot

This commit is contained in:
Lago committed 2026-10-10 20:40:42 +02:00
1 parent 4e71e9b797
commit 40f24cf5f7
18 files changed
+240 -25

No files matched your search

+18
View File
@@ -1,3 +1,21 @@
# Session Persistence Regression
Run the rollback-only fixture after applying
`20261010183614_preserve_sessions_on_unchanged_ticket`:
```sh
docker exec -i supabase_db_Convivo psql -X -U postgres -d postgres \
-v ON_ERROR_STOP=1 < supabase/tests/session_persistence_tests.sql
```
It verifies unchanged repeated imports preserve the existing password hash and
session, changed ticket passwords revoke sessions, and admin password precedence
survives ticket changes. No fixture accounts remain after rollback.
The production Auth policy was additionally verified with a disposable confirmed
test account: actual refresh succeeded at six days, failed after the seven-day
lifetime, and failed after eight-day inactivity. Cleanup removed the test account;
no real email was sent. See [release record](../releases/2026-10-10.md#follow-up-deployments).
# Backend — RPC Test Suite
A self-contained, idempotent test suite for the transactional points RPCs, role