Skip to content

Release v0.2.3#124

Merged
F16shen merged 1 commit into
AI-Shell-Team:mainfrom
F16shen:release/v0.2.3-prep
Apr 22, 2026
Merged

Release v0.2.3#124
F16shen merged 1 commit into
AI-Shell-Team:mainfrom
F16shen:release/v0.2.3-prep

Conversation

@F16shen
Copy link
Copy Markdown
Collaborator

@F16shen F16shen commented Apr 22, 2026

Summary

  • release version 0.2.3
  • switch stable update checks and bundle downloads to CDN-hosted latest metadata and bundle URLs
  • include PTY timeout, PTY metadata tracking, and PyInstaller subprocess environment fixes since v0.2.2

Changelog Highlights

  • Changed aish update stable release detection to use CDN latest metadata and CDN bundle download paths, while preserving AISH_DOWNLOAD_BASE_URL, AISH_LATEST_URL, and legacy AISH_REPO_URL overrides
  • Fixed shared PTY commands so they no longer time out after 30 seconds unless a timeout is explicitly requested
  • Fixed PTY command lifecycle tracking by moving metadata onto a dedicated pipe to prevent metadata leaks and incorrect backend event binding
  • Fixed PyInstaller subprocess launches by sanitizing loader environment variables before spawning child processes

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
  • make build-bundle
  • bash packaging/scripts/smoke-installed-aish.sh ./dist/aish

Next Step

  • After review, manually run Release Preparation with version=0.2.3 and ref=release/v0.2.3-prep before merging this PR.

Summary by CodeRabbit

  • Changed

    • Release detection now uses CDN-hosted metadata and downloads archives from the CDN bundle path for more reliable updates.
  • Bug Fixes

    • Shared PTY commands no longer timeout unexpectedly unless an explicit timeout is set.
    • PTY metadata handling improved to prevent leaks and incorrect event binding.
    • Subprocess launches in bundled/PyInstaller installs are sanitized to avoid environment-related issues.

@github-actions github-actions Bot added dependencies Pull requests that update a dependency file docs core labels Apr 22, 2026
@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 22, 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: 88949d13-a894-40d8-b14f-bb7ded88756b

📥 Commits

Reviewing files that changed from the base of the PR and between 2e1fe81 and 4b5b0e5.

⛔ 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
✅ Files skipped from review due to trivial changes (2)
  • src/aish/init.py
  • pyproject.toml

📝 Walkthrough

Walkthrough

Release 0.2.3: package version bumped and changelog added documenting CDN-based stable-release detection and download path updates, shared PTY timeout and lifecycle fixes, and PyInstaller subprocess environment sanitization.

Changes

Cohort / File(s) Summary
Changelog
CHANGELOG.md
Added 0.2.3 entry describing CDN-based update detection/download behavior, PTY timeout and lifecycle fixes, and PyInstaller subprocess environment sanitization.
Version metadata
pyproject.toml, src/aish/__init__.py
Bumped package version from 0.2.20.2.3. No other metadata or API changes.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

Suggested labels

size: S

Poem

🐇 A tiny hop to version new,
CDN paths set, PTYs true,
Env cleaned for children spawned,
Metadata no longer yawned,
I nibble bugs and dance—huzzah! 🎉

🚥 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 'Release v0.2.3' directly and clearly matches the main objective of the pull request, which is to bump the package version to 0.2.3 and release it.
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 unit tests (beta)
  • Create PR with unit tests

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

@F16shen
Copy link
Copy Markdown
Collaborator Author

F16shen commented Apr 22, 2026

Blocked by #126.

Current status:

  • Local release validation passed
  • Release Preparation failed first because release/v0.2.3-prep exists only on the fork, so upstream Actions could not resolve that ref
  • Rerunning Release Preparation with ref=refs/pull/124/head reached live smoke validation and then failed in Build and install live smoke bundle because the workflow created build/live-smoke-extract and build/live-smoke-install-root before packaging/build_bundle.sh cleaned build/

Next step after #126 merges:

  • rerun Release Preparation for version 0.2.3 with ref=refs/pull/124/head
  • if it passes, merge this release PR
  • then run Release Final Check on main and push tag v0.2.3

@F16shen F16shen force-pushed the release/v0.2.3-prep branch from 2e1fe81 to 4b5b0e5 Compare April 22, 2026 07:03
@F16shen F16shen merged commit 67be3c2 into AI-Shell-Team:main Apr 22, 2026
12 checks passed
@F16shen F16shen deleted the release/v0.2.3-prep branch April 23, 2026 06:31
@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