Wire optimizer into server startup and CLI #7983
run-on-pr.yml
on: pull_request
Linting
/
Lint Go Code
1m 4s
Tests
/
Test Go Code
2m 32s
Docs
/
Verify Swagger Documentation
1m 56s
Codegen
/
Verify Code Generation
37s
Spellcheck
/
Codespell
16s
License Headers
/
Check License Headers
21s
Security Scan
/
Trivy Repository Scan
24s
Security Scan
/
Trivy Configuration Scan
22s
Security Scan
/
Go Vulnerability Check
42s
Helm Charts
/
Lint and Test Helm Charts
25s
Operator CI
/
Build Operator
Operator CI
/
Generate CRD Docs
Operator CI
/
Generate CRDs
Operator CI
/
Operator Tests
Operator CI
/
Operator Tests Integration
Matrix: Operator CI / E2E Tests Operator
Waiting for pending jobs
Matrix: E2E Tests / e2e-tests-core
Waiting for pending jobs
Annotations
20 errors and 2 warnings
|
Helm Charts / Lint and Test Helm Charts
Process completed with exit code 200.
|
|
Task failed
task: Task "helm-docs" does not exist
|
|
Codegen / Verify Code Generation
Process completed with exit code 201.
|
|
Codegen / Verify Code Generation:
pkg/vmcp/server/adapter/capability_adapter.go#L221
undefined: CreateOptimizerToolsFromProvider
|
|
Codegen / Verify Code Generation
undefined: OptimizerHandlerProvider
|
|
Security Scan / Go Vulnerability Check:
cmd/vmcp/app/commands.go#L452
undefined: vmcpoptimizer.NewEmbeddingOptimizer
|
|
Security Scan / Go Vulnerability Check:
cmd/vmcp/app/commands.go#L450
cfg.Optimizer.Enabled undefined (type *"github.com/stacklok/toolhive/pkg/vmcp/config".OptimizerConfig has no field or method Enabled)
|
|
Security Scan / Go Vulnerability Check:
pkg/vmcp/server/status_reporting.go#L95
healthMon.UpdateBackends undefined (type *health.Monitor has no field or method UpdateBackends)
|
|
Security Scan / Go Vulnerability Check:
pkg/vmcp/server/status_reporting.go#L63
healthMon.WaitForInitialHealthChecks undefined (type *health.Monitor has no field or method WaitForInitialHealthChecks)
|
|
Security Scan / Go Vulnerability Check:
pkg/vmcp/server/server.go#L983
s.config.Optimizer.HandleSessionRegistration undefined (type optimizer.Optimizer has no field or method HandleSessionRegistration)
|
|
Security Scan / Go Vulnerability Check:
pkg/vmcp/server/server.go#L657
s.optimizerIntegration.Close undefined (type optimizer.Optimizer has no field or method Close)
|
|
Security Scan / Go Vulnerability Check:
pkg/vmcp/server/server.go#L560
s.config.OptimizerConfig.Enabled undefined (type *"github.com/stacklok/toolhive/pkg/vmcp/config".OptimizerConfig has no field or method Enabled)
|
|
Security Scan / Go Vulnerability Check:
pkg/vmcp/server/server.go#L137
undefined: optimizer.Factory
|
|
Security Scan / Go Vulnerability Check:
pkg/vmcp/server/adapter/capability_adapter.go#L221
undefined: CreateOptimizerToolsFromProvider
|
|
Security Scan / Go Vulnerability Check:
pkg/vmcp/server/adapter/capability_adapter.go#L220
undefined: OptimizerHandlerProvider
|
|
Linting / Lint Go Code
issues found
|
|
Linting / Lint Go Code:
test/e2e/thv-operator/virtualmcp/virtualmcp_optimizer_test.go#L81
unknown field EmbeddingDimension in struct literal of type "github.com/stacklok/toolhive/pkg/vmcp/config".OptimizerConfig (typecheck)
|
|
Linting / Lint Go Code:
test/e2e/thv-operator/virtualmcp/virtualmcp_optimizer_test.go#L80
unknown field EmbeddingBackend in struct literal of type "github.com/stacklok/toolhive/pkg/vmcp/config".OptimizerConfig
|
|
Linting / Lint Go Code:
test/e2e/thv-operator/virtualmcp/virtualmcp_optimizer_test.go#L79
unknown field Enabled in struct literal of type "github.com/stacklok/toolhive/pkg/vmcp/config".OptimizerConfig
|
|
Tests / Test Go Code
Process completed with exit code 201.
|
|
Helm Charts / Lint and Test Helm Charts
No file matched to [/home/runner/work/toolhive/toolhive/**/*requirements*.txt,/home/runner/work/toolhive/toolhive/**/*requirements*.in,/home/runner/work/toolhive/toolhive/**/*constraints*.txt,/home/runner/work/toolhive/toolhive/**/*constraints*.in,/home/runner/work/toolhive/toolhive/**/pyproject.toml,/home/runner/work/toolhive/toolhive/**/uv.lock,/home/runner/work/toolhive/toolhive/**/*.py.lock]. The cache will never get invalidated. Make sure you have checked out the target repository and configured the cache-dependency-glob input correctly.
|
|
Security Scan / Go Vulnerability Check
Failed to restore: Cache service responded with 400
|