Skip to content

fix: use transaction id in reset response#1767

Merged
loucass003 merged 2 commits intoSlimeVR:mainfrom
notpeelz:fix-reset-resp-tx-id
Apr 16, 2026
Merged

fix: use transaction id in reset response#1767
loucass003 merged 2 commits intoSlimeVR:mainfrom
notpeelz:fix-reset-resp-tx-id

Conversation

@notpeelz
Copy link
Copy Markdown
Contributor

Changes the reset response to use the transaction id of the request, for use in solarxr-cli.

The use case is for implementing a blocking mode (--wait option) in solarxr-cli reset <type>.
This is especially useful for chaining commands, eg:

solarxr-cli reset --delay 3 --wait full && notify-send "Full reset done"

solarxr-cli branch: https://github.com/notpeelz/solarxr-cli/tree/feat-reset-transaction

@github-actions github-actions Bot added the Area: Server Related to the server label Feb 28, 2026
Copy link
Copy Markdown
Member

@ButterscotchV ButterscotchV left a comment

Choose a reason for hiding this comment

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

Looks fine besides this overload weirdness, seems to be a continuation of #1527.

Comment thread server/core/src/main/java/dev/slimevr/protocol/rpc/RPCHandler.kt
@notpeelz notpeelz force-pushed the fix-reset-resp-tx-id branch from 93d21c6 to 8a35de4 Compare April 4, 2026 20:08
@loucass003 loucass003 merged commit 96b544f into SlimeVR:main Apr 16, 2026
12 checks passed
@notpeelz notpeelz deleted the fix-reset-resp-tx-id branch April 23, 2026 20:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area: Server Related to the server

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants