Filter publication record names before sorting directory results
This commit is contained in:
@@ -456,6 +456,11 @@ with a controlled error; repository production and test files were unchanged.
|
||||
|
||||
## R11: Filter directory entries before ordering them — P3
|
||||
|
||||
**Completed:** Discovery filters unsorted directory batches and sorts selected
|
||||
record paths once. Directory work is `O(D + R log R)` with bounded intermediate
|
||||
entry storage. Mixed-directory, ordering, and cancellation regressions passed.
|
||||
R13 addresses preservation of records alongside enumeration failures.
|
||||
|
||||
**Relevant code:** `internal/publish/attempts.go:41` through the subsequent
|
||||
filter and `sort.Strings(paths)`.
|
||||
|
||||
|
||||
Reference in New Issue
Block a user