New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@draft/label tags and commands that never reply #391
Comments
Trying to summarize some discussion:
|
|
Assigning to @csmith to look into the spec change. |
Hmm. Maybe I'm misunderstanding the spec. From these two bits:
It sounds like the required response to, say:
is:
But Ora doesn't return anything to the client. I'll raise a ticket about introducing an ACK/NOOP in place of BATCH+/BATCH-, once I'm sure I'm not barking up the wrong tree :) |
Strange, we should be sending an empty batch in response to any incoming command so long as the client has the |
It sounds like the correct and optimal behavior is:
I'm going to propose this as a release blocker because it shouldn't be too invasive to fix and we want oragono to be usable as a reference implementation for draft specs. |
... my mistake. Yeah for sure |
Note to self: Make sure we gate the above behaviour on having a label for the responsebuffer. If they don't supply any labels we can just ignore the 0 messages in buffer case. |
@csmith I think we should still move forward with an ACK/NOOP spec extension; the 0-message case shouldn't be required to be more verbose than the 1-message case. With this extension, the correct and optimal behavior would be:
but sending a batch with 0, 1, or 2+ messages would still be correct. |
…atch See discussion on ergochat#391.
I've put up ircv3/ircv3-ideas#37 for the proposed spec change. If there's general consensus on the idea (or some variation of it) I'll look at implementing it in Ora post-1.0 |
Untagging 'release blocker' as #411 has been merged, making our current implementation consistent with the draft spec (we now return the empty batch if there's 0 response lines). |
I think this is fully resolved by the filing of the ircv3-ideas ticket --- further discussion there. |
From #oragono:
The text was updated successfully, but these errors were encountered: