Skip to content

[pull] master from ray-project:master#4080

Merged
pull[bot] merged 1 commit intomiqdigital:masterfrom
ray-project:master
Apr 24, 2026
Merged

[pull] master from ray-project:master#4080
pull[bot] merged 1 commit intomiqdigital:masterfrom
ray-project:master

Conversation

@pull
Copy link
Copy Markdown

@pull pull Bot commented Apr 24, 2026

See Commits and Changes for more details.


Created by pull[bot] (v2.0.0-alpha.4)

Can you help keep this open source service alive? 💖 Please sponsor : )

## Summary

`test_haproxy_binary.py::test_explicit_path_validates_executable` fails
on Windows: `Path.chmod(0o644)` only toggles the read-only attribute
there, and `os.access(path, os.X_OK)` returns `True` for any regular
file, so the assertion that a non-executable file is rejected with
`FileNotFoundError` never fires.

HAProxy isn't supported on Windows. Exclude the file from the
subdirectory glob and give it a dedicated target with `no_windows`,
matching the convention already used by `test_haproxy.py`,
`test_haproxy_api.py`, and `test_metrics_haproxy.py`.

Failure observed in postmerge 17208, job `flaky :windows: serve tests
[g19_s10]` (commit `6db3b34b0e`):
https://buildkite.com/ray-project/postmerge/builds/17208#019dbc13-86f6-42f4-bedf-4c1b8313da41

```
FAILED python/ray/serve/tests/unit/test_haproxy_binary.py::test_explicit_path_validates_executable - Failed: DID NOT RAISE <class 'FileNotFoundError'>
```

Signed-off-by: Seiji Eicher <seiji@anyscale.com>
@pull pull Bot locked and limited conversation to collaborators Apr 24, 2026
@pull pull Bot added the ⤵️ pull label Apr 24, 2026
@pull pull Bot merged commit b1fe2e2 into miqdigital:master Apr 24, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant