Add test reproducing MCP session invalidation on server restart and implement partial fix #12
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: Copilot Setup Steps | |
| on: | |
| workflow_dispatch: | |
| push: | |
| paths: | |
| - .github/workflows/copilot-setup-steps.yml | |
| pull_request: | |
| paths: | |
| - .github/workflows/copilot-setup-steps.yml | |
| jobs: | |
| copilot-setup-steps: | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@v6 | |
| - name: Install uv | |
| uses: astral-sh/setup-uv@v7 | |
| with: | |
| version: "0.10.4" | |
| enable-cache: true | |
| - name: Setup Python | |
| uses: 'actions/setup-python@v6' | |
| with: | |
| python-version-file: "pyproject.toml" | |
| pip-install: "pre-commit" | |
| - name: Install dependencies | |
| run: uv sync --all-packages | |
| - name: Configure precommit | |
| run: pre-commit install |