Share bounded regular file read mechanics
This commit is contained in:
@@ -120,7 +120,14 @@ small cross-entry regression only if a source path lacks equivalent coverage.
|
||||
|
||||
## Stage 3 — Share bounded regular-file read mechanics
|
||||
|
||||
Status: pending.
|
||||
Status: complete.
|
||||
|
||||
Completion: `source_file.go` owns regular-file preflight/open/recheck/close and
|
||||
bounded reads, with private failure kinds and stat/open-only optional-missing
|
||||
classification. Callers retain containment, metadata, budgets, accounting, and
|
||||
limit diagnostics. Existing filesystem, FIFO, budget, and reader tests pass;
|
||||
a private regression covers nondeterministic filesystem failure phases. Full
|
||||
offline baseline and race suites passed with Go 1.26.7 on Linux/amd64.
|
||||
|
||||
Evidence: `readSource`, `importTraversal.readImport`, and `readProfileFile` repeat
|
||||
preflight stat, open, post-open stat, regular-file checks, size checks, and bounded
|
||||
|
||||
Reference in New Issue
Block a user