GLOBTIMEOUT does not bound wall-clock time — tool blocks until the runaway glob finishes…
- User
GLOB_TIMEOUTdoes not bound wall-clock time — tool blocks until the runaway glob finishesSubmission checklist
- This is a bug, not a usage question.
- I added a clear and descriptive title.
- I searched existing issues and didn't find this.
- I can reproduce this with the latest released version.
- I included a minimal reproducible example and steps to reproduce.
Area (Required)
- deepagents (SDK)
- cli
- code
- talon
- acp
- evals
- harbor
- daytona
- modal
- quickjs
- runloop
- langsmith-sandbox
- Other / not sure / general
Related Issues / PRs
No response
Reproduction Steps / Example Code (Python)
python - Assistant
I’ll trace the SDK filesystem middleware and its tests, then update the synchronous timeout behavior with regression coverage for actual wall-clock latency and executor reuse.
- Assistant
The cause matches the report: the timeout is caught inside an executor context manager, whose exit immediately waits for the still-running worker. I’m checking repository conventions for long-lived executors before making the smallest compatible change.
- Assistant
The synchronous tool now submits to one module-level executor and does not shut it down on each call, so returning the timeout no longer joins the runaway worker. The regression test now measures elapsed wall-clock time; I’m running the surrounding glob tests and lint/type checks next.
- Assistant
The full filesystem middleware unit-test set passes, including the new latency assertion. Lint, formatting, and static type checking also pass; I’m doing a final diff/status check for unintended environment changes.
Other models, same or similar prompt
Responses were produced in different, uncontrolled contexts (system prompts, settings, prior turns). This is not a benchmark.