[PR #457] Add git compatibility tests to CI (#436) #483

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

Original Pull Request: https://github.com/git-ai-project/git-ai/pull/457

State: closed
Merged: No


Add a GitHub Actions workflow that runs a subset of the official git test suite with git-ai enabled to ensure core git functionality is not broken by git-ai changes.

Changes:

  • Add .github/workflows/git-compat-tests.yml workflow that:

    • Clones official git repo (pinned to v2.47.1)
    • Builds git-ai and sets up gitwrap symlinks
    • Runs ~150 core git tests with both standard git and git-ai
    • Compares results to detect regressions (git-ai-only failures)
    • Uploads test results as artifacts
  • Add tests/git-compat/compare_results.py for CI result comparison

  • Add tests/git-compat/README.md with documentation for local development and debugging

Test coverage includes: basic operations, branching, merging, rebase, cherry-pick, stash, diff, log, remote operations, hooks, notes, reset, checkout, and more.

Closes #436


Open with Devin
**Original Pull Request:** https://github.com/git-ai-project/git-ai/pull/457 **State:** closed **Merged:** No --- Add a GitHub Actions workflow that runs a subset of the official git test suite with git-ai enabled to ensure core git functionality is not broken by git-ai changes. Changes: - Add .github/workflows/git-compat-tests.yml workflow that: - Clones official git repo (pinned to v2.47.1) - Builds git-ai and sets up gitwrap symlinks - Runs ~150 core git tests with both standard git and git-ai - Compares results to detect regressions (git-ai-only failures) - Uploads test results as artifacts - Add tests/git-compat/compare_results.py for CI result comparison - Add tests/git-compat/README.md with documentation for local development and debugging Test coverage includes: basic operations, branching, merging, rebase, cherry-pick, stash, diff, log, remote operations, hooks, notes, reset, checkout, and more. Closes #436 <!-- devin-review-badge-begin --> --- <a href="https://app.devin.ai/review/git-ai-project/git-ai/pull/457" 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 -->
kerem 2026-03-02 04:13:45 +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#483
No description provided.