Skip to content

test: achieve 98% coverage (7,947 tests) #148

test: achieve 98% coverage (7,947 tests)

test: achieve 98% coverage (7,947 tests) #148

Triggered via pull request March 16, 2026 15:40
Status Success
Total duration 7m 3s
Artifacts

test.yml

on: pull_request
Matrix: test
Fit to window
Zoom out
Zoom in

Annotations

12 errors and 4 warnings
Lint
Process completed with exit code 1.
ruff (E402): src/openbrowser/agent/service.py#L26
src/openbrowser/agent/service.py:26:1: E402 Module level import not at top of file
ruff (E402): src/openbrowser/agent/service.py#L25
src/openbrowser/agent/service.py:25:1: E402 Module level import not at top of file
ruff (E402): src/openbrowser/agent/service.py#L24
src/openbrowser/agent/service.py:24:1: E402 Module level import not at top of file
ruff (F841): src/openbrowser/agent/prompts.py#L212
src/openbrowser/agent/prompts.py:212:4: F841 Local variable `current_page_position` is assigned to but never used help: Remove assignment to unused variable `current_page_position`
ruff (F841): src/openbrowser/agent/message_manager/service.py#L189
src/openbrowser/agent/message_manager/service.py:189:3: F841 Local variable `result_len` is assigned to but never used help: Remove assignment to unused variable `result_len`
ruff (F841): src/openbrowser/agent/gif.py#L251
src/openbrowser/agent/gif.py:251:2: F841 Local variable `max_font_size` is assigned to but never used help: Remove assignment to unused variable `max_font_size`
ruff (F841): src/openbrowser/agent/gif.py#L124
src/openbrowser/agent/gif.py:124:3: F841 Local variable `goal_font` is assigned to but never used help: Remove assignment to unused variable `goal_font`
ruff (F841): src/openbrowser/actor/element.py#L418
src/openbrowser/actor/element.py:418:4: F841 Local variable `focused_successfully` is assigned to but never used help: Remove assignment to unused variable `focused_successfully`
ruff (F841): src/openbrowser/actor/element.py#L360
src/openbrowser/actor/element.py:360:25: F841 Local variable `js_e` is assigned to but never used help: Remove assignment to unused variable `js_e`
ruff (E402): src/openbrowser/__init__.py#L32
src/openbrowser/__init__.py:32:1: E402 Module level import not at top of file
Type Check
Process completed with exit code 1.
Lint
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, astral-sh/setup-uv@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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
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, astral-sh/setup-uv@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
Test Python 3.12 on macos-latest
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, astral-sh/setup-uv@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/
Test Python 3.12 on ubuntu-latest
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/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea, actions/setup-python@v5, astral-sh/setup-uv@v5. Actions will be forced to run with Node.js 24 by default starting June 2nd, 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/