feat(a2a-nats): add client tasks_cancel per-operation method - #339
Conversation
yordis
commented
Jun 18, 2026
- Per-op slice of the client handle: cancellation is the corollary to message/send for long-running tasks and shares the unary envelope.
Cancellation is the corollary to message/send for long-running tasks; keeping it on the shared unary path means typed TaskNotCancelable errors flow through the same envelope as the rest of the per-op surface. Signed-off-by: Yordis Prieto <yordis.prieto@gmail.com>
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
WalkthroughAdds Changestasks/cancel Operation
Estimated code review effort🎯 2 (Simple) | ⏱️ ~10 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
PR SummaryLow Risk Overview The method publishes to Unit tests mirror the other task ops: default agent subject, gateway routing, not-cancelable errors, and transport failures. Reviewed by Cursor Bugbot for commit e8ebafe. Bugbot is set up for automated code reviews on this repo. Configure here. |
Code Coverage SummaryDetailsDiff against mainResults for commit: e8ebafe Minimum allowed coverage is ♻️ This comment has been updated with latest results |