Why it matters
Isolate thread/async pools per dependency to stop cascades.
Practical steps
- Draw the boundary for arch bulkheads: what belongs in the bot process vs a worker.
- Implement isolate thread/async pools per dependency to stop cascades behind a narrow interface so platforms can share it.
- Make arch bulkheads idempotent at the message/update id layer.
- Add contract tests between the adapter and the core for arch bulkheads.
- Document failure modes and ownership of arch bulkheads for on-call.
Watch out for
- Copy-pasting outdated snippets for arch bulkheads without re-reading current official docs.
- Shipping arch bulkheads to production without a staging rehearsal and a documented rollback.