Repository navigation
[grid] Accept legacy session-closed event payloads - #17343
Merged
Merged
Conversation
Signed-off-by: Viet Nguyen Duc <nguyenducviet4496@gmail.com>
Contributor
Review Summary by QodoAccept legacy session-closed event payloads for backward compatibility
WalkthroughsDescription• Accept legacy session-closed event payloads with bare SessionId strings • Deserialize legacy wire format to SessionClosedData with QUIT_COMMAND reason • Add comprehensive tests for backward compatibility handling File Changes1. java/src/org/openqa/selenium/grid/data/SessionClosedData.java
|
Contributor
Code Review by Qodo
|
This was referenced May 13, 2026
This was referenced Jul 13, 2026
This was referenced Jul 20, 2026
This was referenced Aug 1, 2026
This was referenced Aug 17, 2026
This was referenced Aug 31, 2026
This was referenced Sep 8, 2026
This was referenced Oct 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
🔗 Related Issues
Fixes SeleniumHQ/docker-selenium#3110
💥 What does this PR do?
Backward compatibility for Grid
session-closedevents when the event bus receives the legacy wire format: a bare JSON string session id instead of aSessionClosedDataobject.In 4.41.0, listeners in the distributor and session map deserialize
session-closedasSessionClosedData. When an older or custom publisher emits the legacy payload, deserialization fails withExpected to read a START_MAP but instead have: STRING, which prevents the listener from processing the event.🔧 Implementation Notes
💡 Additional Considerations
🔄 Types of changes