Skip to content

test: add git manager quality gate#24

Merged
dinakars777 merged 1 commit into
mainfrom
codex/quality-gate
May 20, 2026
Merged

test: add git manager quality gate#24
dinakars777 merged 1 commit into
mainfrom
codex/quality-gate

Conversation

@dinakars777
Copy link
Copy Markdown
Owner

Summary

Adds a real quality gate for git-time-machine by making CI fail on formatting and clippy warnings, then backs the core Git wrapper with regression tests that create temporary repositories and exercise real Git commands.

The new tests cover reflog parsing order, dirty-worktree detection, diff stat generation, and invalid hash handling. This gives future recovery and restore changes a safer base than the previous zero-test suite.

Verification

  • cargo fmt --check
  • cargo clippy -- -D warnings
  • cargo test
  • cargo build
  • git diff --check

@dinakars777 dinakars777 force-pushed the codex/quality-gate branch from fa81534 to 6e9ea2c Compare May 20, 2026 08:57
@dinakars777 dinakars777 merged commit 882b39d into main May 20, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant