docs: seed drift, pretix skip observability, new-suite run books, current-state refresh

tests.md: new 'Full E2E Suite Status' opener -- suite is NOT green (213/42,
2026-10-19, exit 1); the pipe-through-tail trap that produced two false '0
failed' records; seed-drift mechanism (config.ts identities gone, reset.ts
UPDATE-only no-ops, logins hang); 11 failing families; admin-schedule
exonerated by the reverted-Schedule.tsx check; fix direction (upsert demo
identities, self-provision new specs). Four new run sections: llm-connection
(three-state verdict), tooltip containment (mutation-validated provenance),
CONV-MATERIAL-005 (self-contained fixture pattern), corrected counts
(sidecar 35, checkin-points 4).

pretix.md: 'Positions that never become registrations' -- the email+name
guard, the 118->115 grouping on production numbers, and the anonymous-Skipped
gap (QRJZN case study, sync_runs.skipped never sees client-side drops).

next-steps.md: new 'Known work (open as of 2026-10-19)' section (seed drift,
skip observability, QRJZN operator action); stale cross-cutting items marked
done (subdomains live, printing shipped after the 'skipped by decision'
note, testing exists); Open decisions cleared; current-state blockquote
extended through the 2026-10-19 round.
This commit is contained in:
Lago committed 2026-10-19 22:39:23 +02:00
1 parent d24f0ebb88
commit b7c2abb73b
3 files changed
+227 -22

No files matched your search

+44 -16
View File
@@ -53,10 +53,17 @@ current phase.
> quick action deep-links into it), a new APPE Admin **Reports** view with an
> on-screen post-event summary + session-feedback summary and CSV / Excel / PDF
> export served by a new sidecar `POST /export` endpoint, and a per-session
> aggregate header in the Activity session-feedback tab).
> Remaining work is cross-cutting (deployment, testing, and the ticket/Pretix
> sync that will consume the speaker links by email). **Badge printing was
> evaluated and skipped by decision** (no printing feature was built).
> aggregate header in the Activity session-feedback tab), and — since that
> paragraph was written — **production deployment** (`appe.at` subdomains, TLS,
> NPM), **Pretix ticket sync** (every-minute sidecar import; it superseded the
> seed attendees), **badge printing** (the earlier "evaluated and skipped"
> decision was reversed — pgmq queue + Pi stations, see
> [backend/printing.md](./backend/printing.md)), and the **2026-10-19 round**
> (welcome check-in +10 + restore-on-toggle + visible staff exclusion, Sessions
> view with bulk AI summaries, silent admin refresh, `POST /llm-test` connection
> validation, tooltip viewport containment, pending-material deep link; deployed
> — [releases/2026-10-19.md](releases/2026-10-19.md)).
> Remaining work is listed under **Known work** below.
## Done
@@ -548,25 +555,46 @@ printing was evaluated and skipped by decision** — no printing feature was bui
- **Activity → Session feedback** gains a compact **per-session aggregate
header** (average + count per session).
## Known work (open as of 2026-10-19)
- **E2E seed drift — 42 specs currently red.** The pretix reseed removed the
demo identities `e2e/src/helpers/config.ts` hardcodes, and
`e2e/src/helpers/reset.ts` only **updates** those rows (a no-op against
missing contacts), so every login-based spec hangs until timeout. Fix: make
`reset.ts` **upsert** the demo contacts / registrations / auth users the way
`ensureSponsor` and the newer self-provisioning specs
(`checkin-points.spec.ts`, `CONV-MATERIAL-005`) already do; new real-backend
specs should provision their own fixtures. Full diagnosis + the failing-family
list in [backend/tests.md](./backend/tests.md#full-e2e-suite-status).
- **Pretix skipped positions are anonymous.** The dialog and sidecar log report
only a **count**; which order was skipped and which field (email/name) was
missing is nowhere, and `sync_runs.skipped` never sees it (the drop is
client-side). Log + surface order code, item and missing field; decide whether
organiser-held €0 tickets without an attendee name need explicit handling
instead of a skip. Details in
[backend/pretix.md](./backend/pretix.md#positions-that-never-become-registrations).
- **Operator action, no deploy:** pretix order `QRJZN` (paid, €0.00, no attendee
name) needs its name filled in pretix; the every-minute sync imports it
automatically afterwards. Until then that paid ticket has no registration and
its holder cannot enter the app.
## Cross-cutting / later
- **Subdomains** — `convivo.appe.at`, `admin.appe.at`, `db.appe.at` don't exist
yet; everything is on localhost. DNS + TLS + a reverse proxy in front of the
Supabase core will be needed for a real deployment. The target VM and its
access credentials are documented in [deployment.md](./deployment.md).
- **Subdomains** — done: `convivo.appe.at` and `admin.appe.at` are live behind
Nginx Proxy Manager with TLS; `db.appe.at` remains reserved and unused. Access
+ evidence in [deployment.md](./deployment.md).
- **Push notifications** — connection requests are currently seen when the app
is opened. (Out of scope for v1.)
- **Testing** — no automated tests yet. Candidates: RPC unit tests (points
idempotency, role guards), and an E2E smoke test (login → check-in →
leaderboard).
- **Testing** — done: SQL RPC suites, sidecar unit tests and a 31-file
Playwright suite exist ([backend/tests.md](./backend/tests.md)); what remains
is the seed-drift repair above.
## Open decisions (need user input)
**Still open:**
1. **AI provider** — which LLM/API for `ai_generated_feedback` (the admin
"Evaluate" button is still a stub).
4. **Deployment target** — stay on localhost, or plan for the `appe.at`
subdomains now?
None open. Formerly listed here and now resolved: the AI provider (an
admin-configured OpenAI-compatible endpoint, live at `ai.lago.dev`, see
[backend/feedback-ai.md](./backend/feedback-ai.md)) and the deployment target
(the `appe.at` VM, see [deployment.md](./deployment.md)).
## How to pick up work