Skip to content

Check node diagnostic codes across Core and Web - #282

Merged
SaladDay merged 1 commit into
mainfrom
refactor/node-diagnostic-contract
Sep 30, 2026
Merged

SaladDay merged 1 commit into
mainfrom
refactor/node-diagnostic-contract

Conversation

@SaladDay

@SaladDay SaladDay commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Node readiness codes were copied independently across Core, OpenAPI annotations, the client and Web. Check those projections against one shared diagnostic fixture, derive the client type from its checked code tuple, and have Web reuse the client normalizer. Known codes and localized advice are preserved; unknown codes still become provider_unavailable.

Validation: focused Go diagnostic/schema conformance tests, go build ./..., sandbox vet, workspace typecheck, 76 client tests, 19 Web tests and name guard passed. Store-wide vet reports two pre-existing mutex-copy warnings in environment fixture tests; this change adds no production Go code and does not modify those fixtures. The small consolidation was self-reviewed under the requested focused-check workflow.


View with [code]smith Autofix with [code]smith
Need help on this PR? Tag @codesmith-bot with what you need. Autofix is disabled.

@SaladDay
SaladDay merged commit edf8af0 into main Sep 30, 2026
9 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant