debug(graph): surface _maybe_write_thread_title failures (#491) #59
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: Deploy LangGraph | |
| on: | |
| push: | |
| branches: [main] | |
| paths: | |
| - 'cockpit/langgraph/**/python/**' | |
| - 'cockpit/deep-agents/**/python/**' | |
| - 'examples/chat/python/**' | |
| - 'apps/cockpit/scripts/capability-registry.ts' | |
| - 'scripts/generate-shared-deployment-config.ts' | |
| - 'deployments/shared-dev/langgraph.json' | |
| workflow_dispatch: | |
| inputs: | |
| capability: | |
| description: 'Deprecated and ignored by the shared deployment flow' | |
| required: false | |
| type: string | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.ref }} | |
| cancel-in-progress: false | |
| permissions: | |
| contents: read | |
| env: | |
| DO_NOT_TRACK: '1' | |
| jobs: | |
| deploy: | |
| name: Deploy shared cockpit-dev to LangGraph Cloud | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v6.0.2 | |
| - uses: actions/setup-node@v6.3.0 | |
| with: | |
| node-version: 22 | |
| cache: npm | |
| - run: npm ci | |
| - uses: actions/setup-python@v5 | |
| with: | |
| python-version: '3.12' | |
| - name: Install uv | |
| run: pip install uv | |
| - name: Set up Docker Buildx | |
| uses: docker/setup-buildx-action@v3 | |
| - name: Generate shared deployment manifest | |
| run: npx tsx scripts/generate-shared-deployment-config.ts | |
| - name: Write .env for shared deployment | |
| run: | | |
| mkdir -p deployments/shared-dev | |
| echo "OPENAI_API_KEY=${{ secrets.OPENAI_API_KEY }}" > deployments/shared-dev/.env | |
| - name: Deploy cockpit-dev | |
| working-directory: deployments/shared-dev | |
| run: uv run --with langgraph-cli langgraph deploy --config langgraph.json --name cockpit-dev --no-wait | |
| env: | |
| LANGSMITH_API_KEY: ${{ secrets.LANGSMITH_API_KEY }} |