Skip to content

[Core/Auth] Fix Windows failures in test_token_auth_integration and test_autoscaler_fake_docker_auth_token - #67804

Merged
rueian merged 1 commit into
ray-project:masterfrom
MortalHappiness:fix/token-auth-windows-failed-tests
Nov 4, 2026
Merged

rueian merged 1 commit into
ray-project:masterfrom
MortalHappiness:fix/token-auth-windows-failed-tests

Conversation

@MortalHappiness

@MortalHappiness MortalHappiness commented Nov 4, 2026 •

Copy link
Copy Markdown
Member

Description

Both targets fail on every Windows postmerge run (for example build 20723).

  • test_token_auth_integration: two cases of test_k8s_token_auth_with_auth_disabled_is_config_error put a Windows path in quotes inside python -c code, where \U in C:\Users is a unicode escape and raises SyntaxError. The path now goes in through repr().
  • test_autoscaler_fake_docker_auth_token: the fake Docker cluster is Linux-only and runs RAY_FAKE_CLUSTER=1 ray up ... through the shell, which cmd.exe rejects. The target now has the no_windows tag, like test_network_failure_e2e.

Related issues

N/A

…est_autoscaler_fake_docker_auth_token

Signed-off-by: Chi-Sheng Liu <[email protected]>
@MortalHappiness MortalHappiness added the go add ONLY when ready to merge, run all tests label Nov 4, 2026
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@MortalHappiness
MortalHappiness marked this pull request as ready for review November 4, 2026 01:51
@MortalHappiness
MortalHappiness requested a review from a team as a code owner November 4, 2026 01:52
@gemini-code-assist

Copy link
Copy Markdown
Contributor

Warning

You have reached your daily quota limit. Please wait up to 24 hours and I will start processing your requests again!

@rueian
rueian enabled auto-merge (squash) November 4, 2026 02:00
@rueian
rueian merged commit 0613318 into ray-project:master Nov 4, 2026
7 checks passed
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