Pitfalls & Lessons Learned

A catalog of non-obvious problems met while building this SDK, many of them found by the dogfooding passes. Each entry documents a real issue and what to do instead. They apply as much to an agent, a custom store or a custom transport you write on top of the SDK as to the SDK itself.

PageRead it when you are
Serialization and validationDefining wire types, writing serde attributes, or validating what an executor emits
HTTP, streaming and transportsWorking with hyper bodies, SSE, WebSocket, gRPC, or a REST dispatcher
Async, cancellation and shutdownWriting executors, background tasks, locks, or shutdown paths
Security and resource limitsAccepting webhook URLs, bounding stores and caches, or building SQL
Pitfalls for contributorsWorking in this repository: Cargo workspaces, tests, mutation testing, matching CI
Fixed defectsLooking up a defect that has been fixed; kept as history

Next Steps