Preserve discovery failures for damaged checkouts
This commit is contained in:
@@ -132,7 +132,15 @@ following findings require follow-up; the other planned corrections are present.
|
||||
|
||||
### 1. Damaged checkout metadata can silently select standalone preparation
|
||||
|
||||
**Priority:** medium. **Status:** open.
|
||||
**Priority:** medium. **Status:** complete.
|
||||
|
||||
**Completion evidence:** `TestPrepareBuildDependenciesRejectsDamagedCheckout`
|
||||
verifies healthy root selection, preservation of the damaged checkout's Git
|
||||
failure with no Go invocation, and genuine standalone preparation. Git discovery
|
||||
regressions cover ceiling directories, physical and literal aliases, and the
|
||||
filesystem boundary. Focused preparation and discovery checks pass offline with
|
||||
the race detector. The implementation plan now requires marker inspection before
|
||||
accepting the recognized no-repository diagnostic.
|
||||
|
||||
**Code:** `DiscoverRepositoryRoot` in
|
||||
[internal/git/source.go](../../internal/git/source.go), particularly the
|
||||
|
||||
Reference in New Issue
Block a user