Files
Convivo/docs/releases/2026-10-10.md
T
fbc827c2b8 feat: finalize ticket merging and speaker-aware imports
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]>
2026-10-10 13:28:18 +02:00

99 lines
5.6 KiB
Markdown

# Release: 2026-10-10
## Changes
- Attendee entry accepts an existing administrator's email and requests an
existing-user-only magic link. The callback verifies the user and server-side
admin rule; an event ticket is not required for this entry. Exact callback
allowlisting and token scrubbing are retained. See
[screens](../frontend/screens.md) and [API client](../frontend/api-client.md).
- Excel import accepts explicit service-session sheets and marked ID-less
service rows with stable generated identities. The supplied workbook has no
service rows, so these cannot be inferred from it. See
[sidecar import formats](../backend/sidecar.md).
- Registration totals exclude blank QR tokens. Check-in toggles update
immediately and restore the old value on failure. Imported unticketed rows
offer an explicit merge into a purchased ticket, with name-ranked suggestions
and manual selection. Assignments transfer before source deletion. Ticket QR,
points and check-in are preserved; contacts, Auth users and other events remain.
Import replay resolves the persistent mapping. See
[Admin](../frontend/admin-app.md) and [RPC contracts](../backend/rpcs.md).
- Assigned speakers cannot be downgraded to attendee by later Pretix imports.
Exact email and regular-session assignment in the same event determine the
promotion. Both import orders are supported; staff/sponsor precedence remains.
Service-only and other-event links do not promote attendees. Twelve incorrectly
classified production registrations were reconciled, including Martin P Lopez.
- Removed all fifty fabricated attendee seed accounts, identities, contacts,
registrations and artificial points entries. Staff and schedule seeds remain
unchanged. Existing accounts are not deleted by editing the seed. See
[seed data](../backend/seed.md).
- Production magic-link mail now uses Brevo STARTTLS on port 587 with From
`[email protected]`. Credentials remain outside Git. TLS and authentication
were verified without sending email; inbox delivery is not proven by that
check. See [SMTP configuration](../backend/supabase-core.md).
## Migrations
All three migrations were applied in production with migration-ledger entries:
- `20261010093021_admin_magic_link_eligibility`
- `20261010102828_registration_ticket_merge`
- `20261010111607_preserve_assigned_speaker_role`
Reapply neither installed migrations nor the seed during a redeployment. The
seed is a future-initialization fixture, not a production cleanup procedure.
## Deployment
Production runs at https://convivo.appe.at and https://admin.appe.at. The VM is a
flat-copy workspace without Git and predates some unrelated local Reports code.
Deploy scoped source changes against the actual VM baseline, never overwrite
shared API/server files wholesale. Preserve private runtime dotenv/config files,
Auth signing/issuer settings and database volumes. Rebuild only the requested
application services; do not restart the core or run resets/imports/email tests.
Private database/source/config backups exist under
`/home/APPE/convivo-backups/`, including:
- `entry-20261010T094841Z`: admin-email entry and service parser.
- `brevo-20261010T102723Z`: SMTP activation and Auth rollback container.
- `registration-20261010T110534Z`: toggle/merge and migration.
- `speaker-role-20261010T111804Z`: assigned-speaker reconciliation.
- `release-20261010T112631Z`: final app-only rebuild, database/source backup,
rollback image tags and private preservation checks.
The final redeployment completed successfully. It rebuilt
the three app images from their verified VM source, and copied this release's
nonsecret documentation, migration sources and revised seed without executing it.
Use the saved image tags/source archive for application rollback. Database
rollback requires reviewing concurrent changes; never restore a production dump
blindly or remove a merge mapping after users have merged real tickets.
## Verification
- Attendee/Admin builds, browser-test TypeScript, and generated-workbook parser
tests pass locally.
- Mocked browser tests cover admin email entry, eligibility, callback handling,
immediate check-in feedback, rollback, merge suggestions, selection, cancel
and retry. All 35 tests pass against the final production bundles with API mocks.
- Rollback-only SQL tests cover admin eligibility, atomic ticket transfers,
source activity rejection, role priority, event isolation, Excel/API replay,
and Pretix/Excel speaker-role persistence. See [commands](../backend/tests.md).
- Production migration checks retained ticket/activity fields and speaker links;
speaker reconciliation changed only the expected role fields.
- Final redeployment retained every core container ID/start time and the counts
of registrations, contacts, speaker assignments, Auth users, sessions and
storage objects. All three rollback-only SQL suites and nine isolated-image
parser tests passed after rebuilding.
- Public roots, callbacks, assets, sidecar and Auth health are checked after
redeployment. No real email send, import or ticket merge is needed to verify
deployment. Shared authenticated-browser inspection was unavailable; API-mocked
browser tests and direct production checks were used instead.
## Credential Handling
The private SMTP instructions are ignored by Git. Earlier diagnostic output
exposed the SMTP credential; rotation remains required and has not been performed.
Never print credential-bearing deployment documents, environment dumps or Auth
container inspection data. Commit only allowlisted source/docs/tests/config
references, not runtime credentials or private backup artifacts.