Skip to content

feat: add MAP_SHARE_CANCELED error for declining canceled shares#39

Merged
gmaclennan merged 2 commits intomainfrom
fix/decline-canceled
Mar 25, 2026
Merged

feat: add MAP_SHARE_CANCELED error for declining canceled shares#39
gmaclennan merged 2 commits intomainfrom
fix/decline-canceled

Conversation

@gmaclennan
Copy link
Member

When a receiver tries to decline a share that the sender already canceled, return a specific MAP_SHARE_CANCELED (409) error instead of the generic DECLINE_SHARE_NOT_PENDING, so the client can distinguish cancellation from other non-pending states.

When a receiver tries to decline a share that the sender already
canceled, return a specific MAP_SHARE_CANCELED (409) error instead
of the generic DECLINE_SHARE_NOT_PENDING, so the client can
distinguish cancellation from other non-pending states.
@gmaclennan gmaclennan self-assigned this Mar 25, 2026
@gmaclennan gmaclennan merged commit ed3ef30 into main Mar 25, 2026
12 checks passed
@gmaclennan gmaclennan deleted the fix/decline-canceled branch March 25, 2026 08:43
@codecov
Copy link

codecov bot commented Mar 25, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 0.00%. Comparing base (facf030) to head (0cda79f).
⚠️ Report is 1 commits behind head on main.

Additional details and impacted files
@@    Coverage Diff     @@
##   main   #39   +/-   ##
==========================
==========================

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant