Classify configuration loading errors
This commit is contained in:
@@ -28,7 +28,11 @@ when reporting validation.
|
||||
|
||||
## Stage 1 — Implement the shared classifier
|
||||
|
||||
Status — pending.
|
||||
Status — complete. Added the shared classifier and focused tests for the
|
||||
selected diagnostic codes, fallback evidence, wrappers, joins, cancellation,
|
||||
and real ConfigKit loading errors. Verified with Go 1.27.0 using
|
||||
`GOTOOLCHAIN=local GOPROXY=off go test ./integrations/ckconfig -run 'TestConfigurationDiagnosticClassification|TestClassifyConfigurationError' -count=1`
|
||||
in the aligned workspace (with a temporary writable Go build cache).
|
||||
|
||||
Add `integrations/ckconfig/errors.go` with the following exported function and
|
||||
GoDoc describing its CLI classification purpose, accepted evidence, fallback,
|
||||
|
||||
Reference in New Issue
Block a user