Fix graph HITL decision flow and update architecture docs #11
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: CI | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| push: | |
| branches: | |
| - main | |
| workflow_dispatch: | |
| permissions: | |
| contents: read | |
| concurrency: | |
| group: ci-${{ github.ref }} | |
| cancel-in-progress: true | |
| jobs: | |
| tests: | |
| name: Tests (Python 3.11) | |
| runs-on: ubuntu-latest | |
| timeout-minutes: 25 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Setup Python | |
| uses: actions/setup-python@v5 | |
| with: | |
| python-version: "3.11" | |
| - name: Cache pip downloads | |
| uses: actions/cache@v4 | |
| with: | |
| path: ~/.cache/pip | |
| key: ${{ runner.os }}-pip-${{ hashFiles('requirements.txt', 'test-requirements.txt') }} | |
| restore-keys: | | |
| ${{ runner.os }}-pip- | |
| - name: Install dependencies | |
| run: | | |
| python -m pip install --upgrade pip | |
| pip install -r requirements.txt | |
| pip install -r test-requirements.txt | |
| - name: Prepare local sqlite directories | |
| run: mkdir -p data/checkpoints data/store data/rag | |
| - name: Run tests | |
| env: | |
| CHECKPOINT_DB_PATH: data/checkpoints/checkpoints_ci.db | |
| STORE_DB_PATH: data/store/store_ci.db | |
| LOCAL_RAG_DB_PATH: data/rag/local_rag_ci.db | |
| ENABLE_USER_AUTH: "true" | |
| USER_AUTH_SECRET: ci-user-auth-secret | |
| run: pytest -q service/test_service.py schema/test_schema.py | |
| docker-build-check: | |
| name: Docker Build Check | |
| runs-on: ubuntu-latest | |
| needs: tests | |
| timeout-minutes: 25 | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v4 | |
| - name: Build service image | |
| run: docker build -f docker/Dockerfile.service -t multi-agent-orchestration-service:ci . | |
| - name: Build app image | |
| run: docker build -f docker/Dockerfile.app -t multi-agent-orchestration-app:ci . |