Skip to content

fix: adapt on_run signature to rsactor 0.13.0 breaking change#16

Merged
hiking90 merged 1 commit intomainfrom
fix/rsactor-0.13-on-run-signature
Feb 7, 2026
Merged

fix: adapt on_run signature to rsactor 0.13.0 breaking change#16
hiking90 merged 1 commit intomainfrom
fix/rsactor-0.13-on-run-signature

Conversation

@hiking90
Copy link
Owner

@hiking90 hiking90 commented Feb 7, 2026

Summary

  • Adapt SocketService::on_run to rsactor 0.13.0 breaking API change: return type changed from Result<(), Self::Error> to Result<bool, Self::Error>
  • Return Ok(true) to maintain repeated on_run calls, preserving the existing behavior of continuously accepting socket connections

Test plan

  • cargo build succeeds
  • Verify socket service accepts multiple consecutive connections as before

🤖 Generated with Claude Code

@hiking90 hiking90 merged commit 27d7d31 into main Feb 7, 2026
10 checks passed
@hiking90 hiking90 deleted the fix/rsactor-0.13-on-run-signature branch February 8, 2026 10:08
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