Skip to content

Conversation

@xzrderek
Copy link
Contributor

@xzrderek xzrderek commented Jan 21, 2026

Note

Improves cross-platform robustness of local code execution (esp. Windows) and tightens runtime guards.

  • Python exec: conditional resource import and runtime checks; Unix uses SIGALRM and RLIMIT_CPU if available, Windows/non-Unix falls back to subprocess.communicate(timeout); safer reliability guard generated into temp script; guarded os.* disables via hasattr; consistent temp-file cleanup
  • JavaScript exec: optional SIGALRM as backup; primary timeout via communicate(timeout); clearer timeout handling and alarm cleanup
  • reliability_guard: resource limits applied only if resource exists; Unix-only os operations disabled conditionally
  • Minor: add pyright ignore on content-part access

Written by Cursor Bugbot for commit 723c11e. This will update automatically on new commits. Configure here.

@xzrderek xzrderek merged commit 70d61cb into main Jan 21, 2026
17 checks passed
@xzrderek xzrderek deleted the derekx/windows branch January 21, 2026 20:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants