Skip to content

Pass Agent stand-ins to the provider configuration flow test - #317

Merged
SaladDay merged 1 commit into
mainfrom
fix/providers-agents-deps
Sep 30, 2026
Merged

SaladDay merged 1 commit into
mainfrom
fix/providers-agents-deps

Conversation

@SaladDay

@SaladDay SaladDay commented Sep 30, 2026 •

Copy link
Copy Markdown
Collaborator

Fixes go vet ./services/core/... on main after #315. The provider configuration flow test still passed *store.Store as api.Agents, and store no longer implements it. That flow never touches Agents, so the test now passes struct{ api.Agents }{} and struct{ api.AgentsReader }{}, which panic if called.

Checks: go vet ./services/core/... exits 0 across the module, and go test ./services/core/internal/sandbox/providers/... passes 36 tests with 0 skipped.


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 9ef8258 into main Sep 30, 2026
5 of 6 checks passed
@SaladDay
SaladDay deleted the fix/providers-agents-deps branch September 30, 2026 17:17
The flow never reaches Agents, and *store.Store no longer implements
api.Agents, so go vet failed on the providers test package. Give it
stand-ins that panic if called, as for the other unused dependencies.
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