[python] Part 3 R2: relay worker auto-connect lifecycle (#341) #39
ci.yml
on: push
Lint (Ruff)
9s
Type Check (mypy)
18s
Dependency Security Audit
23s
Conformance Mark Coverage
3s
Matrix: Tests (pytest)
Annotations
12 errors and 6 warnings
|
Conformance Mark Coverage
Process completed with exit code 1.
|
|
ruff (F401):
tests/test_relay_session.py#L9
tests/test_relay_session.py:9:49: F401 `unittest.mock.patch` imported but unused
help: Remove unused import: `unittest.mock.patch`
|
|
ruff (F401):
tests/test_relay_session.py#L8
tests/test_relay_session.py:8:8: F401 `unittest` imported but unused
help: Remove unused import: `unittest`
|
|
ruff (F401):
tests/test_relay_session.py#L7
tests/test_relay_session.py:7:8: F401 `struct` imported but unused
help: Remove unused import: `struct`
|
|
ruff (I001):
tests/test_relay_session.py#L4
tests/test_relay_session.py:4:1: I001 Import block is un-sorted or un-formatted
help: Organize imports
|
|
ruff (F841):
src/iicp_client/relay_worker_client.py#L167
src/iicp_client/relay_worker_client.py:167:29: F841 Local variable `exc` is assigned to but never used
help: Remove assignment to unused variable `exc`
|
|
ruff (E501):
src/iicp_client/relay_worker_client.py#L164
src/iicp_client/relay_worker_client.py:164:101: E501 Line too long (112 > 100)
|
|
ruff (UP035):
src/iicp_client/relay_worker_client.py#L35
src/iicp_client/relay_worker_client.py:35:1: UP035 Import from `collections.abc` instead: `Awaitable`, `Callable`
help: Import from `collections.abc`
|
|
ruff (E501):
src/iicp_client/node.py#L803
src/iicp_client/node.py:803:101: E501 Line too long (104 > 100)
|
|
ruff (E501):
src/iicp_client/node.py#L547
src/iicp_client/node.py:547:101: E501 Line too long (123 > 100)
|
|
ruff (E501):
src/iicp_client/node.py#L538
src/iicp_client/node.py:538:101: E501 Line too long (111 > 100)
|
|
Type Check (mypy)
Process completed with exit code 1.
|
|
Conformance Mark Coverage
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint (Ruff)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Type Check (mypy)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Tests (pytest) (3.11)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Dependency Security Audit
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Tests (pytest) (3.12)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-python@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|