Repository navigation
feat(config): migrate provider key validation to generated RPC - #498
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
W18/OSS-337 first family: provider credential validation.\n\n- Generated \ConfigService.ValidateProviderKey\ (proto, Go, TS regenerated with pinned Buf 1.50.0) with settings/read global RBAC mapping and negative authz tests at both RPC and REST seams.\n- Shared \indexers.ValidateProviderKey\ operation preserves soft-result semantics; both the RPC and the legacy /api/v1/settings/validate-key\ adapter delegate to it (ADR-0012 compatibility window).\n- Shared
equireGlobalObject\ policy unifies legacy REST adapters (key validator + node scan): authenticate even in no-auth mode, enforce global object, fail closed on missing dependencies.\n- Raw validator uses \ProtectCredentialsOnRedirect; real cross-port redirect fixture proves credentials are stripped cross-origin and retained same-origin.\n- Console uses the generated rpcClient; API docs and governing knowledge updated.\n\nVerification: affected Go tests -count=1\ all ok, \go vet ./...\ clean, \�uf lint/\�uf breaking\ clean, frontend \�un run check\ 0/0 and \�un run test\ 230 pass. Knowledge-lint -fix + final: 58 concepts, 37/37 queries.