Skip to content

Conversation

slinkydeveloper
Copy link
Contributor

Updated mock service endpoint to use protocol V5

@slinkydeveloper
Copy link
Contributor Author

Tested locally too and it works fine

@slinkydeveloper slinkydeveloper added this to the 1.5 milestone Jul 25, 2025
@slinkydeveloper slinkydeveloper added the release-blocker Blocker for the next release label Jul 25, 2025
Copy link
Contributor

@tillrohrmann tillrohrmann left a comment

Choose a reason for hiding this comment

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

Thanks a lot for porting the mock service endpoint to service protocol v5 @slinkydeveloper. The changes look good to me and when trying it out it worked really well :-) Merging it now.

Entry::SetState(set) = set
);
Message::SetStateCommand(set_state_bytes) => {
let set = RawCommand::new(CommandType::SetState, set_state_bytes.clone()).decode::<ServiceProtocolV4Codec, SetStateCommand>()?;
set.value.clone()
Copy link
Contributor

Choose a reason for hiding this comment

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

We might not need .clone() here.

@tillrohrmann tillrohrmann force-pushed the mock-service-endpoint-protocol-v5 branch from 4439ea8 to f992b69 Compare July 29, 2025 13:51
@tillrohrmann tillrohrmann merged commit f992b69 into restatedev:main Jul 29, 2025
8 checks passed
@github-actions github-actions bot locked and limited conversation to collaborators Jul 29, 2025
@slinkydeveloper slinkydeveloper deleted the mock-service-endpoint-protocol-v5 branch July 30, 2025 08:50
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
release-blocker Blocker for the next release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants