Skip to content

chore: prepare 0.2.5 release#138

Merged
F16shen merged 1 commit into
mainfrom
release/v0.2.5-prep
Apr 24, 2026
Merged

chore: prepare 0.2.5 release#138
F16shen merged 1 commit into
mainfrom
release/v0.2.5-prep

Conversation

@F16shen
Copy link
Copy Markdown
Collaborator

@F16shen F16shen commented Apr 24, 2026

Summary

  • bump package version files and lockfile from 0.2.4 to 0.2.5
  • add the 0.2.5 changelog entry for the sudo bash_exec PTY fix
  • prepare the release candidate branch from main for release validation

Changelog

  • Fixed AI-initiated bash_exec commands that invoke sudo so they now run through a PTY-backed path instead of hanging when the system prompts for a password.

Validation

  • /home/lixin/workspace/aishell/aish/.venv/bin/python -m pytest tests/scripts/packaging/test_update_release_files.py tests/scripts/packaging/test_release_metadata.py -q
  • make test (634 passed, 6 skipped)

AI-assisted: GitHub Copilot (GPT-5.4)

Summary by CodeRabbit

Release Notes - Version 0.2.5

  • Bug Fixes
    • Resolved an issue where AI-initiated bash commands invoking sudo could hang when prompting for passwords.

@github-actions
Copy link
Copy Markdown
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
Copy Markdown
Contributor

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

Missing items:

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

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 24, 2026

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro Plus

Run ID: a8374366-a3e4-4c99-8db0-aceb198fc4fa

📥 Commits

Reviewing files that changed from the base of the PR and between 27ca5d4 and 19ec381.

⛔ Files ignored due to path filters (1)
  • uv.lock is excluded by !**/*.lock
📒 Files selected for processing (3)
  • CHANGELOG.md
  • pyproject.toml
  • src/aish/__init__.py

📝 Walkthrough

Walkthrough

This pull request bumps the package version from 0.2.4 to 0.2.5 across configuration and version constant files, and adds a changelog entry documenting a fix for AI-initiated bash_exec commands with sudo that now use a PTY-backed route to prevent hangs during password prompts.

Changes

Cohort / File(s) Summary
Version Updates
pyproject.toml, src/aish/__init__.py
Version constant incremented from 0.2.4 to 0.2.5.
Documentation
CHANGELOG.md
New 0.2.5 release entry (2026-04-24) documenting the fix: AI-initiated bash_exec commands with sudo now use a PTY-backed route instead of a path that could hang during password prompts.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • Release v0.2.3 #124: Contains PTY timeout and metadata/PTY lifecycle fixes, directly related to the PTY-backed route fix for sudo handling documented in this release.

Suggested labels

size: XS, docs

Poem

🐰 A version bump hops along with glee,
From 0.2.4 to .5, now we see—
The PTY path won't hang or stall,
sudo whispers without a call,
Password prompts flow naturally! ✨

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title 'chore: prepare 0.2.5 release' directly and clearly summarizes the main changes: version bumps in CHANGELOG.md, pyproject.toml, and init.py to prepare for the 0.2.5 release.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch release/v0.2.5-prep

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions github-actions Bot added dependencies Pull requests that update a dependency file docs core size: XS experienced-contributor labels Apr 24, 2026
@F16shen F16shen merged commit f7880e4 into main Apr 24, 2026
13 checks passed
@F16shen F16shen deleted the release/v0.2.5-prep branch April 24, 2026 08:02
@coderabbitai coderabbitai Bot mentioned this pull request May 7, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant