You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
runner: fallback when git extensions are unsupported (#1074)
## Summary
- add a `project.WithAllowUnsupportedGitExtensions` option for
`NewDirProject`
- when enabled, fall back to plain directory mode if go-git fails on
unsupported repository extensions
- enable this option in runner v2 project conversion so startup sessions
do not fail in repos with `extensions.worktreeConfig`
- add a focused test that reproduces unsupported extension behavior and
verifies fallback
## Testing
- go test ./project -run
'^TestNewDirProject_FallbackOnUnsupportedGitExtensions$'
- go test ./runnerv2service -run
'^TestRunnerServiceServerCreateSession$'
- go test ./pkg/agent/server
## Notes
- `go test ./project` fails in this local environment because `direnv`
is not installed; unchanged pre-existing dependency in project tests.
---------
Signed-off-by: Jeremy lewi <jeremy@lewi.us>
0 commit comments