Skip to content

Conversation

@alschastny
Copy link
Contributor

This is the last of the missing commands for redis streams (https://redis.io/docs/latest/commands/xsetid/). And although it is marked as internal in the documentation, sometimes I had to use it.

@alschastny alschastny requested a review from tillkruss as a code owner June 12, 2025 14:56
@vladvildanov
Copy link
Contributor

@alschastny The RESP2 test doesn't work with Relay, as Relay is RESP3 only and it returns already parsed response (associative array), we have to check if XINFO STREAM response is already associative array and does not apply parsing in this case

@alschastny
Copy link
Contributor Author

I decided to split the test into 2 methods, one working with relay, and a more advanced one that is not compatible with relay. I also found another bug in XINFO, I will send a PR with a fix soon.

@vladvildanov vladvildanov merged commit 33e1174 into predis:main Jun 16, 2025
39 of 41 checks passed
@coveralls
Copy link

Coverage Status

coverage: 92.773% (+0.02%) from 92.75%
when pulling 1d2a349 on alschastny:xsetid-command
into 1e390b1 on predis:main.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

4 participants