fix(web): log settingsupdate validation/apply failures server-side #68

Merged
David merged 1 commit from fix/VS-44-log-settingsupdate-failures into main 2026-06-21 18:27:08 +02:00
Owner

A failed settingsupdate control action folded its error into the client ack but wrote nothing to the server log, so the failure was invisible in docker logs. Emit a warn! naming the section and reason in the ControlIn::SettingsUpdate Err arm, and a debug! for the not-authorized rejection. The value payload is never logged (it can carry secrets such as fetch token / HTTP-auth password); only the secret-free section and apply_* error string are logged. Ack behavior is unchanged.

#VS-44

A failed `settingsupdate` control action folded its error into the client ack but wrote nothing to the server log, so the failure was invisible in `docker logs`. Emit a `warn!` naming the section and reason in the `ControlIn::SettingsUpdate` Err arm, and a `debug!` for the `not-authorized` rejection. The `value` payload is never logged (it can carry secrets such as fetch `token` / HTTP-auth `password`); only the secret-free `section` and `apply_*` error string are logged. Ack behavior is unchanged. #VS-44
fix(web): log settingsupdate validation/apply failures server-side
All checks were successful
Check / fmt + clippy + build + tests (pull_request) Successful in 2m3s
Create release / Create release from merged PR (pull_request) Has been skipped
6d2cf229d8
A failed `settingsupdate` control action folded its error into the client ack but wrote nothing to the server log, so the failure was invisible in `docker logs`. Emit a `warn!` naming the section and reason in the `ControlIn::SettingsUpdate` Err arm, and a `debug!` for the `not-authorized` rejection. The `value` payload is never logged (it can carry secrets such as fetch `token` / HTTP-auth `password`); only the secret-free `section` and `apply_*` error string are logged. Ack behavior is unchanged.

#VS-44
David merged commit 58765c3aad into main 2026-06-21 18:27:08 +02:00
David deleted branch fix/VS-44-log-settingsupdate-failures 2026-06-21 18:27:08 +02: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
psa-systems/vervain-server!68
No description provided.