Fit Owner roster receipts within the existing audit field #634

Merged
unimatrix merged 1 commit from dev/MC:fix/owner-roster-audit-size-20261129 into main 2026-11-29 20:41:40 +01:00
Owner

The first live Owner roster operation reached its final audit insert and was rejected because account_audit.details is VARCHAR(500). The single transaction rolled back all four memberships; a read-only query confirmed both players still have zero clan/company memberships and no operation receipt exists.

Store a fixed-size input-hash receipt and separate bounded per-target audit entries, retaining complete input in the private saved plan. Preserve the existing schema, original acceptance checks, transaction, request ID and roster behavior. No manual data workaround or schema widening.

Validation: 15 focused tests and website build pass. Fixtures now enforce the actual production 500-character bound; an additional ten-player/max-username case checks every audit record and replay. Full local suite is running; exact Linux CI and canonical publication required before retrying the same operation.

The first live Owner roster operation reached its final audit insert and was rejected because account_audit.details is VARCHAR(500). The single transaction rolled back all four memberships; a read-only query confirmed both players still have zero clan/company memberships and no operation receipt exists. Store a fixed-size input-hash receipt and separate bounded per-target audit entries, retaining complete input in the private saved plan. Preserve the existing schema, original acceptance checks, transaction, request ID and roster behavior. No manual data workaround or schema widening. Validation: 15 focused tests and website build pass. Fixtures now enforce the actual production 500-character bound; an additional ten-player/max-username case checks every audit record and replay. Full local suite is running; exact Linux CI and canonical publication required before retrying the same operation.
Keep roster audits within the existing production column bound
All checks were successful
DuneRealms Web CI / web (push) Successful in 3m37s
ebb1ac3586
Sign in to join this conversation.
No reviewers
No labels
status/accepted
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
unimatrix/web!634
No description provided.