Skip to content

Validate release candidates earlier and add final release check#108

Merged
jexShain merged 1 commit intoAI-Shell-Team:mainfrom
F16shen:feat/release-flow-premerge-final-check
Apr 15, 2026
Merged

Validate release candidates earlier and add final release check#108
jexShain merged 1 commit intoAI-Shell-Team:mainfrom
F16shen:feat/release-flow-premerge-final-check

Conversation

@F16shen
Copy link
Copy Markdown
Collaborator

@F16shen F16shen commented Apr 15, 2026

Summary

This PR moves the heaviest release verification onto the release-candidate path and splits the post-merge release confirmation into a lightweight final check.

What Changed

  • Detect release-candidate PRs in CI and force them through bundle build, bundle install, and installed-binary runtime smoke validation.
  • Add packaging/scripts/smoke-installed-aish.sh and wire it into CI and local binary build verification.
  • Rework live smoke to run against an installed bundle artifact, with explicit blocking and extended suites.
  • Update live smoke test helpers so they can target either the installed binary or the source-based entrypoint.
  • Teach Release Preparation to validate an explicit ref, so maintainers can run the full release candidate check before merge.
  • Add a new Release Final Check workflow that only confirms merged main state and release metadata before tagging.
  • Update contributor-facing release guidance to match the new pre-merge preparation plus post-merge lightweight final confirmation model.

Why

The old flow still left a gap where the release PR could merge before the repository had validated the installed artifact path that would actually be shipped. This PR closes that gap by running the heavy artifact-based validation before merge, while keeping a small post-merge confirmation step so tagging stays low-friction.

Validation

  • Verified modified workflow and documentation files with editor diagnostics; no errors reported for the changed workflow files included in this PR.
  • Confirmed the new PR branch was pushed successfully and is diffed only against the intended release-flow changes.
  • No runtime test suite was executed in this session.

…rmation

Move the heaviest release validation onto the release candidate path by detecting release PRs in CI, running installed-binary runtime smoke checks, and validating artifact-based live smoke against installed bundles.

Teach Release Preparation to validate an explicit ref so maintainers can run the full release candidate check before merge, then add a lightweight Release Final Check workflow that only confirms merged main state and release metadata before tagging.

Also document the updated maintainer flow in CONTRIBUTING so the repository guidance matches the new pre-merge preparation and post-merge final confirmation model.
@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 github-actions Bot added dependencies Pull requests that update a dependency file ci-cd docs packaging Packaging or installation issue labels Apr 15, 2026
@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

@jexShain jexShain merged commit dff23db into AI-Shell-Team:main Apr 15, 2026
11 checks passed
@F16shen F16shen deleted the feat/release-flow-premerge-final-check branch April 16, 2026 03:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ci-cd dependencies Pull requests that update a dependency file docs experienced-contributor packaging Packaging or installation issue size: M tests

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants