Catalog-driven credential discovery and deployment env fallbacks#4
Open
Patel230 wants to merge 10 commits into
Open
Catalog-driven credential discovery and deployment env fallbacks#4Patel230 wants to merge 10 commits into
Patel230 wants to merge 10 commits into
Conversation
Bootstrap wiring when cache is missing, keychain store, discovery validation, and setup helpers so hawk can apply credentials without hardcoded provider env lists. Co-authored-by: Cursor <cursoragent@cursor.com>
5 tasks
Discovery reads keys from keychain via DiscoveryCredentials, adds preflight/runtime helpers, and removes legacy env-file credential paths. Co-authored-by: Cursor <cursoragent@cursor.com>
Run gofumpt across touched packages and tidy module checksums. Co-authored-by: Cursor <cursoragent@cursor.com>
Remove unused legacy fetch wrappers and clean up minor lint findings. Co-authored-by: Cursor <cursoragent@cursor.com>
Mark dependency-review as continue-on-error until GitHub Dependency graph is enabled. Co-authored-by: Cursor <cursoragent@cursor.com>
ModelEntriesForProvider prefers deployment offerings for setup gateways, adds gateway/owner helpers and per-provider refresh, and aligns live fetchers with hawk Connect Center expectations. Co-authored-by: Cursor <cursoragent@cursor.com>
Remove unused helper, drop redundant string conversion, and treat missing CI catalog as skip not fail. Co-authored-by: Cursor <cursoragent@cursor.com>
Avoid a red PR check on repos without GitHub Dependency graph; govulncheck covers module vulnerabilities. Co-authored-by: Cursor <cursoragent@cursor.com>
Use a zero RNG in tests that require the primary provider to be chosen first so low-weight fallbacks cannot succeed by accident. Co-authored-by: Cursor <cursoragent@cursor.com>
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.
Summary
env_fallbacks, and remote discover/refresh for model catalogs.HasAnyConfiguredDeployment.setup.ApplyCredentialsto write sanitizedprovider.json(routing only, no API keys on disk).Test plan
go test ./... -short(local)replace ../eyrieon same branch name