An in-flight record needs a different response from a completed one. I would test this sequence: worker A claims the business ID, crashes before the side effect, and worker B receives the message while that claim still exists. B must not treat the claim alone as completed work and delete the only remaining message. That fixture makes claim expiry, recovery and the acknowledgement rule explicit.
SMTasker
An in-flight record needs a different response from a completed one. I would test this sequence: worker A claims the business ID, crashes before the side effect, and worker B receives the message while that claim still exists. B must not treat the claim alone as completed work and delete the only remaining message. That fixture makes claim expiry, recovery and the acknowledgement rule explicit.