Skip to content

Conversation

@ANISH-SR
Copy link
Contributor

@ANISH-SR ANISH-SR commented Jan 4, 2026

Summary of Changes

  • All Resume* processors (Location, Exchange, Contributor, Device, User, Link) now require status == Suspended, otherwise return DoubleZeroError::InvalidStatus.
  • process_resume_link already enforced the correct status check and was left unchanged.
  • Every resume integration test now asserts a second resume fails with Custom(7) (InvalidStatus).
  • Resume operations are now strictly single-use from Suspended, with tests validating both success and misuse.

Testing Verification

  • All rust checks green

Closes #2222

Signed-off-by: ANISH-SR <rawatanish08@gmail.com>
Signed-off-by: ANISH-SR <rawatanish08@gmail.com>
@juan-malbeclabs
Copy link
Contributor

The suspended status was removed from devices and links.

@juan-malbeclabs juan-malbeclabs enabled auto-merge (squash) January 12, 2026 17:43
Copy link
Contributor

@juan-malbeclabs juan-malbeclabs left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. No more Suspend on device & Link

@juan-malbeclabs juan-malbeclabs merged commit 12a4493 into malbeclabs:main Jan 14, 2026
21 checks passed
@ANISH-SR ANISH-SR deleted the suspended-status branch January 14, 2026 15:46
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.

In Resume{Location,Exchange,Contributor,Device,User}, verify that {location,exchange,contributor,device,user}.status == Suspended

2 participants