[test] Cover idempotent stream cancellation
Labels: testing, backend, points: 150 File/location: backend/src/controllers/stream/cancel.ts
Description: Repeated cancellation, concurrent cancellation, and already-completed streams lack route coverage.
Acceptance Criteria:
- [ ] Add deterministic tests for the documented success and failure paths, including boundary inputs and dependency failures.
- [ ] Run the new tests in the corresponding CI suite and assert the public behavior and error contract.
Notes: This is a focused regression gap for the cited module; it was not covered by the existing test files reviewed during the sweep.
@Onuello has applied to work on this issue as part of the Stellar Wave Program's 11th wave.
Hi maintainer, I can get this issue fixed quickly. Please assign it to me, thank you.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Onuello to this issue.
@Sajjadd-dev has applied to work on this issue as part of the Stellar Wave Program's 11th wave.
I’d love to take this one up. I understand the issue and have a clear approach to solving it. Happy to contribute.
ℹ️ Repo Maintainers: To accept this application, review their application or assign @Sajjadd-dev to this issue.
@mallison031 has applied to work on this issue as part of the Stellar Wave Program's 11th wave.
Hi maintainer, I can get this issue fixed quickly. Please assign it to me
ℹ️ Repo Maintainers: To accept this application, review their application or assign @mallison031 to this issue.
@worldlightonline1 has applied to work on this issue as part of the Stellar Wave Program's 11th wave.
I would love to take this, trust me with this, i will take on this
ℹ️ Repo Maintainers: To accept this application, review their application or assign @worldlightonline1 to this issue.
Congratulations, @mallison031! 🎉 Your application was accepted by the repo's maintainers, and the issue is due on November 25, 2026.
🧑💻 @mallison031: Please resolve the issue such that the repo's maintainers have enough time to review your contribution before the due date. You'll earn Points for completing the issue on-time, which will make you eligible for a share of the Stellar Wave Program's reward pool.
[!WARNING] When opening a PR, please link it to this issue to ensure it gets tracked accurately. Points are awarded when this issue is marked as completed by the maintainer.
🤠 Repo maintainers: Please keep an eye on the contributor's progress and review their work before the due date. You can manage this issue, including adjusting its complexity and points, here.
🌊 Happy Wave 🌊
🎉 This issue has been marked as completed on GrantFox!
@mallison031's PR #1938 was approved and merged by @K1NGD4VID.
🏆 @mallison031: You earned 35 FoxPoints for this contribution! Your current tier: Explorer (879 total points). Track your full progress on GrantFox.
👏 Great work, @mallison031! Keep contributing to LabsCrypt.
This issue has been completed by @mallison031 as part of the Stellar Wave Program's 11th Wave 🥳
😎 @mallison031: You earned 200 Points for completing this issue! Once the Wave's rewards are finalized, you'll be eligible for a percentage of the Wave's reward pool based on the percentage of total points you've earned. Learn more here. You can also Leave a review to share your experience working on this issue.
🧑💻 Repo maintainers: How'd the contributor do? Leave a review to share your experience working with them.