Skip to content

armgit / avibe

Public Imported from GitHub
0

Make your computer a home for your AI partner. Avibe is the local-first Agent OS: Vibey, its built-in AI partner, works out of the box, and Claude Code, Codex & OpenCode run unchanged beside it — reach them from your browser, phone, or any chat app.

perf(ci): run unit shards as two lanes and split browser checks (#3019)

Call White51ccec0bb80b
diff --git a/.github/workflows/lint.yml b/.github/workflows/lint.yml
index 4a2f3f66d..f95cc0880 100644
--- a/.github/workflows/lint.yml
+++ b/.github/workflows/lint.yml
@@ -180,7 +180,29 @@ jobs:
# Browser interactions do not depend on lint, Vitest, or the production
# bundle. Run alongside UI validation; the required unit-tests gate waits
# for both lanes, including failure/cancellation of either one.
+ name: ui-browser-checks (${{ matrix.lane }})
runs-on: ubuntu-latest
+ strategy:
+ fail-fast: false
+ matrix:
+ # Each suite runs serially with one worker and its own dev server; the
+ # serial job had become the workflow's longest. Two lanes balanced from
+ # measured suite times (about 7.5 minutes each) run every suite once.
+ include:
+ - lane: 1
+ suites: |
+ npm run test:onboarding-fidelity -- hub-ownership.spec.ts provider-gate.spec.ts lineup.spec.ts
+ npm run test:home-media
+ npm run test:voice-shortcut
+ npm run test:chat-selection
+ - lane: 2
+ suites: |
+ npm run test:project-order
+ npm run test:inbox-return
+ npm run test:badge-triggers
+ npm run test:workbench-general -- sidebar-floating.spec.ts desktop-window-chrome.spec.ts composer-route-trigger.spec.ts skills-dialog.spec.ts
+ npm run test:chat-interactions
+ npm run test:pdf-preview
steps:
- uses: actions/checkout@fbc6f3992d24b796d5a048ff273f7fcc4a7b6c09 # v5
- uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
@@ -192,22 +214,41 @@ jobs:
working-directory: ui
run: npm ci
+ # `--with-deps` fetches about 120 MB of WebKit system packages from the
+ # runner's Ubuntu mirror, which has taken 13 to 44 minutes when the
+ # mirror is slow. apt keeps the packages it downloads in this directory,
+ # restored and saved per runner image and Playwright version; apt still
+ # resolves, verifies and installs every package, and fetches any it lacks.
+ - name: Keep Playwright system packages restorable
+ id: browser-packages
+ working-directory: ui
+ run: |
+ mkdir -p "$HOME/.cache/playwright-apt/partial"
+ echo "Dir::Cache::Archives \"$HOME/.cache/playwright-apt/\";" | sudo tee /etc/apt/apt.conf.d/99playwright-archives
+ prefix="playwright-apt-$ImageOS-"
+ echo "prefix=$prefix" >> "$GITHUB_OUTPUT"
+ echo "key=$prefix$ImageVersion-$(node -p "require('playwright-core/package.json').version")" >> "$GITHUB_OUTPUT"
+ - uses: actions/cache@55cc8345863c7cc4c66a329aec7e433d2d1c52a9 # v6.1.0
+ with:
+ path: ~/.cache/playwright-apt
+ key: ${{ runner.os }}-${{ runner.arch }}-${{ steps.browser-packages.outputs.key }}
+ restore-keys: ${{ runner.os }}-${{ runner.arch }}-${{ steps.browser-packages.outputs.prefix }}
+ - name: Install browsers
+ working-directory: ui
+ run: |
+ npx playwright install --with-deps chromium webkit
+ # Drop superseded packages, then hand apt's root-owned files to the
+ # runner user so the cache can save them.
+ sudo apt-get autoclean
+ sudo rm -rf "$HOME/.cache/playwright-apt/partial" "$HOME/.cache/playwright-apt/lock"
+ sudo chown -R "$(id -u):$(id -g)" "$HOME/.cache/playwright-apt"
+
- name: Test browser interactions
# Model Hub catalog/provider regression runs on the scheduled/manual
# model-hub-ui-regression workflow instead of blocking every PR.
working-directory: ui
run: |
- npx playwright install --with-deps chromium webkit
- npm run test:onboarding-fidelity -- hub-ownership.spec.ts provider-gate.spec.ts lineup.spec.ts
- npm run test:project-order
- npm run test:inbox-return
- npm run test:home-media
- npm run test:badge-triggers
- npm run test:workbench-general -- sidebar-floating.spec.ts desktop-window-chrome.spec.ts composer-route-trigger.spec.ts skills-dialog.spec.ts
- npm run test:voice-shortcut
- npm run test:chat-interactions
- npm run test:chat-selection
- npm run test:pdf-preview
+ ${{ matrix.suites }}
show-router-integration:
needs: changes
@@ -324,9 +365,9 @@ jobs:
strategy:
fail-fast: false
matrix:
- # Refreshed complete-run timings balance eight lanes below nine minutes
- # of file work, reducing the initial hosted-runner burst by one.
- # Preserve discovery, watchdogs and one-process-per-file isolation.
+ # Eight runners with two planned lanes each: the refreshed complete-run
+ # timings give each lane about five minutes of file work. Preserve
+ # discovery, watchdogs and one-process-per-file isolation.
shard: [0, 1, 2, 3, 4, 5, 6, 7]
shard-total: [8]
# Every pytest run in this job writes its junit report here (tests/conftest.py).
@@ -364,8 +405,10 @@ jobs:
# Only the tests run with loopback alone, so no process a test starts can
# reach past it; installing dependencies above still needs the network.
+ # The single-threaded per-file suite left three of the runner's four vCPUs
+ # idle; two planned lanes keep two file processes in flight per runner.
- name: Run unit tests shard ${{ matrix.shard }}/${{ matrix.shard-total }}
- run: bash scripts/ci_loopback_only.sh bash scripts/ci_unit_tests.sh "${{ matrix.shard }}" "${{ matrix.shard-total }}"
+ run: bash scripts/ci_loopback_only.sh python scripts/ci_unit_test_lanes.py "${{ matrix.shard }}" "${{ matrix.shard-total }}" 2
# Read by scenario-evidence, which proves each covered scenario row's
# evidence ran (scripts/ci_scenario_evidence.py).
diff --git a/docs/plans/ci-critical-path.md b/docs/plans/ci-critical-path.md
index 130d6c543..5710773b6 100644
--- a/docs/plans/ci-critical-path.md
+++ b/docs/plans/ci-critical-path.md
@@ -54,3 +54,50 @@ timestamps after the change before claiming an end-to-end improvement.
- Timing snapshots remain advisory and may age. Refresh from complete successful
shard logs, preserve the source run/commit, and validate against another run
before changing the snapshot again. Automatic refresh is outside this change.
+
+## October 2026: Runner Lanes and Browser Packages
+
+### Baseline
+
+Sample: the 45 latest successful `lint` runs up to master `f225b7a0b`
+(39 first attempts). Median elapsed was 18.7 minutes; the 90th percentile was
+64.6 minutes. Job setup was small: checkout, uv, and npm restores each took
+seconds and every dependency cache hit.
+
+- `ui-browser-checks` was the longest job in 18 of 39 first attempts.
+ It took a median of 14.7 minutes, running ten suites serially with one worker.
+ Each suite also spent about 30 seconds in `tsc` and Vite startup.
+- The slowest of the eight unit shards finished after 11 to 14 minutes.
+ The suite had grown to 616 files and about 4,900 launcher seconds,
+ and 77 files were missing from the timing snapshot.
+ Per-file `CI_TEST_METRICS` show that 86% of file wall time was process CPU
+ on a single core of a four-vCPU runner.
+ Process startup and shutdown accounted for about 13%.
+- Slow runs had two causes. In 3 of 45 runs, `playwright install --with-deps`
+ downloaded 119 MB of WebKit packages from the Ubuntu mirror in 13, 22, and 44
+ minutes; Playwright's CDN and `apt-get update` stayed fast. The other cause was
+ queue saturation. The organization has 20 hosted slots, and one run requests
+ 33 to 39 jobs. A burst of five Dependabot PRs took 65 to 75 minutes,
+ with up to 48 minutes of shard queueing.
+
+### Changes and Invariants
+
+- Each unit runner executes two planned lanes concurrently through
+ `scripts/ci_unit_test_lanes.py`. Shard `i` of `N` runs virtual shards `2i`
+ and `2i+1` of `2N`. The existing planner and launcher are unchanged, so
+ every discovered file still runs exactly once, in its own interpreter, with
+ its own watchdog. Any failing lane fails the shard. The lanes are child
+ processes, not shell background jobs, so test processes keep Python's
+ default SIGINT handling.
+- The timing snapshot is refreshed from three successful master runs and covers
+ all 615 files.
+- Browser suites run in two matrix lanes that are balanced by measured suite time.
+ Each suite still runs exactly once with the same arguments. The `unit-tests`
+ gate still requires the `ui-browser-checks` result, which fails if either
+ lane fails.
+- apt keeps Playwright's system packages in a directory that is cached per
+ runner image and Playwright version. apt still resolves, verifies, and
+ installs every package, and downloads any package that is missing.
+
+No tests, required checks, watchdogs, or runner labels are removed.
+Measured results for the pull request's own runs are recorded in the PR.
diff --git a/scripts/ci_scenario_evidence.py b/scripts/ci_scenario_evidence.py
index cd57aece7..ae0e5f24e 100644
--- a/scripts/ci_scenario_evidence.py
+++ b/scripts/ci_scenario_evidence.py
@@ -39,6 +39,8 @@ LINT_WORKFLOW = "lint.yml"
RELEASE_WORKFLOWS = ("model-hub-e2e.yml", "publish.yml")
# What scripts/ci_unit_tests.sh runs: every test file outside tests/e2e, without the integration marker.
UNIT_SHARD_ARGS = ("-m", "not integration", "--ignore=tests/e2e", "tests")
+# The launchers that run it: the serial runner, or its concurrent lanes on one runner.
+UNIT_SHARD_LAUNCHERS = ("scripts/ci_unit_tests.sh", "scripts/ci_unit_test_lanes.py")
# The job this gate runs after on every event: its reports must all be there,
# or a broken report would read as every case "not run".
UNIT_SHARD_JOB = "unit-test-shards"
@@ -245,7 +247,7 @@ def pytest_commands(workflow: Path) -> dict[str, list[tuple[str, ...]]]:
for job_id, job in jobs.items():
for step in job.get("steps") or []:
script = re.sub(r"[\\`]\r?\n", " ", step.get("run") or "")
- if "scripts/ci_unit_tests.sh" in script:
+ if any(launcher in script for launcher in UNIT_SHARD_LAUNCHERS):
commands.setdefault(job_id, []).append(UNIT_SHARD_ARGS)
continue
for line in script.splitlines():
diff --git a/scripts/ci_unit_test_lanes.py b/scripts/ci_unit_test_lanes.py
new file mode 100644
index 000000000..28aacbf4a
--- /dev/null
+++ b/scripts/ci_unit_test_lanes.py
@@ -0,0 +1,90 @@
+"""Run one CI unit-test shard as concurrent lanes on the same runner.
+
+A hosted Linux runner has four vCPUs, while the one-interpreter-per-file suite
+is single-threaded and CPU-bound: about 86% of each file's wall time is its own
+process CPU (``CI_TEST_METRICS``). One serial lane per runner therefore leaves
+most of every runner idle while the shards set the workflow's critical path.
+
+Shard ``i`` of ``N`` with ``L`` lanes runs virtual shards ``i*L .. i*L+L-1`` of
+``N*L``, each through ``scripts/ci_unit_tests.sh``. The same timing-balanced
+planner assigns every discovered file to exactly one virtual shard, so
+discovery, one process per file, per-file watchdogs and failure propagation are
+unchanged; only the number of files in flight on a runner grows to ``L``.
+
+Lanes are child processes of this foreground interpreter rather than shell
+background jobs: a shell without job control starts ``&`` jobs with SIGINT
+ignored, and every test process would inherit that, unlike the serial launcher.
+Each output line is prefixed with its lane so interleaved lanes stay readable.
+"""
+
+from __future__ import annotations
+
+import signal
+import subprocess
+import sys
+import threading
+from pathlib import Path
+
+LANE_RUNNER = Path(__file__).with_name("ci_unit_tests.sh")
+
+
+def main(argv: list[str] | None = None) -> int:
+ args = list(argv if argv is not None else sys.argv[1:])
+ if len(args) != 3 or any(not value.isdigit() for value in args):
+ print("Usage: ci_unit_test_lanes.py SHARD_INDEX SHARD_TOTAL LANES", file=sys.stderr)
+ return 2
+ shard_index, shard_total, lanes = (int(value) for value in args)
+ if shard_total < 1 or lanes < 1 or shard_index >= shard_total:
+ print("Shard index must be less than a positive shard total, with at least one lane.", file=sys.stderr)
+ return 2
+
+ output = sys.stdout.buffer
+ output_lock = threading.Lock()
+ processes = [
+ subprocess.Popen(
+ ["bash", str(LANE_RUNNER), str(shard_index * lanes + lane), str(shard_total * lanes)],
+ stdout=subprocess.PIPE,
+ stderr=subprocess.STDOUT,
+ )
+ for lane in range(lanes)
+ ]
+
+ def stop_lanes(signum, _frame) -> None:
+ for process in processes:
+ if process.poll() is None:
+ process.send_signal(signum)
+
+ signal.signal(signal.SIGTERM, stop_lanes)
+ signal.signal(signal.SIGINT, stop_lanes)
+
+ def relay(lane: int, process: subprocess.Popen) -> None:
+ prefix = f"[lane {lane}] ".encode()
+ assert process.stdout is not None
+ for line in process.stdout:
+ with output_lock:
+ output.write(prefix + line)
+ output.flush()
+
+ relays = [
+ threading.Thread(target=relay, args=(lane, process), daemon=True)
+ for lane, process in enumerate(processes)
+ ]
+ for thread in relays:
+ thread.start()
+ codes = [process.wait() for process in processes]
+ for thread in relays:
+ thread.join()
+
+ failed = [lane for lane, code in enumerate(codes) if code != 0]
+ print(
+ f"Shard {shard_index}/{shard_total}: {lanes} lane(s) finished with exit codes {codes}.",
+ flush=True,
+ )
+ if failed:
+ print(f"Failed lane(s): {failed}.", flush=True)
+ return 1
+ return 0
+
+
+if __name__ == "__main__":
+ raise SystemExit(main())
diff --git a/scripts/ci_unit_test_timings.json b/scripts/ci_unit_test_timings.json
index f275126e5..914375c9c 100644
--- a/scripts/ci_unit_test_timings.json
+++ b/scripts/ci_unit_test_timings.json
@@ -1,545 +1,620 @@
{
- "source": "Median per-file launcher elapsed seconds from successful GitHub Actions runs 38350418272 (f73106bd1e0e23bdbd6f85c7df5d382738b0a9e2), 38355727304 (9efb8b95c8e651bc0bb00cba9b5d581687ffdd34); single available sample for new files; tests/scenarios/test_catalog_citations.py from run 38941449093 (ce270754a3e3bb3c7660bf50cfc435b94179ab1c)",
+ "source": "Median per-file launcher elapsed seconds from the serial single-lane unit shards of successful master GitHub Actions runs 40454197088 (f225b7a0b3abb47a36d73ac7071e2a9c956e3f79), 40449777056 (8dca437fdf9393a527ad102407a9774466d9124c) and 40440095511 (6ae99554220f7757971f58bb78e9508b6b319060); tests/test_sentry_integration.py dropped after its removal.",
"durations_seconds": {
- "tests/agent_core/agent/test_compaction.py": 15.5,
- "tests/agent_core/agent/test_context.py": 7.5,
- "tests/agent_core/agent/test_fork.py": 3.0,
- "tests/agent_core/agent/test_loop.py": 7.5,
- "tests/agent_core/agent/test_outcomes.py": 7.5,
- "tests/agent_core/agent/test_projection.py": 6.5,
- "tests/agent_core/agent/test_recovery.py": 2.5,
- "tests/agent_core/ai/test_anthropic_prompt_cache.py": 4.0,
- "tests/agent_core/ai/test_pi_stream_differential.py": 3.0,
- "tests/agent_core/ai/test_provider_adapters.py": 10.0,
- "tests/agent_core/ai/test_transform_sse_errors.py": 7.0,
- "tests/agent_core/test_messages.py": 3.5,
- "tests/agent_core/tools/test_args.py": 3.0,
+ "tests/agent_core/agent/test_compaction.py": 21.0,
+ "tests/agent_core/agent/test_context.py": 10.0,
+ "tests/agent_core/agent/test_fork.py": 7.0,
+ "tests/agent_core/agent/test_loop.py": 4.0,
+ "tests/agent_core/agent/test_outcomes.py": 8.0,
+ "tests/agent_core/agent/test_projection.py": 6.0,
+ "tests/agent_core/agent/test_recovery.py": 3.0,
+ "tests/agent_core/ai/test_anthropic_deferred.py": 7.0,
+ "tests/agent_core/ai/test_anthropic_prompt_cache.py": 2.0,
+ "tests/agent_core/ai/test_claude_thinking.py": 2.0,
+ "tests/agent_core/ai/test_hosted_parsing.py": 7.0,
+ "tests/agent_core/ai/test_hosted_pause_turn.py": 3.0,
+ "tests/agent_core/ai/test_hosted_replay.py": 3.0,
+ "tests/agent_core/ai/test_hosted_requests.py": 3.0,
+ "tests/agent_core/ai/test_hosted_transform.py": 3.0,
+ "tests/agent_core/ai/test_image_limits.py": 5.0,
+ "tests/agent_core/ai/test_pi_stream_differential.py": 2.0,
+ "tests/agent_core/ai/test_provider_adapters.py": 9.0,
+ "tests/agent_core/ai/test_transform_sse_errors.py": 3.0,
+ "tests/agent_core/test_hosted_messages.py": 3.0,
+ "tests/agent_core/test_messages.py": 3.0,
+ "tests/agent_core/test_web_fetch_records.py": 2.0,
+ "tests/agent_core/tools/test_args.py": 2.0,
"tests/agent_core/tools/test_bash.py": 19.0,
- "tests/agent_core/tools/test_file_kinds.py": 2.5,
+ "tests/agent_core/tools/test_file_kinds.py": 3.0,
"tests/agent_core/tools/test_jobs.py": 11.0,
- "tests/agent_core/tools/test_jobs_windows.py": 0.0,
- "tests/agent_core/tools/test_normalize.py": 6.5,
- "tests/agent_core/tools/test_powershell.py": 2.0,
- "tests/agent_core/tools/test_read.py": 2.5,
- "tests/agent_core/tools/test_write_edit.py": 8.0,
- "tests/scenarios/auth_setup/test_auth_setup_scenarios.py": 57.0,
+ "tests/agent_core/tools/test_jobs_windows.py": 2.0,
+ "tests/agent_core/tools/test_normalize.py": 5.0,
+ "tests/agent_core/tools/test_powershell.py": 3.0,
+ "tests/agent_core/tools/test_read.py": 3.0,
+ "tests/agent_core/tools/test_write_edit.py": 9.0,
+ "tests/scenarios/auth_setup/test_auth_setup_scenarios.py": 48.0,
"tests/scenarios/memory_upgrade_compatibility/test_catalog.py": 2.0,
"tests/scenarios/message_delivery/test_message_delivery_scenarios.py": 4.0,
"tests/scenarios/model_hub/test_model_hub_catalog.py": 7.0,
- "tests/scenarios/model_hub/test_model_hub_configured_route_scenarios.py": 4.0,
- "tests/scenarios/model_hub/test_model_hub_live_resolution_scenarios.py": 4.0,
+ "tests/scenarios/model_hub/test_model_hub_configured_route_scenarios.py": 5.0,
+ "tests/scenarios/model_hub/test_model_hub_live_resolution_scenarios.py": 5.0,
"tests/scenarios/model_hub/test_model_hub_migration_scenarios.py": 7.0,
"tests/scenarios/model_hub/test_model_hub_native_oauth_scenarios.py": 3.0,
"tests/scenarios/model_hub/test_model_hub_turn_contract_scenarios.py": 3.0,
- "tests/scenarios/model_hub/test_model_hub_valuation_scenarios.py": 2.5,
- "tests/scenarios/permissions/test_cli_invocation_authority.py": 11.5,
- "tests/scenarios/permissions/test_deferred_authority_provenance.py": 9.5,
+ "tests/scenarios/model_hub/test_model_hub_valuation_scenarios.py": 2.0,
+ "tests/scenarios/permissions/test_cli_invocation_authority.py": 11.0,
+ "tests/scenarios/permissions/test_deferred_authority_provenance.py": 9.0,
"tests/scenarios/permissions/test_editor_reservation_and_fork.py": 9.0,
- "tests/scenarios/permissions/test_effective_target_preflight.py": 43.5,
- "tests/scenarios/permissions/test_member_instance_operations.py": 12.5,
+ "tests/scenarios/permissions/test_effective_target_preflight.py": 35.0,
+ "tests/scenarios/permissions/test_member_instance_operations.py": 14.0,
"tests/scenarios/permissions/test_permissions_scenarios.py": 5.0,
- "tests/scenarios/test_catalog_citations.py": 57.0,
- "tests/test_admin_notifications.py": 2.0,
+ "tests/scenarios/test_catalog_citations.py": 48.0,
+ "tests/test_admin_notifications.py": 3.0,
"tests/test_agent_activity_service.py": 8.0,
- "tests/test_agent_auth_service.py": 4.5,
+ "tests/test_agent_auth_service.py": 5.0,
"tests/test_agent_backend_alive.py": 3.0,
- "tests/test_agent_backend_catalog.py": 2.5,
- "tests/test_agent_context_seq_migration.py": 3.0,
+ "tests/test_agent_backend_catalog.py": 3.0,
+ "tests/test_agent_context_seq_migration.py": 4.0,
"tests/test_agent_events_retention.py": 9.0,
- "tests/test_agent_graph_service.py": 4.5,
- "tests/test_agent_initiated_turn_fsm.py": 2.5,
- "tests/test_agent_input.py": 3.0,
- "tests/test_agent_install_failures.py": 2.5,
- "tests/test_agent_organization_onboarding.py": 8.5,
- "tests/test_agent_run_close_after.py": 3.0,
+ "tests/test_agent_graph_service.py": 8.0,
+ "tests/test_agent_initiated_turn_fsm.py": 3.0,
+ "tests/test_agent_input.py": 14.0,
+ "tests/test_agent_install_failures.py": 3.0,
+ "tests/test_agent_organization_onboarding.py": 8.0,
+ "tests/test_agent_output.py": 2.0,
+ "tests/test_agent_run_close_after.py": 7.0,
"tests/test_agent_run_target.py": 6.0,
- "tests/test_agent_service.py": 5.0,
+ "tests/test_agent_service.py": 4.0,
"tests/test_agent_silent_result.py": 2.0,
"tests/test_agent_steering.py": 19.0,
"tests/test_agent_stop_settlement.py": 3.0,
- "tests/test_agent_tool_policy.py": 2.5,
- "tests/test_agent_transcript.py": 5.5,
- "tests/test_agents_graph_route.py": 4.5,
- "tests/test_api_key_masking.py": 2.5,
- "tests/test_api_runtime_refresh.py": 2.5,
- "tests/test_api_save_config_merge.py": 26.0,
+ "tests/test_agent_tool_policy.py": 2.0,
+ "tests/test_agent_transcript.py": 8.0,
+ "tests/test_agents_graph_route.py": 4.0,
+ "tests/test_api_key_masking.py": 2.0,
+ "tests/test_api_runtime_refresh.py": 3.0,
+ "tests/test_api_save_config_merge.py": 22.0,
"tests/test_async_bridge.py": 2.0,
"tests/test_atomic_io.py": 3.0,
- "tests/test_audio_asr.py": 1.5,
- "tests/test_auth_pipeline.py": 2.5,
- "tests/test_avault_agent.py": 3.0,
- "tests/test_backend_connection.py": 5.0,
- "tests/test_backend_failure.py": 1.5,
- "tests/test_backend_failure_retry.py": 13.0,
+ "tests/test_audio_asr.py": 3.0,
+ "tests/test_auth_pipeline.py": 2.0,
+ "tests/test_avault_agent.py": 2.0,
+ "tests/test_avault_authorization.py": 3.0,
+ "tests/test_backend_connection.py": 8.0,
+ "tests/test_backend_failure.py": 3.0,
+ "tests/test_backend_failure_retry.py": 21.0,
"tests/test_backend_model_catalog.py": 3.0,
- "tests/test_backend_registration_contract.py": 6.5,
- "tests/test_backend_restart.py": 3.0,
- "tests/test_background_command_caller_context.py": 15.5,
+ "tests/test_backend_registration_contract.py": 8.0,
+ "tests/test_backend_restart.py": 4.0,
+ "tests/test_background_command_caller_context.py": 15.0,
"tests/test_background_work_banner.py": 16.0,
- "tests/test_bind_code_api.py": 3.5,
- "tests/test_bind_security.py": 3.0,
- "tests/test_blocking.py": 2.0,
- "tests/test_caller_context.py": 2.5,
- "tests/test_chat_discovery.py": 18.0,
+ "tests/test_bind_code_api.py": 4.0,
+ "tests/test_bind_security.py": 2.0,
+ "tests/test_blocking.py": 3.0,
+ "tests/test_caller_context.py": 2.0,
+ "tests/test_chat_discovery.py": 19.0,
"tests/test_ci_docs_only.py": 5.0,
"tests/test_ci_pipeline.py": 24.0,
+ "tests/test_ci_scenario_evidence.py": 11.0,
"tests/test_ci_test_fixtures.py": 5.0,
- "tests/test_ci_unit_test_shards.py": 3.5,
- "tests/test_citation_consumers.py": 6.0,
- "tests/test_citation_exits.py": 5.0,
- "tests/test_citations.py": 4.5,
+ "tests/test_ci_unit_test_shards.py": 4.0,
+ "tests/test_citation_consumers.py": 7.0,
+ "tests/test_citation_exits.py": 4.0,
+ "tests/test_citations.py": 4.0,
"tests/test_claude_agent_initiated_turn.py": 4.0,
- "tests/test_claude_agent_sessions.py": 3.5,
- "tests/test_claude_cli_path.py": 17.5,
- "tests/test_claude_container_sandbox.py": 1.5,
- "tests/test_claude_model_catalog.py": 2.5,
+ "tests/test_claude_agent_sessions.py": 4.0,
+ "tests/test_claude_cli_path.py": 11.0,
+ "tests/test_claude_container_sandbox.py": 3.0,
+ "tests/test_claude_model_catalog.py": 3.0,
"tests/test_claude_output_recovery_ledger.py": 6.0,
- "tests/test_claude_process_reaper.py": 3.5,
- "tests/test_claude_reasoning_options.py": 2.5,
+ "tests/test_claude_process_reaper.py": 5.0,
+ "tests/test_claude_reasoning_options.py": 3.0,
"tests/test_claude_receiver_result_settle.py": 3.0,
- "tests/test_claude_result_provenance.py": 4.0,
- "tests/test_claude_sdk_compat.py": 2.0,
- "tests/test_claude_session_recovery.py": 3.0,
- "tests/test_claude_subprocess_env.py": 2.0,
+ "tests/test_claude_result_provenance.py": 3.0,
+ "tests/test_claude_sdk_compat.py": 3.0,
+ "tests/test_claude_session_recovery.py": 4.0,
+ "tests/test_claude_subprocess_env.py": 3.0,
"tests/test_claude_token_usage.py": 3.0,
"tests/test_cli_agent_models.py": 3.0,
- "tests/test_cli_agent_run_schema.py": 10.0,
- "tests/test_cli_definition_read_projection.py": 10.0,
- "tests/test_cli_pagination.py": 12.5,
- "tests/test_cli_screenshot_command.py": 3.0,
- "tests/test_cli_setup_status.py": 2.0,
- "tests/test_cli_task_command.py": 29.0,
+ "tests/test_cli_agent_run_schema.py": 13.0,
+ "tests/test_cli_definition_read_projection.py": 11.0,
+ "tests/test_cli_detection_api.py": 7.0,
+ "tests/test_cli_health.py": 6.0,
+ "tests/test_cli_health_launch.py": 3.0,
+ "tests/test_cli_pagination.py": 19.0,
+ "tests/test_cli_repair.py": 12.0,
+ "tests/test_cli_screenshot_command.py": 2.0,
+ "tests/test_cli_session_list_scope.py": 19.0,
+ "tests/test_cli_setup_status.py": 3.0,
+ "tests/test_cli_task_command.py": 22.0,
"tests/test_cli_watch_command.py": 17.0,
- "tests/test_cloudflare_network.py": 2.5,
- "tests/test_cloudflared_runtime.py": 9.0,
- "tests/test_codex_agent.py": 6.0,
+ "tests/test_cloudflare_network.py": 3.0,
+ "tests/test_cloudflared_runtime.py": 12.0,
+ "tests/test_codex_agent.py": 5.0,
"tests/test_codex_api_auth.py": 3.0,
- "tests/test_codex_catalog_retention.py": 4.5,
- "tests/test_codex_citations.py": 4.5,
- "tests/test_codex_config.py": 2.5,
- "tests/test_codex_event_handler.py": 2.5,
- "tests/test_codex_launch_failure.py": 3.0,
- "tests/test_codex_native_prompt_baseline.py": 2.5,
- "tests/test_codex_process_match.py": 1.5,
- "tests/test_codex_prompt_delivery_contract.py": 1.0,
- "tests/test_codex_request_provenance.py": 2.5,
- "tests/test_codex_request_routing.py": 2.5,
+ "tests/test_codex_catalog_retention.py": 5.0,
+ "tests/test_codex_citations.py": 3.0,
+ "tests/test_codex_config.py": 2.0,
+ "tests/test_codex_event_handler.py": 3.0,
+ "tests/test_codex_launch_failure.py": 4.0,
+ "tests/test_codex_native_prompt_baseline.py": 3.0,
+ "tests/test_codex_process_match.py": 2.0,
+ "tests/test_codex_prompt_delivery_contract.py": 2.0,
+ "tests/test_codex_request_provenance.py": 3.0,
+ "tests/test_codex_request_routing.py": 3.0,
"tests/test_codex_runtime_generations.py": 3.0,
"tests/test_codex_session.py": 2.0,
- "tests/test_codex_token_usage.py": 2.5,
- "tests/test_codex_transport.py": 3.0,
- "tests/test_codex_turn_state.py": 2.5,
- "tests/test_command_handler_user_names.py": 3.5,
- "tests/test_command_runner.py": 6.5,
+ "tests/test_codex_token_usage.py": 3.0,
+ "tests/test_codex_transport.py": 2.0,
+ "tests/test_codex_turn_state.py": 3.0,
+ "tests/test_command_handler_user_names.py": 3.0,
+ "tests/test_command_runner.py": 7.0,
"tests/test_computer_cli.py": 4.0,
- "tests/test_computer_server.py": 4.5,
- "tests/test_computer_use.py": 2.5,
+ "tests/test_computer_js_kernel.py": 19.0,
+ "tests/test_computer_script_interactions.py": 3.0,
+ "tests/test_computer_script_sdk.py": 41.0,
+ "tests/test_computer_script_sessions.py": 3.0,
+ "tests/test_computer_server.py": 4.0,
+ "tests/test_computer_use.py": 2.0,
"tests/test_computer_use_backends.py": 2.0,
- "tests/test_config_write_transaction.py": 11.0,
- "tests/test_conftest_async_plugin_guard.py": 19.5,
+ "tests/test_config_write_transaction.py": 14.0,
+ "tests/test_conftest_async_plugin_guard.py": 21.0,
"tests/test_conftest_auth_home_isolation.py": 3.0,
- "tests/test_conftest_real_home_tripwire.py": 13.5,
- "tests/test_conftest_signal_guard.py": 7.5,
- "tests/test_control_ipc.py": 3.5,
- "tests/test_controller_ack.py": 2.0,
- "tests/test_controller_agent_status.py": 4.0,
- "tests/test_controller_config_reload.py": 2.5,
- "tests/test_controller_dispatch_loop.py": 3.5,
+ "tests/test_conftest_network_guard.py": 7.0,
+ "tests/test_conftest_real_home_tripwire.py": 15.0,
+ "tests/test_conftest_signal_guard.py": 6.0,
+ "tests/test_control_ipc.py": 4.0,
+ "tests/test_controller_ack.py": 3.0,
+ "tests/test_controller_agent_status.py": 3.0,
+ "tests/test_controller_config_reload.py": 2.0,
+ "tests/test_controller_dispatch_loop.py": 3.0,
"tests/test_controller_idle_cleanup.py": 3.0,
- "tests/test_controller_im_ready.py": 2.0,
- "tests/test_controller_model_hub_gate.py": 2.5,
+ "tests/test_controller_im_ready.py": 3.0,
+ "tests/test_controller_model_hub_gate.py": 2.0,
"tests/test_controller_platform_reconcile.py": 12.0,
- "tests/test_controller_trace_retention.py": 2.5,
- "tests/test_controller_vibe_agent_routing.py": 2.5,
- "tests/test_core_services_dispatch.py": 2.5,
- "tests/test_core_services_sessions.py": 8.5,
+ "tests/test_controller_trace_retention.py": 3.0,
+ "tests/test_controller_vibe_agent_routing.py": 3.0,
+ "tests/test_core_services_dispatch.py": 3.0,
+ "tests/test_core_services_sessions.py": 9.0,
"tests/test_core_services_settings.py": 5.0,
- "tests/test_cua_driver_packaging.py": 2.5,
+ "tests/test_cua_driver_packaging.py": 3.0,
"tests/test_delete_channel_scope.py": 2.0,
"tests/test_delivery_ack_reaction.py": 3.0,
- "tests/test_delivery_state_matrix.py": 3.5,
- "tests/test_dependency_inspection.py": 3.5,
- "tests/test_dependency_network.py": 3.0,
- "tests/test_desktop_backends.py": 39.5,
+ "tests/test_delivery_state_matrix.py": 3.0,
+ "tests/test_dependabot_config.py": 3.0,
+ "tests/test_dependency_inspection.py": 4.0,
+ "tests/test_dependency_network.py": 2.0,
+ "tests/test_desktop_backends.py": 55.0,
"tests/test_desktop_computer_capabilities.py": 3.0,
- "tests/test_desktop_release.py": 10.0,
- "tests/test_desktop_runtime.py": 3.0,
- "tests/test_desktop_runtime_bundle_builder.py": 2.5,
- "tests/test_desktop_runtime_stop.py": 34.0,
- "tests/test_desktop_updater.py": 2.5,
+ "tests/test_desktop_macos_signing.py": 2.0,
+ "tests/test_desktop_mini_session.py": 7.0,
+ "tests/test_desktop_release.py": 9.0,
+ "tests/test_desktop_runtime.py": 4.0,
+ "tests/test_desktop_runtime_bundle_builder.py": 5.0,
+ "tests/test_desktop_runtime_stop.py": 33.0,
+ "tests/test_desktop_update_status.py": 2.0,
+ "tests/test_desktop_updater.py": 3.0,
"tests/test_dev_state_migration_guard.py": 3.0,
- "tests/test_discord_api_retry.py": 2.5,
- "tests/test_discord_guild_settings.py": 10.5,
+ "tests/test_discord_api_retry.py": 2.0,
+ "tests/test_discord_guild_settings.py": 10.0,
"tests/test_discord_indicator_target.py": 3.0,
- "tests/test_discord_model_picker.py": 1.5,
- "tests/test_discord_reply_anchor.py": 2.5,
+ "tests/test_discord_mentions.py": 2.0,
+ "tests/test_discord_reply_anchor.py": 3.0,
"tests/test_discord_runtime.py": 3.0,
"tests/test_discovered_chats.py": 2.0,
"tests/test_dispatcher_stream_chunk.py": 3.0,
- "tests/test_distribution_artifacts.py": 2.0,
+ "tests/test_distribution_artifacts.py": 3.0,
"tests/test_dock_api.py": 6.0,
- "tests/test_docker_entrypoint_supervisor.py": 18.5,
- "tests/test_doctor_i18n.py": 6.0,
- "tests/test_event_loss_is_never_silent.py": 5.0,
- "tests/test_feedback_intake.py": 24.0,
- "tests/test_feedback_intake_artifacts.py": 10.0,
- "tests/test_feedback_intake_distribution.py": 2.5,
- "tests/test_feedback_intake_http.py": 3.5,
- "tests/test_feedback_intake_recovery.py": 39.5,
+ "tests/test_docker_entrypoint_supervisor.py": 19.0,
+ "tests/test_doctor_i18n.py": 7.0,
+ "tests/test_event_loss_is_never_silent.py": 6.0,
+ "tests/test_feedback_intake.py": 25.0,
+ "tests/test_feedback_intake_artifacts.py": 13.0,
+ "tests/test_feedback_intake_distribution.py": 2.0,
+ "tests/test_feedback_intake_http.py": 4.0,
+ "tests/test_feedback_intake_recovery.py": 43.0,
"tests/test_feishu_event_dispatcher.py": 2.0,
- "tests/test_feishu_hot_stop.py": 13.5,
+ "tests/test_feishu_hot_stop.py": 15.0,
"tests/test_feishu_post_messages.py": 2.0,
- "tests/test_feishu_reaction_emoji.py": 2.5,
- "tests/test_feishu_routing_card.py": 2.5,
- "tests/test_feishu_status_bubble_footer.py": 14.5,
- "tests/test_file_browser_backend.py": 5.5,
- "tests/test_file_search.py": 3.0,
- "tests/test_git_binary.py": 3.0,
- "tests/test_git_runtime.py": 2.5,
+ "tests/test_feishu_reaction_emoji.py": 3.0,
+ "tests/test_feishu_routing_card.py": 3.0,
+ "tests/test_feishu_status_bubble_footer.py": 15.0,
+ "tests/test_file_browser_backend.py": 7.0,
+ "tests/test_file_search.py": 2.0,
+ "tests/test_git_binary.py": 2.0,
+ "tests/test_git_runtime.py": 3.0,
"tests/test_git_runtime_release_guard.py": 2.0,
- "tests/test_github_release.py": 2.5,
- "tests/test_github_wait_common.py": 1.5,
+ "tests/test_github_release.py": 3.0,
+ "tests/test_github_wait_common.py": 3.0,
"tests/test_global_agents_md.py": 2.0,
- "tests/test_harness_definition_lifecycle.py": 6.5,
- "tests/test_harness_failure_retry.py": 10.0,
- "tests/test_harness_failure_visibility.py": 28.5,
- "tests/test_harness_health_projection.py": 7.5,
+ "tests/test_harness_definition_lifecycle.py": 7.0,
+ "tests/test_harness_failure_retry.py": 11.0,
+ "tests/test_harness_failure_visibility.py": 46.0,
+ "tests/test_harness_health_projection.py": 4.0,
"tests/test_harness_live_status.py": 7.0,
"tests/test_harness_payload_enrichment.py": 3.0,
"tests/test_harness_run_projection.py": 5.0,
"tests/test_harness_skill_guidance.py": 3.0,
- "tests/test_host_header_boundary.py": 2.5,
- "tests/test_i18n_backend_keys.py": 2.5,
- "tests/test_i18n_key_parity.py": 2.5,
+ "tests/test_host_header_boundary.py": 3.0,
+ "tests/test_hosted_activity.py": 4.0,
+ "tests/test_i18n_backend_keys.py": 3.0,
+ "tests/test_i18n_key_parity.py": 2.0,
"tests/test_im_backend_registration.py": 3.0,
- "tests/test_im_base_auth.py": 2.5,
- "tests/test_im_citation_delivery.py": 2.5,
- "tests/test_im_post_send_bookkeeping.py": 12.0,
- "tests/test_im_proxy_unification.py": 2.5,
- "tests/test_inbound_attachments.py": 2.5,
+ "tests/test_im_base_auth.py": 2.0,
+ "tests/test_im_citation_delivery.py": 3.0,
+ "tests/test_im_post_send_bookkeeping.py": 7.0,
+ "tests/test_im_proxy_unification.py": 2.0,
+ "tests/test_inbound_attachments.py": 3.0,
"tests/test_inbox_bridge.py": 3.0,
- "tests/test_inbox_events.py": 23.5,
- "tests/test_incus_regression.py": 13.0,
- "tests/test_incus_regression_supervisor.py": 2.5,
+ "tests/test_inbox_events.py": 23.0,
+ "tests/test_incus_regression.py": 14.0,
+ "tests/test_incus_regression_supervisor.py": 3.0,
"tests/test_incus_tenant_scaffold.py": 3.0,
- "tests/test_install_generation_retirement.py": 9.5,
- "tests/test_install_integrity.py": 11.5,
- "tests/test_install_script.py": 37.5,
- "tests/test_installer_uninstall.py": 51.0,
+ "tests/test_input_admission.py": 5.0,
+ "tests/test_install_generation_retirement.py": 9.0,
+ "tests/test_install_integrity.py": 12.0,
+ "tests/test_install_script.py": 31.0,
+ "tests/test_installer_uninstall.py": 49.0,
"tests/test_instance_authorization.py": 13.0,
- "tests/test_internal_client.py": 2.5,
+ "tests/test_internal_client.py": 3.0,
"tests/test_internal_client_timeouts.py": 2.0,
- "tests/test_internal_server.py": 24.5,
- "tests/test_latest_version_cache.py": 1.5,
- "tests/test_link_unit_delivery.py": 4.5,
- "tests/test_local_deps.py": 13.5,
- "tests/test_loop_watchdog.py": 4.5,
- "tests/test_macos_session_diagnostics.py": 2.5,
- "tests/test_managed_runtime.py": 5.5,
+ "tests/test_internal_server.py": 28.0,
+ "tests/test_latest_version_cache.py": 3.0,
+ "tests/test_link_unit_delivery.py": 4.0,
+ "tests/test_local_deps.py": 16.0,
+ "tests/test_loop_watchdog.py": 5.0,
+ "tests/test_loop_writers.py": 3.0,
+ "tests/test_macos_session_diagnostics.py": 3.0,
+ "tests/test_managed_runtime.py": 4.0,
"tests/test_managed_runtime_composite_artifacts.py": 3.0,
"tests/test_managed_skills.py": 3.0,
- "tests/test_markdown_escape_delivery.py": 2.5,
+ "tests/test_markdown_escape_delivery.py": 2.0,
"tests/test_media_types.py": 3.0,
- "tests/test_member_management_parity.py": 19.0,
+ "tests/test_member_management_parity.py": 22.0,
"tests/test_memory_removal.py": 3.0,
- "tests/test_message_context_helpers.py": 2.0,
- "tests/test_message_delivery_authority.py": 16.0,
- "tests/test_message_dispatcher_file_uploads.py": 3.0,
- "tests/test_message_dispatcher_interim.py": 2.5,
- "tests/test_message_dispatcher_platform_limits.py": 2.5,
- "tests/test_message_dispatcher_result_fallback.py": 2.5,
- "tests/test_message_dispatcher_scheduled.py": 8.0,
- "tests/test_message_dispatcher_status_bubble.py": 2.5,
- "tests/test_message_facts_generic.py": 2.0,
- "tests/test_message_handler_attachments.py": 2.0,
- "tests/test_message_handler_auth_setup.py": 2.5,
+ "tests/test_message_context_helpers.py": 3.0,
+ "tests/test_message_delivery_authority.py": 19.0,
+ "tests/test_message_dispatcher_file_uploads.py": 4.0,
+ "tests/test_message_dispatcher_interim.py": 3.0,
+ "tests/test_message_dispatcher_platform_limits.py": 3.0,
+ "tests/test_message_dispatcher_result_fallback.py": 3.0,
+ "tests/test_message_dispatcher_scheduled.py": 10.0,
+ "tests/test_message_dispatcher_status_bubble.py": 3.0,
+ "tests/test_message_dispatcher_turn_end.py": 11.0,
+ "tests/test_message_facts_generic.py": 3.0,
+ "tests/test_message_handler_attachments.py": 3.0,
+ "tests/test_message_handler_auth_setup.py": 3.0,
"tests/test_message_handler_harness_echo.py": 3.0,
- "tests/test_message_handler_missing_agent.py": 2.5,
- "tests/test_message_handler_typing.py": 3.0,
- "tests/test_message_handler_user_info.py": 2.5,
- "tests/test_message_mirror.py": 9.0,
- "tests/test_message_priority_cutover.py": 3.0,
+ "tests/test_message_handler_missing_agent.py": 3.0,
+ "tests/test_message_handler_typing.py": 4.0,
+ "tests/test_message_handler_user_info.py": 2.0,
+ "tests/test_message_mirror.py": 10.0,
+ "tests/test_message_priority_cutover.py": 2.0,
"tests/test_message_search.py": 5.0,
- "tests/test_message_type_catalog.py": 3.0,
- "tests/test_message_type_python_consumers.py": 2.5,
- "tests/test_messages_service.py": 6.0,
- "tests/test_migration_lock.py": 2.5,
+ "tests/test_message_type_catalog.py": 2.0,
+ "tests/test_message_type_python_consumers.py": 2.0,
+ "tests/test_messages_service.py": 11.0,
+ "tests/test_migration_lock.py": 5.0,
"tests/test_migration_release_guard.py": 13.0,
- "tests/test_model_hub_admission.py": 3.5,
- "tests/test_model_hub_api.py": 57.5,
- "tests/test_model_hub_authorities.py": 2.5,
+ "tests/test_model_hub_admission.py": 2.0,
+ "tests/test_model_hub_api.py": 60.0,
+ "tests/test_model_hub_authorities.py": 3.0,
"tests/test_model_hub_background_discovery.py": 5.0,
- "tests/test_model_hub_claude_login_migration.py": 2.0,
- "tests/test_model_hub_config.py": 34.5,
- "tests/test_model_hub_config_read_compatibility.py": 7.5,
- "tests/test_model_hub_connection_credentials.py": 2.0,
- "tests/test_model_hub_credential_address.py": 3.0,
+ "tests/test_model_hub_capability_evidence.py": 3.0,
+ "tests/test_model_hub_claude_caps.py": 2.0,
+ "tests/test_model_hub_claude_login_migration.py": 3.0,
+ "tests/test_model_hub_config.py": 37.0,
+ "tests/test_model_hub_config_read_compatibility.py": 7.0,
+ "tests/test_model_hub_connection_credentials.py": 3.0,
+ "tests/test_model_hub_credential_address.py": 4.0,
"tests/test_model_hub_credential_replacement.py": 3.0,
+ "tests/test_model_hub_declared_tools.py": 4.0,
"tests/test_model_hub_engine_build.py": 3.0,
- "tests/test_model_hub_engine_release_guard.py": 3.0,
- "tests/test_model_hub_failure_presentation.py": 4.5,
- "tests/test_model_hub_google.py": 3.5,
- "tests/test_model_hub_inference_wait.py": 11.0,
+ "tests/test_model_hub_engine_release_guard.py": 4.0,
+ "tests/test_model_hub_engine_response_headers.py": 4.0,
+ "tests/test_model_hub_evidence_rules.py": 4.0,
+ "tests/test_model_hub_failure_presentation.py": 4.0,
+ "tests/test_model_hub_fetch_chain.py": 7.0,
+ "tests/test_model_hub_fetch_policy.py": 2.0,
+ "tests/test_model_hub_fetch_tls.py": 4.0,
+ "tests/test_model_hub_fetch_transport.py": 20.0,
+ "tests/test_model_hub_google.py": 6.0,
+ "tests/test_model_hub_hosted_evidence.py": 3.0,
+ "tests/test_model_hub_hosted_executor.py": 3.0,
+ "tests/test_model_hub_hosted_images.py": 4.0,
+ "tests/test_model_hub_hosted_pinning.py": 4.0,
+ "tests/test_model_hub_hosted_tools_config.py": 3.0,
+ "tests/test_model_hub_hosted_tools_resolution.py": 3.0,
+ "tests/test_model_hub_hosted_wire_gate.py": 5.0,
+ "tests/test_model_hub_inference_wait.py": 10.0,
"tests/test_model_hub_injection.py": 3.0,
- "tests/test_model_hub_json_wire.py": 3.5,
- "tests/test_model_hub_l3.py": 14.0,
+ "tests/test_model_hub_json_wire.py": 4.0,
+ "tests/test_model_hub_keyless_exa.py": 3.0,
+ "tests/test_model_hub_l3.py": 13.0,
"tests/test_model_hub_legacy_opencode_migration.py": 3.0,
- "tests/test_model_hub_local_error_details.py": 10.0,
+ "tests/test_model_hub_local_error_details.py": 12.0,
+ "tests/test_model_hub_local_fetch.py": 10.0,
"tests/test_model_hub_migration_auth_mirror.py": 4.0,
- "tests/test_model_hub_migration_auth_recovery.py": 4.5,
- "tests/test_model_hub_migration_bearer.py": 4.0,
- "tests/test_model_hub_migration_custody_history.py": 11.5,
+ "tests/test_model_hub_migration_auth_recovery.py": 4.0,
+ "tests/test_model_hub_migration_bearer.py": 5.0,
+ "tests/test_model_hub_migration_custody_history.py": 12.0,
"tests/test_model_hub_migration_review_boundaries.py": 5.0,
"tests/test_model_hub_migration_shell.py": 3.0,
- "tests/test_model_hub_migration_source_identity.py": 4.0,
+ "tests/test_model_hub_migration_source_identity.py": 5.0,
"tests/test_model_hub_migration_static_cleanup.py": 8.0,
- "tests/test_model_hub_migration_transport.py": 4.0,
- "tests/test_model_hub_native_takeover.py": 5.5,
- "tests/test_model_hub_oauth.py": 3.0,
- "tests/test_model_hub_oauth_takeover.py": 3.0,
+ "tests/test_model_hub_migration_transport.py": 5.0,
+ "tests/test_model_hub_native_takeover.py": 6.0,
+ "tests/test_model_hub_oauth.py": 2.0,
+ "tests/test_model_hub_oauth_takeover.py": 2.0,
+ "tests/test_model_hub_opaque_provenance.py": 3.0,
"tests/test_model_hub_persisted_inventory.py": 4.0,
- "tests/test_model_hub_persisted_migration.py": 4.0,
- "tests/test_model_hub_pricing.py": 2.5,
- "tests/test_model_hub_progress.py": 2.5,
+ "tests/test_model_hub_persisted_migration.py": 3.0,
+ "tests/test_model_hub_pricing.py": 3.0,
+ "tests/test_model_hub_progress.py": 3.0,
"tests/test_model_hub_provenance.py": 4.0,
- "tests/test_model_hub_provisional_ownership.py": 4.0,
- "tests/test_model_hub_provisional_ownership_engine.py": 2.0,
- "tests/test_model_hub_quota.py": 2.5,
- "tests/test_model_hub_reasoning_tiers.py": 2.5,
- "tests/test_model_hub_recovery_evidence.py": 3.5,
- "tests/test_model_hub_replacement_transport.py": 4.5,
+ "tests/test_model_hub_provisional_ownership.py": 3.0,
+ "tests/test_model_hub_provisional_ownership_engine.py": 3.0,
+ "tests/test_model_hub_quota.py": 3.0,
+ "tests/test_model_hub_reasoning_tiers.py": 3.0,
+ "tests/test_model_hub_recovery_evidence.py": 3.0,
+ "tests/test_model_hub_replacement_transport.py": 4.0,
"tests/test_model_hub_request_body_budget.py": 6.0,
- "tests/test_model_hub_resolution.py": 3.5,
- "tests/test_model_hub_retention.py": 5.0,
+ "tests/test_model_hub_resolution.py": 5.0,
+ "tests/test_model_hub_retention.py": 4.0,
"tests/test_model_hub_retry_advice.py": 5.0,
- "tests/test_model_hub_retry_lifecycle.py": 21.5,
- "tests/test_model_hub_retry_policy.py": 4.5,
- "tests/test_model_hub_routing_modes.py": 3.5,
- "tests/test_model_hub_runtime.py": 35.0,
+ "tests/test_model_hub_retry_lifecycle.py": 28.0,
+ "tests/test_model_hub_retry_policy.py": 4.0,
+ "tests/test_model_hub_routing_modes.py": 6.0,
+ "tests/test_model_hub_runtime.py": 68.0,
"tests/test_model_hub_runtime_default_upgrade.py": 3.0,
- "tests/test_model_hub_scenario_adapter.py": 3.0,
- "tests/test_model_hub_shell_core_inventory.py": 48.0,
- "tests/test_model_hub_shell_writer_roles.py": 11.5,
+ "tests/test_model_hub_scenario_adapter.py": 2.0,
+ "tests/test_model_hub_search_chain.py": 6.0,
+ "tests/test_model_hub_search_custody.py": 4.0,
+ "tests/test_model_hub_search_settings.py": 5.0,
+ "tests/test_model_hub_search_transport.py": 2.0,
+ "tests/test_model_hub_service_acceptance_helpers.py": 3.0,
+ "tests/test_model_hub_service_usage.py": 3.0,
+ "tests/test_model_hub_shell_core_inventory.py": 47.0,
+ "tests/test_model_hub_shell_writer_roles.py": 10.0,
"tests/test_model_hub_source_identity.py": 4.0,
"tests/test_model_hub_source_probe.py": 5.0,
"tests/test_model_hub_state_private.py": 2.0,
- "tests/test_model_hub_structure_guards.py": 7.5,
- "tests/test_model_hub_takeover_integration.py": 3.5,
+ "tests/test_model_hub_streamed_overload.py": 3.0,
+ "tests/test_model_hub_streamed_overload_lifecycle.py": 3.0,
+ "tests/test_model_hub_structure_guards.py": 10.0,
+ "tests/test_model_hub_takeover_integration.py": 4.0,
"tests/test_model_hub_takeover_inventory.py": 5.0,
- "tests/test_model_hub_tool_names.py": 3.0,
- "tests/test_model_hub_transport_leases.py": 2.5,
- "tests/test_model_hub_turn_mode_stamp.py": 6.0,
- "tests/test_model_hub_unverified.py": 15.0,
- "tests/test_model_hub_usage.py": 5.5,
- "tests/test_model_hub_vibey_consumer.py": 5.0,
+ "tests/test_model_hub_tool_names.py": 4.0,
+ "tests/test_model_hub_transport_leases.py": 3.0,
+ "tests/test_model_hub_turn_mode_stamp.py": 10.0,
+ "tests/test_model_hub_unverified.py": 14.0,
+ "tests/test_model_hub_usage.py": 6.0,
+ "tests/test_model_hub_vibey_consumer.py": 8.0,
"tests/test_model_hub_vibey_contract_matrix.py": 3.0,
+ "tests/test_model_hub_web_fetch_readers.py": 6.0,
"tests/test_model_selection_addresses.py": 4.0,
"tests/test_models_dev_catalog.py": 3.0,
"tests/test_multi_platform_runtime.py": 15.0,
- "tests/test_native_login_single_flight.py": 2.5,
+ "tests/test_native_login_single_flight.py": 2.0,
"tests/test_native_login_structure_guards.py": 5.0,
- "tests/test_native_oauth_store.py": 3.5,
- "tests/test_native_process_inventory.py": 9.0,
- "tests/test_native_session_providers.py": 2.0,
+ "tests/test_native_oauth_store.py": 4.0,
+ "tests/test_native_process_inventory.py": 8.0,
+ "tests/test_native_session_providers.py": 3.0,
"tests/test_native_takeover_lifecycle.py": 4.0,
- "tests/test_native_writer_custody.py": 3.0,
- "tests/test_oauth_callback_diagnostics.py": 3.5,
+ "tests/test_native_writer_custody.py": 4.0,
+ "tests/test_oauth_callback_diagnostics.py": 3.0,
"tests/test_opencode_caller_context.py": 3.0,
"tests/test_opencode_default_provider_routing.py": 3.0,
- "tests/test_opencode_directory_bootstrap.py": 8.0,
+ "tests/test_opencode_directory_bootstrap.py": 7.0,
"tests/test_opencode_generations.py": 8.0,
- "tests/test_opencode_model_hub_retry.py": 3.0,
- "tests/test_opencode_provider_base_url.py": 2.5,
+ "tests/test_opencode_model_hub_retry.py": 2.0,
+ "tests/test_opencode_provider_base_url.py": 3.0,
"tests/test_opencode_provider_catalog_coercion.py": 3.0,
- "tests/test_opencode_provider_keys_reader.py": 2.5,
- "tests/test_opencode_reasoning_variants.py": 2.5,
+ "tests/test_opencode_provider_keys_reader.py": 3.0,
+ "tests/test_opencode_reasoning_variants.py": 2.0,
"tests/test_opencode_restore_polls.py": 7.0,
- "tests/test_opencode_server.py": 7.5,
- "tests/test_opencode_session_manager.py": 2.5,
- "tests/test_opencode_steer_superseded_reply.py": 1.5,
+ "tests/test_opencode_server.py": 7.0,
+ "tests/test_opencode_session_manager.py": 3.0,
+ "tests/test_opencode_steer_superseded_reply.py": 3.0,
"tests/test_opencode_stop_receipt.py": 2.0,
- "tests/test_org_sender_identity.py": 4.0,
- "tests/test_origin_links.py": 2.5,
- "tests/test_pagination.py": 2.5,
- "tests/test_pairing_recovery.py": 59.5,
- "tests/test_permissions.py": 13.5,
+ "tests/test_org_sender_identity.py": 5.0,
+ "tests/test_origin_links.py": 3.0,
+ "tests/test_pagination.py": 2.0,
+ "tests/test_pairing_recovery.py": 71.0,
+ "tests/test_permissions.py": 15.0,
"tests/test_platform_registry.py": 3.0,
- "tests/test_prepare_regression.py": 3.5,
- "tests/test_private_fs.py": 3.0,
+ "tests/test_prepare_regression.py": 2.0,
+ "tests/test_presentation.py": 2.0,
+ "tests/test_private_fs.py": 2.0,
"tests/test_process_diagnostics.py": 2.0,
- "tests/test_process_isolation.py": 3.0,
- "tests/test_process_reaper.py": 42.0,
- "tests/test_process_start_token.py": 3.0,
+ "tests/test_process_isolation.py": 4.0,
+ "tests/test_process_reaper.py": 39.0,
+ "tests/test_process_start_token.py": 4.0,
"tests/test_processing_indicator_reaction.py": 2.0,
"tests/test_project_access_service.py": 5.0,
"tests/test_project_access_sync.py": 4.0,
- "tests/test_project_agents_md.py": 2.5,
- "tests/test_projects_service.py": 12.0,
- "tests/test_prompt_render_export.py": 14.0,
- "tests/test_prompt_studio_catalog.py": 3.0,
+ "tests/test_project_agents_md.py": 3.0,
+ "tests/test_projects_service.py": 11.0,
+ "tests/test_prompt_render_export.py": 11.0,
+ "tests/test_prompt_studio_catalog.py": 4.0,
+ "tests/test_provider_overlay.py": 2.0,
"tests/test_pypi_shim.py": 2.0,
- "tests/test_queued_image_delivery.py": 9.0,
- "tests/test_queued_message_writer_policy.py": 6.0,
- "tests/test_read_only_query.py": 2.5,
- "tests/test_read_only_query_vault_denylist.py": 3.0,
+ "tests/test_queued_image_delivery.py": 8.0,
+ "tests/test_queued_message_writer_policy.py": 5.0,
+ "tests/test_read_only_query.py": 3.0,
+ "tests/test_read_only_query_vault_denylist.py": 2.0,
"tests/test_regression_script.py": 3.0,
- "tests/test_release_checkout_pinning.py": 1.5,
- "tests/test_release_mirror.py": 2.0,
+ "tests/test_release_checkout_pinning.py": 3.0,
+ "tests/test_release_mirror.py": 3.0,
"tests/test_release_package_version.py": 3.0,
- "tests/test_release_show_runtime.py": 2.5,
- "tests/test_release_verification.py": 66.5,
- "tests/test_remote_access_vibe_cloud.py": 19.0,
- "tests/test_remote_authorization_revision.py": 24.0,
- "tests/test_remote_resource_acl_sync.py": 8.5,
- "tests/test_removed_feature_contract.py": 7.5,
- "tests/test_reply_enhancer_platform.py": 9.0,
- "tests/test_reply_enhancer_secret_requests.py": 2.5,
+ "tests/test_release_show_runtime.py": 2.0,
+ "tests/test_release_verification.py": 70.0,
+ "tests/test_remote_access_vibe_cloud.py": 14.0,
+ "tests/test_remote_authorization_revision.py": 37.0,
+ "tests/test_remote_resource_acl_sync.py": 9.0,
+ "tests/test_removed_feature_contract.py": 10.0,
+ "tests/test_reply_enhancer_platform.py": 10.0,
+ "tests/test_reply_enhancer_secret_requests.py": 3.0,
"tests/test_repository_guidance.py": 2.0,
"tests/test_reserved_native_session_id.py": 2.0,
- "tests/test_resource_access_service.py": 6.5,
- "tests/test_resource_acl_agents.py": 7.0,
+ "tests/test_resource_access_service.py": 11.0,
+ "tests/test_resource_acl_agents.py": 6.0,
"tests/test_resource_acl_show_pages.py": 8.0,
"tests/test_resource_acl_vaults.py": 7.0,
- "tests/test_resource_governance.py": 2.5,
- "tests/test_restart_supervisor.py": 3.5,
- "tests/test_result_message_token_field.py": 2.5,
+ "tests/test_resource_governance.py": 2.0,
+ "tests/test_restart_supervisor.py": 4.0,
+ "tests/test_result_message_token_field.py": 3.0,
"tests/test_resume_session.py": 3.0,
"tests/test_retired_companion.py": 3.0,
- "tests/test_ripgrep_runtime.py": 2.0,
- "tests/test_routing_modal_selection.py": 3.0,
- "tests/test_running_agents_service.py": 3.5,
- "tests/test_runtime_activation.py": 3.0,
- "tests/test_runtime_commands.py": 2.5,
+ "tests/test_ripgrep_runtime.py": 3.0,
+ "tests/test_route_menu.py": 2.0,
+ "tests/test_running_agents_service.py": 3.0,
+ "tests/test_runtime_activation.py": 5.0,
+ "tests/test_runtime_commands.py": 3.0,
"tests/test_runtime_generations.py": 3.0,
- "tests/test_runtime_log_sink.py": 2.5,
+ "tests/test_runtime_log_sink.py": 3.0,
"tests/test_runtime_ownership.py": 8.0,
- "tests/test_runtime_process_scan.py": 2.5,
- "tests/test_runtime_recovery.py": 6.0,
- "tests/test_runtime_scope_bootstrap.py": 1.5,
- "tests/test_runtime_service_lock.py": 6.5,
- "tests/test_runtime_spawn_ownership.py": 5.5,
- "tests/test_runtime_work_supervisor.py": 2.5,
- "tests/test_save_opencode_provider_auth.py": 9.5,
- "tests/test_scheduled_command_task_integration.py": 10.0,
- "tests/test_scheduled_tasks.py": 90.5,
- "tests/test_service_lock_record.py": 10.5,
+ "tests/test_runtime_process_scan.py": 2.0,
+ "tests/test_runtime_recovery.py": 7.0,
+ "tests/test_runtime_scope_bootstrap.py": 2.0,
+ "tests/test_runtime_service_lock.py": 9.0,
+ "tests/test_runtime_spawn_ownership.py": 7.0,
+ "tests/test_runtime_work_supervisor.py": 2.0,
+ "tests/test_save_opencode_provider_auth.py": 10.0,
+ "tests/test_scheduled_command_task_integration.py": 11.0,
+ "tests/test_scheduled_tasks.py": 95.0,
+ "tests/test_service_lock_record.py": 11.0,
"tests/test_service_logging_handlers.py": 3.0,
- "tests/test_service_readiness.py": 7.5,
- "tests/test_session_activities.py": 6.5,
- "tests/test_session_archive.py": 7.0,
- "tests/test_session_cli.py": 9.0,
- "tests/test_session_delivery_fsm.py": 16.0,
+ "tests/test_service_readiness.py": 7.0,
+ "tests/test_session_activities.py": 8.0,
+ "tests/test_session_archive.py": 6.0,
+ "tests/test_session_backend_handoff.py": 4.0,
+ "tests/test_session_cli.py": 10.0,
+ "tests/test_session_delivery_fsm.py": 34.0,
"tests/test_session_fork.py": 27.0,
- "tests/test_session_handler_base_id.py": 2.5,
- "tests/test_session_route_writer_policy.py": 2.5,
- "tests/test_session_titles.py": 3.5,
+ "tests/test_session_handler_base_id.py": 4.0,
+ "tests/test_session_route_writer_policy.py": 3.0,
+ "tests/test_session_titles.py": 4.0,
"tests/test_settings_disk_fallback.py": 3.0,
- "tests/test_settings_handler.py": 2.5,
- "tests/test_show_api.py": 11.0,
+ "tests/test_settings_handler.py": 2.0,
+ "tests/test_show_api.py": 12.0,
"tests/test_show_api_integration.py": 3.0,
- "tests/test_show_git.py": 3.0,
+ "tests/test_show_git.py": 6.0,
"tests/test_show_git_turn_entrypoints.py": 4.0,
- "tests/test_show_identity.py": 3.5,
- "tests/test_show_page_legacy_ui_removed.py": 2.0,
- "tests/test_show_pages.py": 70.5,
- "tests/test_show_pages_admin_api.py": 4.5,
+ "tests/test_show_identity.py": 3.0,
+ "tests/test_show_page_legacy_ui_removed.py": 3.0,
+ "tests/test_show_pages.py": 60.0,
+ "tests/test_show_pages_admin_api.py": 5.0,
"tests/test_show_router.py": 3.0,
"tests/test_show_runtime_archive_cleanup.py": 4.0,
"tests/test_show_runtime_manifest.py": 2.0,
- "tests/test_show_runtime_manifest_packaging.py": 2.5,
- "tests/test_show_runtime_orphan_sweep.py": 3.5,
- "tests/test_show_runtime_protocol.py": 2.5,
- "tests/test_show_session_events.py": 8.5,
- "tests/test_skill_cli.py": 2.5,
- "tests/test_skill_observability.py": 6.5,
+ "tests/test_show_runtime_manifest_packaging.py": 2.0,
+ "tests/test_show_runtime_orphan_sweep.py": 4.0,
+ "tests/test_show_runtime_protocol.py": 2.0,
+ "tests/test_show_session_events.py": 8.0,
+ "tests/test_skill_cli.py": 3.0,
+ "tests/test_skill_observability.py": 7.0,
"tests/test_skill_observability_backends.py": 2.0,
- "tests/test_skill_observability_migration.py": 2.5,
- "tests/test_skills_service.py": 8.5,
- "tests/test_slack_app_mention_empty.py": 2.5,
- "tests/test_slack_dm_mentions.py": 1.5,
- "tests/test_slack_markdown_footer.py": 2.5,
- "tests/test_sqlite_backup_expiry.py": 12.5,
+ "tests/test_skill_observability_migration.py": 4.0,
+ "tests/test_skills_service.py": 8.0,
+ "tests/test_slack_app_mention_empty.py": 2.0,
+ "tests/test_slack_dm_mentions.py": 3.0,
+ "tests/test_slack_markdown_footer.py": 2.0,
+ "tests/test_sqlite_backup_expiry.py": 11.0,
"tests/test_sqlite_sessions_store.py": 39.0,
- "tests/test_sqlite_settings_store.py": 18.5,
- "tests/test_sqlite_state_migration.py": 81.5,
- "tests/test_sqlite_state_startup.py": 2.0,
- "tests/test_sse_broker.py": 2.5,
- "tests/test_state_backups.py": 7.5,
- "tests/test_status_bubble_footer_render.py": 2.5,
- "tests/test_status_bubble_indicator.py": 2.0,
- "tests/test_status_bubble_settings.py": 3.5,
- "tests/test_subagent_router.py": 2.5,
- "tests/test_telegram_attachment_download.py": 2.5,
- "tests/test_telegram_bot.py": 15.0,
- "tests/test_telegram_formatter.py": 2.5,
- "tests/test_telegram_proxy.py": 2.5,
- "tests/test_terminal_backend.py": 3.0,
- "tests/test_test_failure_classifier.py": 2.0,
+ "tests/test_sqlite_settings_store.py": 41.0,
+ "tests/test_sqlite_state_migration.py": 87.0,
+ "tests/test_sqlite_state_startup.py": 3.0,
+ "tests/test_sse_broker.py": 3.0,
+ "tests/test_state_backups.py": 7.0,
+ "tests/test_status_bubble_footer_render.py": 2.0,
+ "tests/test_status_bubble_indicator.py": 3.0,
+ "tests/test_status_bubble_settings.py": 3.0,
+ "tests/test_subagent_router.py": 3.0,
+ "tests/test_telegram_attachment_download.py": 3.0,
+ "tests/test_telegram_bot.py": 13.0,
+ "tests/test_telegram_formatter.py": 2.0,
+ "tests/test_telegram_proxy.py": 2.0,
+ "tests/test_terminal_backend.py": 5.0,
+ "tests/test_terminal_bench_credential.py": 3.0,
+ "tests/test_terminal_bench_diagnostics.py": 2.0,
+ "tests/test_terminal_bench_full_runtime.py": 160.0,
+ "tests/test_terminal_bench_harbor.py": 1.0,
+ "tests/test_terminal_bench_launch.py": 2.0,
+ "tests/test_terminal_bench_remote_job.py": 4.0,
+ "tests/test_terminal_emit_commit.py": 7.0,
+ "tests/test_test_failure_classifier.py": 3.0,
"tests/test_tmux_runtime.py": 3.0,
- "tests/test_transcript_store_contract.py": 5.5,
- "tests/test_tunnel_quality.py": 1.5,
- "tests/test_tunnel_recovery.py": 27.0,
- "tests/test_turn_terminal_reaction.py": 3.0,
- "tests/test_typing_keepalive.py": 2.5,
- "tests/test_ui_api.py": 63.5,
- "tests/test_ui_project_access.py": 5.0,
- "tests/test_ui_server_fastapi.py": 23.0,
- "tests/test_ui_server_install.py": 5.0,
- "tests/test_ui_server_logs.py": 4.0,
- "tests/test_ui_server_mutation_protection.py": 4.5,
- "tests/test_ui_server_reload.py": 3.0,
- "tests/test_ui_server_skills_routes.py": 2.5,
+ "tests/test_transcript_store_contract.py": 7.0,
+ "tests/test_tunnel_quality.py": 3.0,
+ "tests/test_tunnel_recovery.py": 28.0,
+ "tests/test_turn_last_reply_store.py": 6.0,
+ "tests/test_turn_terminal_reaction.py": 2.0,
+ "tests/test_typing_keepalive.py": 2.0,
+ "tests/test_ui_api.py": 92.0,
+ "tests/test_ui_project_access.py": 7.0,
+ "tests/test_ui_server_fastapi.py": 27.0,
+ "tests/test_ui_server_install.py": 6.0,
+ "tests/test_ui_server_logs.py": 3.0,
+ "tests/test_ui_server_mutation_protection.py": 7.0,
+ "tests/test_ui_server_reload.py": 4.0,
+ "tests/test_ui_server_skills_routes.py": 3.0,
"tests/test_ui_server_voice_telemetry.py": 3.0,
- "tests/test_ui_server_voice_transcription.py": 3.5,
+ "tests/test_ui_server_voice_transcription.py": 3.0,
"tests/test_ui_session_stream.py": 13.0,
- "tests/test_ui_show_pages.py": 48.5,
- "tests/test_update_checker_platforms.py": 7.0,
- "tests/test_upgrade_flow.py": 4.0,
+ "tests/test_ui_show_pages.py": 54.0,
+ "tests/test_update_checker_platforms.py": 10.0,
+ "tests/test_upgrade_flow.py": 3.0,
"tests/test_upgrade_provider_metadata.py": 3.0,
- "tests/test_user_platform_scope.py": 6.5,
- "tests/test_v2_compat_platforms.py": 2.5,
- "tests/test_v2_config_platform_registry.py": 2.0,
- "tests/test_v2_paths.py": 3.0,
- "tests/test_v2_sessions.py": 9.0,
+ "tests/test_user_platform_scope.py": 6.0,
+ "tests/test_v2_compat_platforms.py": 3.0,
+ "tests/test_v2_config_platform_registry.py": 3.0,
+ "tests/test_v2_paths.py": 2.0,
+ "tests/test_v2_sessions.py": 12.0,
"tests/test_vault_addresses.py": 3.0,
- "tests/test_vault_api.py": 17.5,
- "tests/test_vault_cli.py": 10.5,
- "tests/test_vault_crypto.py": 2.5,
- "tests/test_vault_export_inject.py": 5.0,
- "tests/test_vault_fetch.py": 7.5,
+ "tests/test_vault_api.py": 21.0,
+ "tests/test_vault_cli.py": 27.0,
+ "tests/test_vault_crypto.py": 2.0,
+ "tests/test_vault_export_inject.py": 7.0,
+ "tests/test_vault_fetch.py": 8.0,
"tests/test_vault_protected_format.py": 2.0,
- "tests/test_vault_request_callbacks.py": 6.5,
- "tests/test_vault_request_im_notifications.py": 3.0,
- "tests/test_vault_rest.py": 3.5,
- "tests/test_vault_schema.py": 2.0,
- "tests/test_vault_service.py": 6.5,
- "tests/test_version_identity.py": 2.0,
- "tests/test_vibe_agent_archive.py": 7.5,
- "tests/test_vibe_agent_model_prefill.py": 9.5,
- "tests/test_vibe_cli.py": 7.0,
- "tests/test_vibey_agent.py": 26.0,
- "tests/test_vibey_agent_context.py": 10.0,
- "tests/test_vibey_backend_registration.py": 6.5,
- "tests/test_vibey_project_instructions.py": 3.5,
+ "tests/test_vault_request_callbacks.py": 10.0,
+ "tests/test_vault_request_im_notifications.py": 4.0,
+ "tests/test_vault_rest.py": 5.0,
+ "tests/test_vault_schema.py": 5.0,
+ "tests/test_vault_service.py": 11.0,
+ "tests/test_version_identity.py": 3.0,
+ "tests/test_vibe_agent_archive.py": 7.0,
+ "tests/test_vibe_agent_model_prefill.py": 9.0,
+ "tests/test_vibe_cli.py": 14.0,
+ "tests/test_vibey_agent.py": 43.0,
+ "tests/test_vibey_agent_context.py": 8.0,
+ "tests/test_vibey_backend_registration.py": 6.0,
+ "tests/test_vibey_project_instructions.py": 3.0,
+ "tests/test_vibey_resume_ownership.py": 5.0,
+ "tests/test_vibey_resume_recovery_query.py": 7.0,
+ "tests/test_vibey_web_fetch.py": 3.0,
"tests/test_wait_for_github_action_runs.py": 2.0,
- "tests/test_wait_for_github_issue_activity.py": 2.5,
- "tests/test_wait_for_github_pr_activity.py": 11.5,
+ "tests/test_wait_for_github_issue_activity.py": 2.0,
+ "tests/test_wait_for_github_pr_activity.py": 27.0,
"tests/test_watch_job_target.py": 23.0,
"tests/test_watch_worker.py": 4.0,
- "tests/test_watches.py": 17.5,
- "tests/test_web_oauth_flow.py": 4.0,
- "tests/test_web_push_notifications.py": 9.5,
- "tests/test_web_push_provider_invalidation_migration.py": 3.5,
- "tests/test_web_push_service.py": 14.5,
+ "tests/test_watches.py": 19.0,
+ "tests/test_web_fetch_activity.py": 3.0,
+ "tests/test_web_fetch_downgrade.py": 3.0,
+ "tests/test_web_oauth_flow.py": 5.0,
+ "tests/test_web_push_notifications.py": 10.0,
+ "tests/test_web_push_provider_invalidation_migration.py": 4.0,
+ "tests/test_web_push_service.py": 16.0,
"tests/test_web_ui_watchdog.py": 3.0,
- "tests/test_wechat_attachment_download.py": 3.5,
+ "tests/test_wechat_attachment_download.py": 3.0,
"tests/test_wechat_auth.py": 4.0,
- "tests/test_wechat_bot.py": 5.5,
- "tests/test_wechat_cdn.py": 2.5,
- "tests/test_workbench_media.py": 4.5,
- "tests/test_workbench_only_runtime.py": 6.0,
- "tests/test_workbench_prefs_api.py": 3.5,
- "tests/test_workbench_session_defaults.py": 5.0,
+ "tests/test_wechat_bot.py": 5.0,
+ "tests/test_wechat_cdn.py": 3.0,
+ "tests/test_workbench_media.py": 5.0,
+ "tests/test_workbench_only_runtime.py": 5.0,
+ "tests/test_workbench_prefs_api.py": 5.0,
+ "tests/test_workbench_session_defaults.py": 4.0,
"tests/test_workspace_system_session.py": 5.0
}
}
diff --git a/tests/test_ci_pipeline.py b/tests/test_ci_pipeline.py
index 6d3dda0c2..ac8e18a45 100644
--- a/tests/test_ci_pipeline.py
+++ b/tests/test_ci_pipeline.py
@@ -25,6 +25,7 @@ def _run_isolated_unit_files(
*,
timeout: str = "15",
timings: dict[str, float] | None = None,
+ lanes: int | None = None,
):
(tmp_path / "tests").mkdir()
(tmp_path / "scripts").mkdir()
@@ -36,8 +37,11 @@ def _run_isolated_unit_files(
(tmp_path / "scripts" / "ci_unit_test_timings.json").write_text(
json.dumps({"durations_seconds": timings}), encoding="utf-8",
)
+ command = ["bash", str(ROOT / "scripts/ci_unit_tests.sh")]
+ if lanes is not None:
+ command = [sys.executable, str(ROOT / "scripts/ci_unit_test_lanes.py"), "0", "1", str(lanes)]
return subprocess.run(
- ["bash", str(ROOT / "scripts/ci_unit_tests.sh")], cwd=tmp_path,
+ command, cwd=tmp_path,
env={**os.environ, "PYTHON": sys.executable, "CI_TEST_FILE_TIMEOUT_SECONDS": timeout,
"PYTEST_DISABLE_PLUGIN_AUTOLOAD": "1", "PYTEST_ADDOPTS": ""},
capture_output=True, text=True, timeout=40,
@@ -135,6 +139,55 @@ def test_unit_file_runner_preserves_assertions_and_integration_selection(tmp_pat
]
+def test_unit_shard_lanes_run_planned_files_concurrently_and_fail_closed(tmp_path: Path) -> None:
+ """Lanes keep one process per file and every failure, and run files at the same time.
+
+ Each barrier file waits for the other's marker: run one after the other, the
+ first would time out. The signal file guards the inherited SIGINT disposition
+ that shell background jobs would silently turn into "ignored".
+ """
+ barrier = (
+ "import pathlib, time\n"
+ f"ROOT = pathlib.Path({str(tmp_path / 'barrier')!r})\n"
+ "def test_meets_the_other_lane():\n"
+ " ROOT.mkdir(exist_ok=True)\n"
+ " (ROOT / '{me}').touch()\n"
+ " deadline = time.monotonic() + 10\n"
+ " while not (ROOT / '{other}').exists():\n"
+ " assert time.monotonic() < deadline, 'the other lane never ran alongside'\n"
+ " time.sleep(0.05)\n"
+ )
+ result = _run_isolated_unit_files(
+ tmp_path,
+ {
+ "test_barrier_a.py": barrier.format(me="a", other="b"),
+ "test_barrier_b.py": barrier.format(me="b", other="a"),
+ "test_fails.py": "def test_fails():\n assert False\n",
+ "test_signal.py": (
+ "import signal\n"
+ "def test_sigint_keeps_python_default():\n"
+ " assert signal.getsignal(signal.SIGINT) is signal.default_int_handler\n"
+ ),
+ },
+ timings={
+ "tests/test_barrier_a.py": 10.0, "tests/test_barrier_b.py": 10.0,
+ "tests/test_fails.py": 1.0, "tests/test_signal.py": 1.0,
+ },
+ lanes=2,
+ )
+
+ assert result.returncode == 1, result.stdout + result.stderr
+ finished = [line for line in result.stdout.splitlines() if " Finished tests/" in line]
+ assert sorted(line.split()[3] for line in finished) == [
+ "tests/test_barrier_a.py", "tests/test_barrier_b.py", "tests/test_fails.py", "tests/test_signal.py",
+ ]
+ assert {line.split()[1] for line in finished} == {"0]", "1]"}
+ assert result.stdout.count("test_meets_the_other_lane PASSED") == 2
+ assert "test_sigint_keeps_python_default PASSED" in result.stdout
+ assert "FAILED files:\n[lane 0] tests/test_fails.py" in result.stdout
+ assert "Failed lane(s): [0]." in result.stdout
+
+
def _metrics(result) -> list[dict]:
prefix = "CI_TEST_METRICS "
return [json.loads(line.removeprefix(prefix)) for line in result.stderr.splitlines() if line.startswith(prefix)]
diff --git a/tests/test_ci_scenario_evidence.py b/tests/test_ci_scenario_evidence.py
index 5605136f8..89fc78e37 100644
--- a/tests/test_ci_scenario_evidence.py
+++ b/tests/test_ci_scenario_evidence.py
@@ -9,7 +9,9 @@ import yaml
from scripts import pytest_collection
from scripts.ci_scenario_evidence import (
+ LINT_WORKFLOW,
RELEASE_WORKFLOWS,
+ UNIT_SHARD_ARGS,
UNIT_SHARD_JOB,
WORKFLOWS,
Evidence,
@@ -225,6 +227,16 @@ def test_release_evidence_uses_the_explicit_release_checkout_root(tmp_path: Path
].rows == ["MUC-004"]
+def test_the_lint_unit_shards_count_as_running_the_whole_unit_suite() -> None:
+ """Whichever launcher the shards use, the gate knows they select every unit file.
+
+ Missing this, every covered case that only the unit shards run would read
+ as never run, and the evidence gate would fail every pull request.
+ """
+
+ assert pytest_commands(WORKFLOWS / LINT_WORKFLOW)[UNIT_SHARD_JOB] == [UNIT_SHARD_ARGS]
+
+
def test_release_gating_is_read_from_the_release_workflows() -> None:
"""The Model Hub E2E and release automation select the expected covered rows."""
diff --git a/tests/test_ci_unit_test_shards.py b/tests/test_ci_unit_test_shards.py
index 990a7b8bd..666f70199 100644
--- a/tests/test_ci_unit_test_shards.py
+++ b/tests/test_ci_unit_test_shards.py
@@ -65,7 +65,7 @@ def test_plan_shards_rejects_invalid_shard_total(tmp_path: Path, shard_total: in
plan_shards([_test_file(tmp_path, "test_one.py")], shard_total)
[email protected]("shard_total", [1, 8])
[email protected]("shard_total", [1, 8, 16])
def test_measured_plan_runs_every_discovered_file_exactly_once(shard_total: int) -> None:
files = discover_unit_test_files()
shards = plan_shards(files, shard_total, load_timings())