Skip to content

Conversation

@edoakes
Copy link
Collaborator

@edoakes edoakes commented Nov 27, 2025

richo-anyscale and others added 4 commits November 27, 2025 14:04
This causes the dashboard to be more thorough in it's attempts to deny
browsers access to the job creation APIs

---------

Signed-off-by: Richo Healey <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
Getting rid of the excessive `while True` loops & timeouts in the tests
(we already wait for the dashboard to be up).

Also just cleaned up some comments and naming while I was poking around.

---------

Signed-off-by: Edward Oakes <[email protected]>
…jection logic (ray-project#59042)

## Description
Adds more headers to the denylist for recognising browser requests and
denying them

## Related issues
Supercedes ray-project#59040

Signed-off-by: Richo Healey <[email protected]>
Signed-off-by: Edward Oakes <[email protected]>
@edoakes edoakes requested a review from a team as a code owner November 27, 2025 20:07
@edoakes edoakes added the go add ONLY when ready to merge, run all tests label Nov 27, 2025
Copy link
Contributor

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

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

Code Review

This pull request significantly improves the browser request validation by incorporating more robust heuristics, which enhances security against CSRF-like attacks. The changes are accompanied by a comprehensive set of test cases, which is great to see. I have a couple of suggestions to improve the maintainability of the new code.

@ray-gardener ray-gardener bot added serve Ray Serve Related Issue core Issues that should be addressed in Ray Core labels Nov 28, 2025
@aslonnie
Copy link
Collaborator

the python 3.10 failure is related to the click thing. force merging.

@aslonnie
Copy link
Collaborator

actually, let me wait for the other core tests to finish.

@aslonnie
Copy link
Collaborator

merging now.

@aslonnie aslonnie merged commit 9ac1e61 into ray-project:releases/2.51.2 Nov 28, 2025
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core Issues that should be addressed in Ray Core go add ONLY when ready to merge, run all tests serve Ray Serve Related Issue

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants