ocm: log every refusal with status and reason (#454) #457

Merged
Cordy merged 2 commits from fix-454b-log into main 2026-09-09 20:44:58 +00:00
Owner

Refusal bodies go to the sender, which may swallow them (NC surfaces them only at debug level). Every OCM refusal now also lands in the instance log as WARN ocm refusal status=… reason=…; main sets the slog default so package-level warnings share the app log stream. TDD, red witnessed. Completes the #454 capture path — digest evidence appears in our own pod log on the next refused share.

Refusal bodies go to the sender, which may swallow them (NC surfaces them only at debug level). Every OCM refusal now also lands in the instance log as `WARN ocm refusal status=… reason=…`; main sets the slog default so package-level warnings share the app log stream. TDD, red witnessed. Completes the #454 capture path — digest evidence appears in our own pod log on the next refused share.
Cordy merged commit 5b2af8496c into main 2026-09-09 20:44:58 +00:00
Cordy deleted branch fix-454b-log 2026-09-09 20:44:59 +00:00
Sign in to join this conversation.
No reviewers
No labels
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: Cordy/Cairn#457
No description provided.