Skip to content

feat(webhooks)!: add nullable Basic Auth fields and safe read flags - #11

Merged
bjarn merged 1 commit into
mainfrom
codex/webhook-basic-auth
Oct 3, 2026
Merged

bjarn merged 1 commit into
mainfrom
codex/webhook-basic-auth

Conversation

@bjarn

@bjarn bjarn commented Oct 2, 2026

Copy link
Copy Markdown
Collaborator

Change

Add typed webhook Basic Auth credentials and required has_basic_auth read flags. Preserve omitted, set and explicit-null requests, including empty passwords. Redact credential Debug output. Bearer API authentication is unchanged.

Source

Fresh strict OpenAPI export from main bfabb708ead47ee31922a7ae772e3d6376ac2ea4 after backend PR https://github.com/lettermint/lettermint/pull/2578. Splitter: 7 tests pass, no skips. Both split outputs match the docs. No OpenAPI files are included.

Team SHA-256: e385c5f9b330633e943729ecb0e1b93fca96e84fecb2f111b3af8f0bafa0cc75
Sending SHA-256: c2aafb6d48a2572e688224629076748322f9c257394f18fe8879efb3f05059cb

Verification

28 integration tests and one compile-fail old-caller test pass. cargo fmt and clippy pass. Existing CursorPaginator, cancel return type, scheduling and signed webhook helpers remain.

Intentional source compatibility change

Old complete struct literals need the new basic_auth or has_basic_auth fields. The compile-fail test proves this break. Add basic_auth: None or use ..Default::default(). Set credentials with Some(Some(WebhookBasicAuthData { username, password })); use Some(None) to clear them, or None to retain them on update. Binary compatibility is not promised for Rust crate interfaces.

No merge, release or deployment was performed.

@bjarn
bjarn requested a review from a team as a code owner October 2, 2026 20:02
@bjarn bjarn changed the title feat(webhooks): add Basic Auth credentials and safe read flags feat(webhooks)!: add nullable Basic Auth fields and safe read flags Oct 2, 2026
@bjarn
bjarn merged commit 77f70f4 into main Oct 3, 2026
6 checks passed
@bjarn
bjarn deleted the codex/webhook-basic-auth branch October 3, 2026 07: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.

2 participants