Skip to content

fix: bash tool memory leak#21321

Closed
Jiwenshang wants to merge 1 commit into
anomalyco:devfrom
Jiwenshang:bugfix_bash_memory_leak
Closed

fix: bash tool memory leak#21321
Jiwenshang wants to merge 1 commit into
anomalyco:devfrom
Jiwenshang:bugfix_bash_memory_leak

Conversation

@Jiwenshang
Copy link
Copy Markdown

@Jiwenshang Jiwenshang commented Apr 7, 2026

Issue for this PR

Closes #21319

Type of change

  • Bug fix

What does this PR do?

fix bash tool memory leak

How did you verify your code works?

UT & test manually

Screenshots / recordings

If this is a UI change, please include a screenshot or recording.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

If you do not follow this template your PR will be automatically rejected.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 7, 2026

Hey! Your PR title fix bash memory leak doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

@github-actions github-actions Bot added the needs:compliance This means the issue will auto-close after 2 hours. label Apr 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 7, 2026

The following comment was made by an LLM, it may be inaccurate:

Based on my search, here are the potentially related PRs:

Most Relevant:

Other related memory leak fixes:

Note: PR #21192 (mentioned in "Closes #21192") appears to be a TUI fix unrelated to bash memory leaks.

@github-actions github-actions Bot removed the needs:compliance This means the issue will auto-close after 2 hours. label Apr 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 7, 2026

Thanks for updating your PR! It now meets our contributing guidelines. 👍

@Jiwenshang Jiwenshang changed the title fix bash memory leak fix: bash memory leak Apr 7, 2026
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Apr 7, 2026

Thanks for your contribution!

This PR doesn't have a linked issue. All PRs must reference an existing issue.

Please:

  1. Open an issue describing the bug/feature (if one doesn't exist)
  2. Add Fixes #<number> or Closes #<number> to this PR description

See CONTRIBUTING.md for details.

@Jiwenshang Jiwenshang changed the title fix: bash memory leak fix: bash tool memory leak Apr 7, 2026
@Jiwenshang Jiwenshang requested a review from adamdotdevin as a code owner April 7, 2026 12:40
@Jiwenshang Jiwenshang force-pushed the bugfix_bash_memory_leak branch 4 times, most recently from 593b699 to 8896b2e Compare April 9, 2026 03:30
@rekram1-node
Copy link
Copy Markdown
Collaborator

Automated PR Cleanup

Thank you for contributing to opencode.

Due to the high volume of PRs from users and AI agents, we periodically close older PRs using automated criteria so maintainers can focus review time on the most active and community-supported contributions.

This PR was closed because it matched the following cleanup criteria:

  • The PR was created more than 1 month ago
  • The PR had fewer than 2 positive reactions
  • Positive reactions are counted as thumbs-up, heart, celebration, or rocket reactions on the PR

PRs created within the last month are not affected by this cleanup.

If you believe this PR was closed incorrectly, or if you are still actively working on it, please leave a comment explaining why it should be reopened. A maintainer can review and reopen it if appropriate.

Thanks again for taking the time to contribute.

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.

[BUG]: bash tool memory leak

2 participants