[PR #348] Store git-ai version in checkpoints #419

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

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

State: closed
Merged: Yes


Fix for #249

Add git_ai_version field to the Checkpoint struct to track which version of git-ai created each checkpoint. This is useful for:

  • Debugging issues with specific versions
  • Understanding feature availability when checkpoints were created
  • Supporting potential migration logic for future format changes

The field uses serde attributes for backward compatibility with older checkpoints and avoids serializing when None to keep JSON compact.

**Original Pull Request:** https://github.com/git-ai-project/git-ai/pull/348 **State:** closed **Merged:** Yes --- Fix for #249 Add git_ai_version field to the Checkpoint struct to track which version of git-ai created each checkpoint. This is useful for: - Debugging issues with specific versions - Understanding feature availability when checkpoints were created - Supporting potential migration logic for future format changes The field uses serde attributes for backward compatibility with older checkpoints and avoids serializing when None to keep JSON compact.
kerem 2026-03-02 04:13:34 +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#419
No description provided.