Commit 871ce82
committed
fix(webhook): patch Protocol gap, add Pg discoverability, fix vacuous test
- WebhookDeliverySupervisor Protocol was missing breaker_key and
notification_type kwargs that exist on InMemoryWebhookDeliverySupervisor;
typed call-sites against the Protocol were broken
- Re-export PgWebhookDeliverySupervisor from adcp.webhooks so it is
discoverable without knowing the internal module path
- test_log_insert_failure_does_not_crash_worker was passing vacuously
because fetchone on the log cursor was set to raise but _log_attempt_via_conn
never calls fetchone; fix by raising directly from conn.execute side-effect
- Remove dead _send inner function from test_warning_emitted_only_once
https://claude.ai/code/session_01DoCRKpgu6jrVNARmazguok1 parent bf55037 commit 871ce82
3 files changed
Lines changed: 8 additions & 12 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
214 | 214 | | |
215 | 215 | | |
216 | 216 | | |
| 217 | + | |
| 218 | + | |
217 | 219 | | |
218 | 220 | | |
219 | 221 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1157 | 1157 | | |
1158 | 1158 | | |
1159 | 1159 | | |
| 1160 | + | |
| 1161 | + | |
| 1162 | + | |
1160 | 1163 | | |
1161 | 1164 | | |
1162 | 1165 | | |
| |||
1193 | 1196 | | |
1194 | 1197 | | |
1195 | 1198 | | |
| 1199 | + | |
| 1200 | + | |
1196 | 1201 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
279 | 279 | | |
280 | 280 | | |
281 | 281 | | |
282 | | - | |
283 | | - | |
284 | | - | |
285 | | - | |
286 | | - | |
287 | | - | |
288 | | - | |
289 | | - | |
290 | | - | |
291 | 282 | | |
292 | 283 | | |
293 | 284 | | |
| |||
608 | 599 | | |
609 | 600 | | |
610 | 601 | | |
611 | | - | |
612 | | - | |
613 | 602 | | |
614 | 603 | | |
615 | | - | |
| 604 | + | |
616 | 605 | | |
617 | 606 | | |
618 | 607 | | |
| |||
0 commit comments