[PR #479] [MERGED] Add nightly workflow to validate git-ai upgrade across OSes #506

Closed
opened 2026-03-02 04:13:49 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/git-ai-project/git-ai/pull/479
Author: @svarlamov
Created: 2/8/2026
Status: Merged
Merged: 2/8/2026
Merged by: @svarlamov

Base: mainHead: codex/create-nightly-github-action-for-git-ai-versions


📝 Commits (1)

  • 5796221 Add nightly upgrade validation workflow

📊 Changes

1 file changed (+160 additions, -0 deletions)

View changed files

.github/workflows/nightly-upgrade.yml (+160 -0)

📄 Description

Motivation

  • Ensure the git-ai self-upgrade path works end-to-end by installing random older post-1.0 releases and exercising the git-ai upgrade feature.
  • Run this validation regularly across Linux, macOS, and Windows to catch platform-specific regressions in the installer or upgrade logic.

Description

  • Add .github/workflows/nightly-upgrade.yml to run nightly (and on-demand) with a matrix of ubuntu-latest, macos-latest, and windows-latest runners.
  • Query GitHub Releases (via the API) to pick up to three random semver releases in range (v1.0.0, latest) and expose latest and versions via GITHUB_OUTPUT for the job.
  • For non-Windows runners use install.sh with GIT_AI_RELEASE_TAG to install selected older versions; for Windows runners use install.ps1 similarly.
  • After installing each older release the workflow runs git-ai upgrade and asserts the installed version matches the current latest release tag returned by the API.

Testing

  • No automated tests were executed as part of this change; this is a workflow-only addition and will run when the workflow is triggered by schedule or manual dispatch.
  • The repository unit/integration test jobs were not modified by this change and remain unchanged.

Codex Task


Open with Devin

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/git-ai-project/git-ai/pull/479 **Author:** [@svarlamov](https://github.com/svarlamov) **Created:** 2/8/2026 **Status:** ✅ Merged **Merged:** 2/8/2026 **Merged by:** [@svarlamov](https://github.com/svarlamov) **Base:** `main` ← **Head:** `codex/create-nightly-github-action-for-git-ai-versions` --- ### 📝 Commits (1) - [`5796221`](https://github.com/git-ai-project/git-ai/commit/5796221e8e3eedec03ac566244a6e7ffc02e6c82) Add nightly upgrade validation workflow ### 📊 Changes **1 file changed** (+160 additions, -0 deletions) <details> <summary>View changed files</summary> ➕ `.github/workflows/nightly-upgrade.yml` (+160 -0) </details> ### 📄 Description ### Motivation - Ensure the `git-ai` self-upgrade path works end-to-end by installing random older post-1.0 releases and exercising the `git-ai upgrade` feature. - Run this validation regularly across Linux, macOS, and Windows to catch platform-specific regressions in the installer or upgrade logic. ### Description - Add `.github/workflows/nightly-upgrade.yml` to run nightly (and on-demand) with a matrix of `ubuntu-latest`, `macos-latest`, and `windows-latest` runners. - Query GitHub Releases (via the API) to pick up to three random semver releases in range `(v1.0.0, latest)` and expose `latest` and `versions` via `GITHUB_OUTPUT` for the job. - For non-Windows runners use `install.sh` with `GIT_AI_RELEASE_TAG` to install selected older versions; for Windows runners use `install.ps1` similarly. - After installing each older release the workflow runs `git-ai upgrade` and asserts the installed version matches the current latest release tag returned by the API. ### Testing - No automated tests were executed as part of this change; this is a workflow-only addition and will run when the workflow is triggered by schedule or manual dispatch. - The repository unit/integration test jobs were not modified by this change and remain unchanged. ------ [Codex Task](https://chatgpt.com/codex/tasks/task_e_6988bfee2060832cacedd646d620ee40) <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/git-ai-project/git-ai/pull/479" target="_blank"> <picture> <source media="(prefers-color-scheme: dark)" srcset="https://static.devin.ai/assets/gh-open-in-devin-review-dark.svg?v=1"> <img src="https://static.devin.ai/assets/gh-open-in-devin-review-light.svg?v=1" alt="Open with Devin"> </picture> </a> <!-- devin-review-badge-end --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-03-02 04:13:49 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#506
No description provided.