Resolve ai-service directly from the RAG routes, never the gateway

This commit is contained in:
2026-08-19 10:16:44 +07:00
parent f50ccfc5f7
commit 24c55d1627
13 changed files with 470 additions and 22 deletions
+22
View File
@@ -0,0 +1,22 @@
name: Disable apiGateway on production (restore chat)
# Emergency: enabling apiGateway sets API_GATEWAY_URL on the web pod, which
# every BFF route prefers over AI_SERVICE_URL -- but the gateway only proxies
# /auth/*, so chat/suggest/history/sections/section-text/feedback all break.
# See the script docstring for the full trace.
on:
workflow_dispatch: {}
jobs:
disable:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@v4
- name: Disable apiGateway and sync
env:
ARGOCD_PRACTICE_URL: ${{ secrets.ARGOCD_PRACTICE_URL }}
ARGOCD_PRACTICE_PASSWORD: ${{ secrets.ARGOCD_PRACTICE_PASSWORD }}
run: python3 .github/scripts/disable_api_gateway_live.py