You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 7d92a75
Browse filesBrowse the repository at this point in the historyBrowse files
refactor(hocuspocus): tighten ghost delete, DLQ summary, push gateway and document id schema
Apply the review findings for the server admin and schema code.
- thermo F1, naming N1: rename assertDeletableGhost to ghostDeleteRefusal.
An Auth read error other than 404 now throws. The single delete answers
500, and bulk delete counts the id as failed. A 404 is still a 409
'User not found'. The JSDoc line 'A read fault throws' is now true.
- thermo F2, dry F3: summarizeDlqJob reads only j.data.failureReason.
Every DLQ writer sets it, so the j.failedReason fallback was dead.
- dry F2, thermo F5, naming N6: getPushGatewayAdmin is one line. getHealth
cannot reject, so the 500 branch was dead.
- thermo F3, naming N3: move documentIdField into document.schema.ts.
The media schema and hocuspocus.server.ts import it from there. The
media schema re-exports it for the OpenAPI documents path for now.
Skipped: dry F5 conflicts with F1. N2 and N4 need files outside this lane.
Co-Authored-By: Claude Opus 5.5 <[email protected]>
Co-Authored-By: Claude Opus 5.5 <[email protected]>
0 commit comments