chore(deps): update mcp requirement from <2.0.0,>=1.28.1 to >=2.1.1,<3.0.0 in /chatbot-app/agentcore #290
Workflow file for this run
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: PR Check | |
| on: | |
| pull_request: | |
| branches: [main] | |
| permissions: | |
| contents: read | |
| jobs: | |
| changes: | |
| name: Detect changed paths | |
| runs-on: ubuntu-latest | |
| outputs: | |
| backend: ${{ steps.filter.outputs.backend }} | |
| gateway: ${{ steps.filter.outputs.gateway }} | |
| frontend: ${{ steps.filter.outputs.frontend }} | |
| a2a: ${{ steps.filter.outputs.a2a }} | |
| mcp: ${{ steps.filter.outputs.mcp }} | |
| infra: ${{ steps.filter.outputs.infra }} | |
| mobile: ${{ steps.filter.outputs.mobile }} | |
| telegram: ${{ steps.filter.outputs.telegram }} | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: dorny/paths-filter@v4 | |
| id: filter | |
| with: | |
| filters: | | |
| backend: | |
| - 'chatbot-app/agentcore/**' | |
| - '.github/workflows/pr-check.yml' | |
| gateway: | |
| - 'agentcore/gateway-tools/**' | |
| - '.github/workflows/pr-check.yml' | |
| frontend: | |
| - 'chatbot-app/frontend/**' | |
| - '.github/workflows/pr-check.yml' | |
| a2a: | |
| - 'agentcore/a2a-agents/**' | |
| - '.github/workflows/pr-check.yml' | |
| mcp: | |
| - 'agentcore/mcp-runtime/**' | |
| - '.github/workflows/pr-check.yml' | |
| infra: | |
| - 'infra/**' | |
| - '.github/workflows/pr-check.yml' | |
| mobile: | |
| - 'mobile-app/**' | |
| - '.github/workflows/pr-check.yml' | |
| telegram: | |
| - 'telegram-app/**' | |
| - '.github/workflows/pr-check.yml' | |
| backend: | |
| name: Backend (Python) | |
| needs: changes | |
| if: needs.changes.outputs.backend == 'true' | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: chatbot-app/agentcore | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.13" | |
| cache: pip | |
| cache-dependency-path: | | |
| chatbot-app/agentcore/requirements.txt | |
| chatbot-app/agentcore/requirements-dev.txt | |
| - name: Install dependencies | |
| run: pip install -r requirements.txt -r requirements-dev.txt | |
| - name: Lint | |
| run: python -m ruff check src/ | |
| - name: Unit tests | |
| run: python -m pytest tests/unit/ -v --tb=short | |
| - name: Integration tests | |
| run: python -m pytest tests/integration/ -v --tb=short | |
| - name: Build general subagent image | |
| run: docker build --file Dockerfile.subagent --tag general-subagent-ci . | |
| - name: Import general subagent application | |
| run: docker run --rm general-subagent-ci python -c "import src.subagent_main" | |
| gateway-lambda: | |
| name: Gateway Lambda (Python) | |
| needs: changes | |
| if: needs.changes.outputs.gateway == 'true' | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: agentcore/gateway-tools | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.13" | |
| cache: pip | |
| cache-dependency-path: agentcore/gateway-tools/requirements-dev.txt | |
| - name: Install dependencies | |
| run: pip install -r requirements-dev.txt | |
| - name: Lint | |
| run: python -m ruff check lambda-functions/ | |
| - name: Tests | |
| run: python -m pytest tests/ -v --tb=short | |
| frontend: | |
| name: Frontend (Next.js) | |
| needs: changes | |
| if: needs.changes.outputs.frontend == 'true' | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: chatbot-app/frontend | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: "24" | |
| cache: npm | |
| cache-dependency-path: chatbot-app/frontend/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Type check | |
| run: npm run type-check | |
| - name: Tests | |
| run: npm test | |
| - name: Build | |
| run: npm run build | |
| a2a-agents: | |
| name: A2A Agents (Python) | |
| needs: changes | |
| if: needs.changes.outputs.a2a == 'true' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.13" | |
| cache: pip | |
| cache-dependency-path: | | |
| agentcore/a2a-agents/research-agent/requirements-dev.txt | |
| agentcore/a2a-agents/code-agent/requirements-dev.txt | |
| - name: Install dev dependencies | |
| run: | | |
| pip install \ | |
| -r agentcore/a2a-agents/research-agent/requirements-dev.txt \ | |
| -r agentcore/a2a-agents/code-agent/requirements-dev.txt | |
| - name: Lint (research-agent) | |
| run: python -m ruff check agentcore/a2a-agents/research-agent/src/ | |
| - name: Lint (code-agent) | |
| run: python -m ruff check agentcore/a2a-agents/code-agent/src/ | |
| - name: Tests (research-agent) | |
| working-directory: agentcore/a2a-agents/research-agent | |
| run: python -m pytest tests/ -v --tb=short --timeout=30 | |
| - name: Tests (code-agent) | |
| working-directory: agentcore/a2a-agents/code-agent | |
| run: python -m pytest tests/ -v --tb=short --timeout=30 | |
| mcp-runtime: | |
| name: MCP Runtime (Python) | |
| needs: changes | |
| if: needs.changes.outputs.mcp == 'true' | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: agentcore/mcp-runtime | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.13" | |
| cache: pip | |
| cache-dependency-path: agentcore/mcp-runtime/requirements-dev.txt | |
| - name: Install dev dependencies | |
| run: pip install -r requirements-dev.txt | |
| - name: Lint | |
| run: python -m ruff check src/ | |
| - name: Tests | |
| run: python -m pytest tests/ -v --tb=short | |
| infrastructure: | |
| name: Infrastructure (Terraform) | |
| needs: changes | |
| if: needs.changes.outputs.infra == 'true' | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: hashicorp/setup-terraform@v4 | |
| with: | |
| terraform_version: "1.15.8" | |
| - name: Format check | |
| run: terraform fmt -check -recursive infra/ | |
| - name: Initialize without remote state | |
| working-directory: infra/environments/dev | |
| run: terraform init -backend=false -input=false | |
| - name: Validate | |
| working-directory: infra/environments/dev | |
| run: terraform validate -no-color | |
| - name: Check deploy script syntax | |
| run: bash -n infra/scripts/deploy.sh infra/scripts/test-api.sh | |
| - name: Check model smoke script syntax | |
| run: python3 -m py_compile infra/scripts/model-smoke.py | |
| - uses: actions/setup-python@v7 | |
| with: | |
| python-version: "3.13" | |
| - name: Install dispatcher test dependencies | |
| run: pip install boto3 pytest | |
| - name: Test mailbox and delegation dispatcher | |
| working-directory: infra/lambda/session-mailbox-dispatcher | |
| run: python -m pytest test_lambda_function.py -v --tb=short | |
| mobile: | |
| name: Mobile (TypeScript) | |
| needs: changes | |
| if: needs.changes.outputs.mobile == 'true' | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: mobile-app | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: "24" | |
| cache: npm | |
| cache-dependency-path: mobile-app/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Type check | |
| run: npx tsc --noEmit | |
| telegram: | |
| name: Telegram (TypeScript) | |
| needs: changes | |
| if: needs.changes.outputs.telegram == 'true' | |
| runs-on: ubuntu-latest | |
| defaults: | |
| run: | |
| working-directory: telegram-app | |
| steps: | |
| - uses: actions/checkout@v7 | |
| - uses: actions/setup-node@v7 | |
| with: | |
| node-version: "24" | |
| cache: npm | |
| cache-dependency-path: telegram-app/package-lock.json | |
| - name: Install dependencies | |
| run: npm ci | |
| - name: Build | |
| run: npm run build |