Skip to content

Commit f1dd67d

Browse files
authored
Merge branch 'main' into issue-1517-stabilize-openai-anthropic-sdk
2 parents d838634 + 834ef8e commit f1dd67d

File tree

295 files changed

+20591
-7272
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

295 files changed

+20591
-7272
lines changed

.github/workflows/ci-changes.yml

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,8 +47,6 @@ on:
4747
value: ${{ jobs.filter.outputs.e2e_response_api_redis }}
4848
e2e_response_api_redis_cluster:
4949
value: ${{ jobs.filter.outputs.e2e_response_api_redis_cluster }}
50-
e2e_router_replay_postgres:
51-
value: ${{ jobs.filter.outputs.e2e_router_replay_postgres }}
5250
e2e_ml_model_selection:
5351
value: ${{ jobs.filter.outputs.e2e_ml_model_selection }}
5452
e2e_multi_endpoint:
@@ -87,7 +85,6 @@ jobs:
8785
e2e_response_api: ${{ steps.changes.outputs.e2e_response_api }}
8886
e2e_response_api_redis: ${{ steps.changes.outputs.e2e_response_api_redis }}
8987
e2e_response_api_redis_cluster: ${{ steps.changes.outputs.e2e_response_api_redis_cluster }}
90-
e2e_router_replay_postgres: ${{ steps.changes.outputs.e2e_router_replay_postgres }}
9188
e2e_ml_model_selection: ${{ steps.changes.outputs.e2e_ml_model_selection }}
9289
e2e_multi_endpoint: ${{ steps.changes.outputs.e2e_multi_endpoint }}
9390
e2e_authz_rbac: ${{ steps.changes.outputs.e2e_authz_rbac }}
@@ -209,11 +206,6 @@ jobs:
209206
e2e_response_api_redis_cluster:
210207
- 'e2e/profiles/response-api-redis-cluster/**'
211208
- 'deploy/kubernetes/response-api/redis-cluster.yaml'
212-
e2e_router_replay_postgres:
213-
- 'e2e/profiles/router-replay-postgres/**'
214-
- 'deploy/kubernetes/router-replay/**'
215-
- 'src/semantic-router/pkg/routerreplay/**'
216-
- 'src/semantic-router/pkg/extproc/router_replay_setup.go'
217209
e2e_ml_model_selection:
218210
- 'e2e/profiles/ml-model-selection/**'
219211
- 'src/semantic-router/pkg/modelselection/**'

.github/workflows/integration-test-k8s.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
[[ "${{ needs.changes.outputs.agent_exec }}" == "true" ]] || \
4343
[[ "${{ github.event_name }}" == "schedule" ]] || \
4444
[[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
45-
echo 'profiles=["kubernetes", "dashboard", "router-replay-postgres"]' >> $GITHUB_OUTPUT
45+
echo 'profiles=["kubernetes", "dashboard"]' >> $GITHUB_OUTPUT
4646
echo 'should_run=true' >> $GITHUB_OUTPUT
4747
echo "Running default baseline profiles due to common/core changes or push/schedule/manual trigger"
4848
exit 0
@@ -62,7 +62,6 @@ jobs:
6262
[[ "${{ needs.changes.outputs.e2e_multi_endpoint }}" == "true" ]] && profiles+=("multi-endpoint")
6363
[[ "${{ needs.changes.outputs.e2e_authz_rbac }}" == "true" ]] && profiles+=("authz-rbac")
6464
[[ "${{ needs.changes.outputs.e2e_streaming }}" == "true" ]] && profiles+=("streaming")
65-
[[ "${{ needs.changes.outputs.e2e_router_replay_postgres }}" == "true" ]] && profiles+=("router-replay-postgres")
6665
6766
# Convert to JSON array
6867
if [ ${#profiles[@]} -eq 0 ]; then

.gitignore

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -208,3 +208,6 @@ src/training/cache_embeddings/aws/vllm-inventory-*.ini
208208
grafana/
209209
grafana-data/
210210
prometheus-data/
211+
212+
# Local dev makefile (not committed)
213+
Makefile.local

.pre-commit-config.yaml

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,12 +102,22 @@ repos:
102102
hooks:
103103
- id: supply-chain-security-scan
104104
name: supply chain security scan (AST)
105-
entry: python3 tools/security/ast_security_scanner.py scan . --fail-on HIGH
105+
entry: bash -c 'if [ ! -x ./.venv-agent/bin/python ]; then echo "run make precommit-install" >&2; exit 1; fi; exec ./.venv-agent/bin/python tools/security/ast_security_scanner.py scan . --fail-on HIGH'
106106
language: system
107107
pass_filenames: false
108108
always_run: true
109109
files: \.(py|go|js|ts|tsx|rs)$
110110

111+
# Repo-native changed-file lint gate
112+
- repo: local
113+
hooks:
114+
- id: agent-changed-files-lint
115+
name: agent changed-files lint
116+
entry: bash -c 'if [ ! -x ./.venv-agent/bin/python ]; then echo "run make precommit-install" >&2; exit 1; fi; exec ./.venv-agent/bin/python tools/agent/scripts/run_agent_precommit_lint.py "$@"' --
117+
language: system
118+
pass_filenames: true
119+
require_serial: true
120+
111121
# Commented out flake8 - only reports issues, doesn't auto-fix
112122
# - repo: https://github.com/PyCQA/flake8
113123
# rev: 7.3.0

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ _run:
2121
-f tools/make/pre-commit.mk \
2222
-f tools/make/security.mk \
2323
-f tools/make/docker.mk \
24+
-f tools/make/release.mk \
2425
-f tools/make/agent.mk \
2526
-f tools/make/dockerless.mk \
2627
-f tools/make/kube.mk \

0 commit comments

Comments
 (0)