fix(restic): Shorter ntfy body within length limit #403

Merged
saibotk merged 1 commit from fix-restic-notification-length into main 2025-10-04 20:35:01 +02:00
Owner

Ntfy has a maximum of 4096 bytes for the message content [0].
We now do not add the stderr output to the message.
This ensures that the message can always be delivered and also does not randomly expose uncontrolled information via notifications.

0: https://docs.ntfy.sh/publish/?h=limi#limitations

Ntfy has a maximum of 4096 bytes for the message content [0]. We now do not add the stderr output to the message. This ensures that the message can always be delivered and also does not randomly expose uncontrolled information via notifications. 0: https://docs.ntfy.sh/publish/?h=limi#limitations
saibotk self-assigned this 2025-10-04 20:05:11 +02:00
fix(restic): Shorter ntfy body within length limit
Some checks failed
ci/woodpecker/pr/ansible-lint Pipeline failed
a53849dbee
Ntfy has a maximum of 4096 bytes for the message content [0].
We now do not add the stderr output to the message.
This ensures that the message can always be delivered and also does not randomly expose uncontrolled information via notifications.

0: https://docs.ntfy.sh/publish/?h=limi#limitations
requested review from histalek 2025-10-04 20:05:12 +02:00
saibotk force-pushed fix-restic-notification-length from a53849dbee to b9eb816ca9 2025-10-04 20:05:38 +02:00 Compare
histalek approved these changes 2025-10-04 20:31:23 +02:00
histalek left a comment
Owner

LGTM

LGTM
saibotk deleted branch fix-restic-notification-length 2025-10-04 20:35:01 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
2 participants
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: SipsOfCode/infrastructure#403
No description provided.