Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions .github/workflows/ci-changes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,6 @@ on:
value: ${{ jobs.filter.outputs.e2e_response_api_redis }}
e2e_response_api_redis_cluster:
value: ${{ jobs.filter.outputs.e2e_response_api_redis_cluster }}
e2e_router_replay_postgres:
value: ${{ jobs.filter.outputs.e2e_router_replay_postgres }}
e2e_ml_model_selection:
value: ${{ jobs.filter.outputs.e2e_ml_model_selection }}
e2e_multi_endpoint:
Expand Down Expand Up @@ -87,7 +85,6 @@ jobs:
e2e_response_api: ${{ steps.changes.outputs.e2e_response_api }}
e2e_response_api_redis: ${{ steps.changes.outputs.e2e_response_api_redis }}
e2e_response_api_redis_cluster: ${{ steps.changes.outputs.e2e_response_api_redis_cluster }}
e2e_router_replay_postgres: ${{ steps.changes.outputs.e2e_router_replay_postgres }}
e2e_ml_model_selection: ${{ steps.changes.outputs.e2e_ml_model_selection }}
e2e_multi_endpoint: ${{ steps.changes.outputs.e2e_multi_endpoint }}
e2e_authz_rbac: ${{ steps.changes.outputs.e2e_authz_rbac }}
Expand Down Expand Up @@ -209,11 +206,6 @@ jobs:
e2e_response_api_redis_cluster:
- 'e2e/profiles/response-api-redis-cluster/**'
- 'deploy/kubernetes/response-api/redis-cluster.yaml'
e2e_router_replay_postgres:
- 'e2e/profiles/router-replay-postgres/**'
- 'deploy/kubernetes/router-replay/**'
- 'src/semantic-router/pkg/routerreplay/**'
- 'src/semantic-router/pkg/extproc/router_replay_setup.go'
e2e_ml_model_selection:
- 'e2e/profiles/ml-model-selection/**'
- 'src/semantic-router/pkg/modelselection/**'
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/integration-test-k8s.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ jobs:
[[ "${{ needs.changes.outputs.agent_exec }}" == "true" ]] || \
[[ "${{ github.event_name }}" == "schedule" ]] || \
[[ "${{ github.event_name }}" == "workflow_dispatch" ]]; then
echo 'profiles=["kubernetes", "dashboard", "router-replay-postgres"]' >> $GITHUB_OUTPUT
echo 'profiles=["kubernetes", "dashboard"]' >> $GITHUB_OUTPUT
echo 'should_run=true' >> $GITHUB_OUTPUT
echo "Running default baseline profiles due to common/core changes or push/schedule/manual trigger"
exit 0
Expand All @@ -62,7 +62,6 @@ jobs:
[[ "${{ needs.changes.outputs.e2e_multi_endpoint }}" == "true" ]] && profiles+=("multi-endpoint")
[[ "${{ needs.changes.outputs.e2e_authz_rbac }}" == "true" ]] && profiles+=("authz-rbac")
[[ "${{ needs.changes.outputs.e2e_streaming }}" == "true" ]] && profiles+=("streaming")
[[ "${{ needs.changes.outputs.e2e_router_replay_postgres }}" == "true" ]] && profiles+=("router-replay-postgres")

# Convert to JSON array
if [ ${#profiles[@]} -eq 0 ]; then
Expand Down
12 changes: 11 additions & 1 deletion .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,22 @@ repos:
hooks:
- id: supply-chain-security-scan
name: supply chain security scan (AST)
entry: python3 tools/security/ast_security_scanner.py scan . --fail-on HIGH
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'
language: system
pass_filenames: false
always_run: true
files: \.(py|go|js|ts|tsx|rs)$

# Repo-native changed-file lint gate
- repo: local
hooks:
- id: agent-changed-files-lint
name: agent changed-files lint
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 "$@"' --
language: system
pass_filenames: true
require_serial: true

# Commented out flake8 - only reports issues, doesn't auto-fix
# - repo: https://github.com/PyCQA/flake8
# rev: 7.3.0
Expand Down
Loading
Loading