Skip to content

fix(notifier): handle string provision_message_body to prevent empty email body#3459

Merged
aleixhub merged 1 commit into
mainfrom
fix/notifier-provision-message-body-string-handling
Jul 1, 2026
Merged

fix(notifier): handle string provision_message_body to prevent empty email body#3459
aleixhub merged 1 commit into
mainfrom
fix/notifier-provision-message-body-string-handling

Conversation

@aleixhub

@aleixhub aleixhub commented Jul 1, 2026

Copy link
Copy Markdown
Contributor

When provision_message_body is a string (e.g. '[]') instead of a list, list.extend() iterates over its characters, producing ['[', ']'] which short-circuits the normal template rendering and shows empty brackets in the service-ready email. Parse strings as JSON and filter out empty entries so the email falls through to the provision_messages template.

…email body

When provision_message_body is a string (e.g. '[]') instead of a list,
list.extend() iterates over its characters, producing ['[', ']'] which
short-circuits the normal template rendering and shows empty brackets
in the service-ready email. Parse strings as JSON and filter out empty
entries so the email falls through to the provision_messages template.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@aleixhub aleixhub merged commit 195b675 into main Jul 1, 2026
18 checks passed
@aleixhub aleixhub deleted the fix/notifier-provision-message-body-string-handling branch July 1, 2026 09:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant