Skip to content

Adjust bash and sandbox timeout defaults#81

Merged
F16shen merged 1 commit intoAI-Shell-Team:mainfrom
F16shen:feat/bash-and-sandbox-timeouts
Mar 24, 2026
Merged

Adjust bash and sandbox timeout defaults#81
F16shen merged 1 commit intoAI-Shell-Team:mainfrom
F16shen:feat/bash-and-sandbox-timeouts

Conversation

@F16shen
Copy link
Collaborator

@F16shen F16shen commented Mar 24, 2026

Summary

  • remove the default execution timeout from bash_exec so shell commands are not cut off after 30 seconds
  • add a configurable sandbox pre-execution timeout with a 10 second default
  • update security policy templates and tests to cover the new timeout behavior

Testing

  • /home/lixin/workspace/aish/.venv/bin/python -m pytest tests/test_bash_executor.py tests/security/policy/test_fallback_risk.py tests/security/sandbox/test_ipc.py -q

@github-actions
Copy link
Contributor

Thanks for the pull request. A maintainer will review it when available.

Please keep the PR focused, explain the why in the description, and make sure local checks pass before requesting review.

Contribution guide: https://github.com/AI-Shell-Team/aish/blob/main/CONTRIBUTING.md

@github-actions
Copy link
Contributor

This pull request description looks incomplete. Please update the missing sections below before review.

Missing items:

  • User-visible Changes
  • Compatibility
  • Change Type
  • Scope

@F16shen F16shen merged commit 641b58c into AI-Shell-Team:main Mar 24, 2026
11 checks passed
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.

2 participants