Skip to content

fix message-RTS clause of sync-rpc#57

Merged
karalekas merged 2 commits into
mainfrom
fixup/sync-rpc-rts
Sep 9, 2025
Merged

fix message-RTS clause of sync-rpc#57
karalekas merged 2 commits into
mainfrom
fixup/sync-rpc-rts

Conversation

@ecpeterson

Copy link
Copy Markdown
Contributor

On main, sync-rpc encountering a message-RTS causes it to set the returned? flag high and then exit the command, never passing control to the caller body to do anything with the flag. This bug has presumably been here since before we realized we needed to wrap the bodies of sync commands for use as a callback — so, 5 years or so.

I'm not sure this is the nicest possible fix. Certainly it doesn't work with all possible unpack lambda lists.

@ecpeterson

Copy link
Copy Markdown
Contributor Author

Closes #56 .

@karalekas
karalekas self-requested a review September 9, 2025 01:42

@karalekas karalekas left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

testing looks good, thanks for doing this

@karalekas karalekas changed the title fix message-RTS clause of sync-rpc fix message-RTS clause of sync-rpc Sep 9, 2025
@karalekas
karalekas merged commit c497427 into main Sep 9, 2025
1 check passed
@karalekas
karalekas deleted the fixup/sync-rpc-rts branch September 9, 2025 01:43
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