Skip to content

Conversation

@martinsander00
Copy link
Contributor

Summary

  • Fix process_closeaccount_multicastgroup to use DoubleZeroError::InvalidStatus instead of raw ProgramError::Custom(1) for the status check
  • Remove redundant publisher/subscriber count check from closeaccount — this is already enforced by DeleteMulticastGroup before the group reaches Deleting status
  • Add test_multicastgroup_deactivate_fails_when_not_deleting to verify deactivation is rejected with InvalidStatus when the group hasn't been deleted first

Testing Verification

  • Added new unit test that creates and activates a multicast group, then verifies deactivation fails with Custom(7) (InvalidStatus) when status is Activated instead of Deleting

Remove redundant publisher/subscriber count check from closeaccount
(already enforced by DeleteMulticastGroup) and use DoubleZeroError::InvalidStatus
instead of raw ProgramError::Custom(1) for the status check. Add test verifying
deactivation fails with InvalidStatus when group is not in Deleting status.
martinsander00 and others added 2 commits February 10, 2026 10:09
The Rust enum skips discriminant 2 (removed Suspended variant), but
the Go, Python, and TypeScript SDKs used sequential values 0-7. Fix
all three SDKs and the shared enum_strings.json fixture to use the
correct values: 0,1,3,4,5,6,7,8.
@martinsander00 martinsander00 merged commit d9fd6a9 into main Feb 10, 2026
29 checks passed
@martinsander00 martinsander00 deleted the ms/remove-check branch February 10, 2026 16:49
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.

2 participants