Skip to content

Conversation

@ibetitsmike
Copy link
Contributor

The e2e test fixtures created directories but didn't run git init, causing listBranches() to fail with 'Not a git repository' errors.

These errors were logged but didn't fail tests since the tests don't rely on branch-loading functionality - they were just noise in the CI output.

Fix: run git init -q for both projectPath and workspacePath so the fixtures behave like real projects.

Generated with mux

@ibetitsmike ibetitsmike force-pushed the fix-e2e-test-git-errors branch from 2cd19e0 to f01d454 Compare December 3, 2025 13:13
The e2e test fixtures created directories but didn't run git init,
causing listBranches() to fail with 'Not a git repository' errors.
These errors were logged but didn't fail tests since the tests don't
rely on branch-loading functionality.

Fix: run 'git init -q' for both projectPath and workspacePath so
the fixtures behave like real projects.

_Generated with mux_
@ibetitsmike ibetitsmike force-pushed the fix-e2e-test-git-errors branch from f01d454 to a6ad677 Compare December 3, 2025 14:38
@ibetitsmike ibetitsmike added this pull request to the merge queue Dec 3, 2025
Merged via the queue into main with commit 8478e5e Dec 3, 2025
14 checks passed
@ibetitsmike ibetitsmike deleted the fix-e2e-test-git-errors branch December 3, 2025 15:34
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