Skip to content

fix: report effective Blaxel timeouts#3643

Open
he-yufeng wants to merge 1 commit into
openai:mainfrom
he-yufeng:fix/blaxel-effective-timeout
Open

fix: report effective Blaxel timeouts#3643
he-yufeng wants to merge 1 commit into
openai:mainfrom
he-yufeng:fix/blaxel-effective-timeout

Conversation

@he-yufeng

@he-yufeng he-yufeng commented Jun 14, 2026

Copy link
Copy Markdown

Summary

  • report the resolved Blaxel exec timeout in ExecTimeoutError instead of the original timeout argument
  • apply the same fix to normal exec, provider 408/504 timeout wrapping, and PTY startup timeout handling
  • add regression coverage for default-timeout exec and PTY paths

Issue Number

Fixes #3639

How to Test

  • python -m py_compile src\agents\extensions\sandbox\blaxel\sandbox.py tests\extensions\sandbox\test_blaxel.py
  • $env:PYTHONPATH='src'; python -m pytest tests\extensions\sandbox\test_blaxel.py -q -k "timeout_reports_default_timeout or test_exec_timeout or test_pty_exec_start_timeout"
  • $env:PYTHONPATH='src'; python -m pytest tests\extensions\sandbox\test_blaxel.py -q
  • python -m ruff check src\agents\extensions\sandbox\blaxel\sandbox.py tests\extensions\sandbox\test_blaxel.py
  • python -m ruff format --check src\agents\extensions\sandbox\blaxel\sandbox.py tests\extensions\sandbox\test_blaxel.py
  • git diff --check

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Blaxel sandbox timeout errors should report the effective timeout

2 participants