Skip to content

Fix type narrowing for variable swaps after isinstance checks #22547

Fix type narrowing for variable swaps after isinstance checks

Fix type narrowing for variable swaps after isinstance checks #22547

Triggered via pull request June 18, 2026 08:05
Status Cancelled
Total duration 2m 24s
Artifacts

test.yml

on: pull_request
Test mypyc suite with 32-bit Python
1m 57s
Test mypyc suite with 32-bit Python
Matrix: main
Fit to window
Zoom out
Zoom in

Annotations

30 errors and 17 warnings
Formatting and code style with Black + ruff
Process completed with exit code 1.
Test mypyc suite with 32-bit Python
Canceling since a higher priority waiting request for Tests-fix-21586-variable-swap-narrowing exists
Test mypyc suite with 32-bit Python
The operation was canceled.
Parallel tests with py314-windows-64, interpreted
Canceling since a higher priority waiting request for Tests-fix-21586-variable-swap-narrowing exists
Parallel tests with py314-windows-64, interpreted
The operation was canceled.
Test suite with py314-windows-64
Canceling since a higher priority waiting request for Tests-fix-21586-variable-swap-narrowing exists
Test suite with py314-windows-64
The operation was canceled.
Test suite with py314t-ubuntu, mypyc-compiled
Canceling since a higher priority waiting request for Tests-fix-21586-variable-swap-narrowing exists
Test suite with py314t-ubuntu, mypyc-compiled
The operation was canceled.
Test suite with py313-ubuntu, mypyc-compiled
Canceling since a higher priority waiting request for Tests-fix-21586-variable-swap-narrowing exists
Test suite with py313-ubuntu, mypyc-compiled
The operation was canceled.
Test suite with py311-ubuntu
Canceling since a higher priority waiting request for Tests-fix-21586-variable-swap-narrowing exists
Test suite with py311-ubuntu
The operation was canceled.
Test suite with py314-ubuntu, mypyc-compiled
Canceling since a higher priority waiting request for Tests-fix-21586-variable-swap-narrowing exists
Test suite with py314-ubuntu, mypyc-compiled
The operation was canceled.
Test suite with py315-ubuntu, mypyc-compiled
Canceling since a higher priority waiting request for Tests-fix-21586-variable-swap-narrowing exists
Test suite with py315-ubuntu, mypyc-compiled
The operation was canceled.
Test suite with py310-ubuntu, mypyc-compiled
Canceling since a higher priority waiting request for Tests-fix-21586-variable-swap-narrowing exists
Test suite with py310-ubuntu, mypyc-compiled
The operation was canceled.
mypyc runtime tests with py310-ubuntu
Canceling since a higher priority waiting request for Tests-fix-21586-variable-swap-narrowing exists
mypyc runtime tests with py310-ubuntu
The operation was canceled.
Parallel tests with py314-ubuntu, mypyc-compiled
Canceling since a higher priority waiting request for Tests-fix-21586-variable-swap-narrowing exists
Parallel tests with py314-ubuntu, mypyc-compiled
The operation was canceled.
Test suite with py312-ubuntu
Canceling since a higher priority waiting request for Tests-fix-21586-variable-swap-narrowing exists
Test suite with py312-ubuntu
The operation was canceled.
Parallel tests with py314-ubuntu, interpreted
Canceling since a higher priority waiting request for Tests-fix-21586-variable-swap-narrowing exists
Parallel tests with py314-ubuntu, interpreted
The operation was canceled.
mypyc runtime tests with py313-macos
Canceling since a higher priority waiting request for Tests-fix-21586-variable-swap-narrowing exists
mypyc runtime tests with py313-macos
The operation was canceled.
Tests
Canceling since a higher priority waiting request for Tests-fix-21586-variable-swap-narrowing exists
Type check our own code (py310-ubuntu)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Formatting and code style with Black + ruff
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Type check our own code (py310-windows-64)
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test mypyc suite with 32-bit Python
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, gabrielfalcao/pyenv-action@v13. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Parallel tests with py314-windows-64, interpreted
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test suite with py314-windows-64
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test suite with py314t-ubuntu, mypyc-compiled
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test suite with py313-ubuntu, mypyc-compiled
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test suite with py311-ubuntu
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test suite with py314-ubuntu, mypyc-compiled
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test suite with py315-ubuntu, mypyc-compiled
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test suite with py310-ubuntu, mypyc-compiled
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
mypyc runtime tests with py310-ubuntu
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Parallel tests with py314-ubuntu, mypyc-compiled
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Test suite with py312-ubuntu
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
Parallel tests with py314-ubuntu, interpreted
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
mypyc runtime tests with py313-macos
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-python@v5. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/