Skip to content

Conversation

joerg1985
Copy link
Member

Description

Dropped the /session/{sessionId}/file endpoint used by json wire protocol and updated a test still using it.

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

Checklist

  • I have read the contributing document.
  • My change requires a change to the documentation.
  • I have updated the documentation accordingly.
  • I have added tests to cover my changes.
  • All new and existing tests passed.

@joerg1985
Copy link
Member Author

joerg1985 commented Jul 12, 2023

There is the get("/se/grid/node/status") endpoint which is not mentioned in the docs. Either the docs are incomplete or this endpoint might be not needed?

get("/se/grid/node/status")
.to(() -> req -> new HttpResponse().setContent(asJson(getStatus())))
.with(spanDecorator("node.node_status")),

@diemol
Copy link
Member

diemol commented Jul 13, 2023

There is the get("/se/grid/node/status") endpoint which is not mentioned in the docs. Either the docs are incomplete or this endpoint might be not needed?

get("/se/grid/node/status")
.to(() -> req -> new HttpResponse().setContent(asJson(getStatus())))
.with(spanDecorator("node.node_status")),

This seems a duplicate, I thought it was being used internally but it is just not used. We can remove it in a separate PR.

Copy link
Member

@diemol diemol left a comment

Choose a reason for hiding this comment

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

While this is correct, my concern is that this will break Selenium 3.x clients, and this would force them to upgrade to Selenium 4.

Latest Selenium 3.x can do W3C already, but this part with the prefixed file endpoint is not there. I've seen several people using Grid 4 with 3.x clients.

I would say we need to leave this for Selenium 5.

@isaulv isaulv added the A-needs decision TLC needs to discuss and agree label Aug 15, 2023
@titusfortner
Copy link
Member

I don't understand the downside. If they are stuck on Selenium 3 client, they can "only" use up to Selenium 4.11?
I guess I don't see a huge value in supporting 5 year old code still. Is this the only thing we're choosing to keep around?

@diemol
Copy link
Member

diemol commented Aug 16, 2023

I would need to check again, but if recall correctly, over 50% downloads were still latest 3.x, not sure if we want to break them.

@titusfortner
Copy link
Member

titusfortner commented Aug 16, 2023

How many of those 50% are using Grid 4.x? (Least problems happen when keeping Grid & bindings in sync)
Why not encourage those 50% to upgrade to 4.x bindings?

@diemol
Copy link
Member

diemol commented Aug 16, 2023

What is the need to remove this now when the maintenance cost is very low or none?

@titusfortner
Copy link
Member

We can say that about any one thing we choose to remove. /shrug
I'm not going to die on this hill, but I don't think we should be waiting for a major version change to remove it.

@diemol
Copy link
Member

diemol commented Aug 16, 2023

OK, I gave my opinion but it seems to not be important even when some data was added to back it up. Let's merge it then.

@diemol diemol removed the A-needs decision TLC needs to discuss and agree label Aug 16, 2023
@diemol diemol merged commit 90b916b into SeleniumHQ:trunk Aug 16, 2023
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.

4 participants