Skip to content

fix(glue): distinguish dropped actor from no proposal - #4525

Open
pekkahcut wants to merge 1 commit into
commonwarexyz:mainfrom
pekkahcut:fix-stateful-propose-closed-mailbox
Open

fix(glue): distinguish dropped actor from no proposal#4525
pekkahcut wants to merge 1 commit into
commonwarexyz:mainfrom
pekkahcut:fix-stateful-propose-closed-mailbox

Conversation

@pekkahcut

Copy link
Copy Markdown

Summary

Mailbox::propose() converted a dropped response channel into None, making a stopped stateful actor indistinguishable from an application intentionally producing no proposal.

Propagate the dropped actor failure instead, matching the behavior already used by verify().

Added a regression test covering proposal handling after the actor stops.

Tests

  • cargo test -p commonware-glue stateful::actor::core::processing -- --nocapture
  • git diff --check

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