Commit ecd11fe
fix: unwrap CloudEvent envelope in ServiceBusStickerClaimedWorker
WithServiceBusTestCommands sends structured CloudEvents with ContentType
application/cloudevents+json, but the worker was deserializing the raw
body directly to StickerClaimedEventV1, missing the nested data field
and producing empty AccountId/StickerId values that dead-lettered.
Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>1 parent 19f3eff commit ecd11fe
1 file changed
Lines changed: 12 additions & 1 deletion
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
58 | | - | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
59 | 70 | | |
60 | 71 | | |
61 | 72 | | |
| |||
0 commit comments