Retain discovered publication records when enumeration fails
This commit is contained in:
@@ -1,7 +1,12 @@
|
||||
# Publication reconciliation remediation
|
||||
|
||||
Status: open findings from review of commits `4dff808` through `599ad81`,
|
||||
against planning baseline `447b42a`.
|
||||
Status: complete. R01–R13 are addressed and individually verified. The full
|
||||
offline suite (`go test ./...`) and compiled facade/dependency checks
|
||||
(`go run ./internal/apicheck`) passed with Go 1.26.8 after remediation.
|
||||
|
||||
The findings describe commits `4dff808` through `599ad81`, against planning
|
||||
baseline `447b42a`. Audit evidence and defect descriptions below refer to that
|
||||
reviewed baseline; each completion marker records the implemented correction.
|
||||
|
||||
The [feature roadmap](publication-reconciliation.md) defines the requested
|
||||
behavior; the [implementation plan](implementation.md) supplies the intended
|
||||
@@ -538,6 +543,12 @@ caps or public input restrictions are needed.
|
||||
|
||||
## R13: Retain entries returned with a directory-enumeration error — P2
|
||||
|
||||
**Completed:** Discovery loads returned record paths before reporting enumeration
|
||||
failure. Fault-injected entries-plus-error and zero-entry tests passed, preserving
|
||||
readable records, per-record diagnostics, ordering, and the original cause.
|
||||
Facade conversion and CLI human/JSON tests confirm partial results survive with
|
||||
a non-success status. The full offline suite and API/dependency checks passed.
|
||||
|
||||
**Relevant code:** `internal/publish/attempts.go:41` through its immediate error
|
||||
return at lines 42–44; Stage 5's partial-result requirement in the implementation
|
||||
plan.
|
||||
|
||||
Reference in New Issue
Block a user