Skip to content

Conversation

@edoakes
Copy link
Collaborator

@edoakes edoakes commented Nov 19, 2025

Replace placeholder.

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
@edoakes edoakes requested a review from a team as a code owner November 19, 2025 15:14
@edoakes edoakes added the go add ONLY when ready to merge, run all tests label Nov 19, 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 improves security by replacing uuid.uuid4() with the cryptographically stronger secrets.token_hex(32) for generating authentication tokens. The change is applied consistently across the token generator and its usage in tests. The new implementation is correct and well-documented. I've identified one critical issue in a test fixture where a parameter was not removed after its corresponding fixture was deleted, which would cause tests to fail. Please see the detailed comment.

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
@edoakes edoakes merged commit b75fb44 into ray-project:master Nov 19, 2025
6 checks passed
Aydin-ab pushed a commit to Aydin-ab/ray-aydin that referenced this pull request Nov 19, 2025
…ct#58818)

Replace placeholder.

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: Aydin Abiar <aydin@anyscale.com>
edoakes added a commit to edoakes/ray that referenced this pull request Nov 19, 2025
…ct#58818)

Replace placeholder.

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
aslonnie pushed a commit that referenced this pull request Nov 19, 2025
Cherry pick #58818

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
400Ping pushed a commit to 400Ping/ray that referenced this pull request Nov 21, 2025
…ct#58818)

Replace placeholder.

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
ykdojo pushed a commit to ykdojo/ray that referenced this pull request Nov 27, 2025
…ct#58818)

Replace placeholder.

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Signed-off-by: YK <1811651+ykdojo@users.noreply.github.com>
SheldonTsen pushed a commit to SheldonTsen/ray that referenced this pull request Dec 1, 2025
…ct#58818)

Replace placeholder.

---------

Signed-off-by: Edward Oakes <ed.nmi.oakes@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

go add ONLY when ready to merge, run all tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants