fix(windows): resolve POSIX-only compatibility issues (#92, #95) - #98
fix(windows): resolve POSIX-only compatibility issues (#92, #95)#98Harshitmishra001 wants to merge 1 commit into
Conversation
…NVIDIA-NeMo#95) Resolves unconditional POSIX imports and asserts across the codebase that crash the framework on Windows. - Add platform guards for sandbox resource limits and executor death classification - Handle missing fcntl and fallback to SQLite native locking - Provide graceful fallbacks for resource memory limits in eval pipeline - Prevent asyncio subprocess failure on missing start_new_session/pass_fds args - Add regression tests for sandbox guards and executor Signed-off-by: Harshitmishra001 <hmharsh123@gmail.com>
e30a408 to
32c0037
Compare
|
Nice — this is broader than #92 and picks up both sites I flagged in #95 that weren't in any issue. Confirming they're addressed correctly:
Two things worth changing before this lands. 1. The
|
What does this PR do?
Resolves unconditional POSIX imports and asserts across the codebase that crash the framework on Windows.
Add platform guards for sandbox resource limits and executor death classification
Handle missing fcntl and fallback to SQLite native locking
Provide graceful fallbacks for resource memory limits in eval pipeline
Prevent asyncio subprocess failure on missing start_new_session/pass_fds args
Add regression tests for sandbox guards and executor
Related issues
Fixes #92
Fixes #95
Checklist
uv run ruff check .anduv run ruff format --check .pass)uv run pytest)