Skip to content

mailsec: honor banner action wire contract - #347

Merged
maximelb merged 1 commit into
masterfrom
p0/mailsec-banner-action
Aug 29, 2026
Merged

mailsec: honor banner action wire contract#347
maximelb merged 1 commit into
masterfrom
p0/mailsec-banner-action

Conversation

@maximelb

Copy link
Copy Markdown
Contributor

Summary

  • send banner HTML using the public gateway's banner_html field
  • advertise the collector's supported banner_message and unbanner_message action names
  • lock the exact public request body with a regression test

Why

The Python client advertised apply_banner / remove_banner and sent HTML under banner. The public API forwards banner_html, while mailsec accepts banner_message / unbanner_message, so a live P0 capability check through the supported public route could not exercise the provider implementation correctly.

Validation

  • focused mailsec SDK/CLI tests: 26 passed
  • complete unit suite: 3869 passed, 19 skipped
  • python -m compileall -q limacharlie
  • git diff --check

No deployment or live provider mutation was performed.

@maximelb
maximelb merged commit 498c0e2 into master Aug 29, 2026
6 checks passed
@maximelb
maximelb deleted the p0/mailsec-banner-action branch August 29, 2026 15:33
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.

2 participants