Skip to content

Commit fa33e47

Browse files
committed
feat: implement decision-based routing with plugin architecture
Signed-off-by: bitliu <[email protected]>
1 parent 5ae7594 commit fa33e47

File tree

3 files changed

+15
-3
lines changed

3 files changed

+15
-3
lines changed

.github/workflows/integration-test-dynamic-config.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -153,4 +153,14 @@ jobs:
153153
EOF
154154
else
155155
echo "⚠️ Test report file not found!" >> $GITHUB_STEP_SUMMARY
156+
echo "" >> $GITHUB_STEP_SUMMARY
157+
echo "The E2E test framework did not generate a report file." >> $GITHUB_STEP_SUMMARY
158+
echo "This might indicate that the test failed before report generation." >> $GITHUB_STEP_SUMMARY
159+
fi
160+
161+
- name: Clean up
162+
if: always()
163+
run: |
164+
make e2e-cleanup || true
165+
156166

e2e/profiles/dynamic-config/crds/intelligentpool.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,6 @@ spec:
88
models:
99
- name: "base-model"
1010
reasoningFamily: "qwen3"
11-
piiPolicy:
12-
allowByDefault: false
1311
loras:
1412
- name: "science-expert"
1513
description: "Specialized for science domains: biology, chemistry, physics, health, engineering"

src/semantic-router/pkg/k8s/reconciler.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ import (
3232
"sigs.k8s.io/controller-runtime/pkg/cache"
3333
"sigs.k8s.io/controller-runtime/pkg/client"
3434
"sigs.k8s.io/controller-runtime/pkg/manager"
35+
"sigs.k8s.io/controller-runtime/pkg/metrics/server"
3536
)
3637

3738
// Reconciler reconciles IntelligentPool and IntelligentRoute CRDs
@@ -83,7 +84,10 @@ func NewReconciler(cfg ReconcilerConfig) (*Reconciler, error) {
8384
cfg.Namespace: {},
8485
},
8586
},
86-
// Metrics are disabled by default in newer versions
87+
// Disable metrics server to avoid port conflicts
88+
Metrics: server.Options{
89+
BindAddress: "0", // "0" disables the metrics server
90+
},
8791
}
8892

8993
// Create manager

0 commit comments

Comments
 (0)