hermes-agent/tests/pm
Repository files (latest commit first)
Filename Latest commit message Latest commit date
Brooklyn Nicholson 8b4b440ef3 fix(desktop,pm): stop the boot parking on a failed update receipt and bound completion retries (#122206)
Three gaps stranded the app through a legitimately long or failed
source-update completion:

- update-gate: a fourth gate signal 'failed-receipt' (hasFailedReceipt on
  UpdateGateDeps, optional) reports a FINISHED, failed update even when a
  stale marker survives; waitForUpdateClearance gains abandonOn so the
  boot path stops parking the full 20-minute budget on a receipt that
  already says failed and boots the current build instead.
- backend-ready: while the backend prints venv_sync's source-completion
  banners the 90s port-announce deadline is re-armed (5-min grace,
  30-min total cap, real wall clock) so a healthy multi-minute repair is
  not killed and re-run on every boot.
- venv_sync: relaunch-driven completion-tail retries are bounded — an
  attempts record beside the pending marker keeps the first retry
  immediate (the historical flaky-tail case), backs off after 2
  consecutive failures (15-min window), and caps at 6 attempts, past
  which the launch keeps the marker, skips the tail, and points at
  'hermes update'; success clears both the marker and the record.
2026-09-29 20:57:51 -05:00
..
__init__.py feat(pm): unified package manager — pm store foundation 2026-08-31 18:00:48 -04:00
_fixtures.py fix: CI python-tests backlog — no import-time dependency syncs, CI-shaped test fixtures 2026-09-20 11:47:06 -04:00
_range_server.py merge: combine network retries with downloader safety 2026-09-09 17:40:19 -04:00
conftest.py fix(pm): voice enables audio-io through PM; public plugin-state readers; PM tests isolate the machine home 2026-09-19 00:48:11 -04:00
test_activate_scripts.py test: stop relying on the in-tree venv after #122161 2026-09-24 23:40:03 -04:00
test_activation_runtime.py test(pm): read the PowerShell-written fixture input BOM-tolerant 2026-09-23 19:56:46 -04:00
test_activation_setup.py fix: better install logs 2026-09-24 10:53:27 -04:00
test_agent_browser_package.py fix(pm): make the staged agent-browser binary executable 2026-09-25 11:19:18 +10:00
test_archive_safety.py tests: replace every bare host skipif with platforms() 2026-09-21 19:18:15 -04:00
test_artifact_mirror.py fix(pm): download npm-hosted tools through the user's npm registry 2026-09-28 02:00:41 -07:00
test_bootstrap_import_closure.py fix(pm): stream bootstrap output on Windows Python 3.11 2026-09-21 14:49:05 -04:00
test_build_operations.py refactor(pm): rename the pm.ensure submodule to pm.install; lazy_deps back to the shim 2026-09-18 23:27:05 -04:00
test_chromium.py fix(pm): ship full chromium without headless shell 2026-09-10 16:08:03 -04:00
test_cli_progress.py fix(pm): turn on VT processing before drawing progress on a Windows console 2026-09-24 10:11:10 -04:00
test_cold_runtime_e2e.py test(pm): skip host-Python fixtures by what the prefix contains 2026-09-24 14:08:21 -04:00
test_cua_driver_package.py refactor(pm): remove legacy dependency and launch managers 2026-09-12 14:57:38 -04:00
test_custom_root_union.py fix(pm): voice enables audio-io through PM; public plugin-state readers; PM tests isolate the machine home 2026-09-19 00:48:11 -04:00
test_darwin_build.py test(pm): make native build fixture encoding explicit 2026-09-13 13:07:21 -04:00
test_deb_safety.py refactor(pm): route .deb payloads through the one tar extractor 2026-09-24 14:08:21 -04:00
test_dmgbuild_package.py fix: keep lock files binary and fixture shell paths portable 2026-09-13 18:07:46 -04:00
test_download_mirrors.py fix(pm): preserve pinned binary inputs in R2 2026-09-10 18:17:08 -04:00
test_download_progress.py fix(local-models): use pm pins and resumable component downloads 2026-09-09 15:17:09 -04:00
test_download_retry_limits.py test(pm): consolidate lifecycle coverage and remove synthetic duplicates 2026-09-13 15:10:31 -04:00
test_download_serial_fallback.py fix(pm): retry transient network failures 2026-09-09 12:54:08 -04:00
test_download_state.py refactor(pm): consolidate runtime ownership and updater completion 2026-09-12 16:30:35 -04:00
test_downloader.py fix(pm): only loopback-origin downloads may redirect to loopback 2026-09-21 18:54:55 -04:00
test_downloader_integrity.py test(pm): consolidate lifecycle coverage and remove synthetic duplicates 2026-09-13 15:10:31 -04:00
test_environment_build.py fix(pm): preserve transport knobs under no_config isolation, strip only index redirects 2026-09-28 06:42:00 -07:00
test_extras.py test(pm): exclude catalog Hindsight from legacy extra selection 2026-09-24 22:12:39 -04:00
test_feature_inventory.py refactor(pm): pm owns the dependency-environment layout and interpreter paths 2026-09-18 20:02:36 -04:00
test_features.py fix(pm): a lazy extra sync refuses to run from an interpreter PM did not select 2026-09-21 01:10:29 -04:00
test_ffmpeg_resolution.py fix(pm): pm update pins only BtbN month-end ffmpeg builds 2026-09-28 00:51:32 +05:30
test_generation_durability.py fix(pm): flush a generation tree before its selection record names it 2026-09-24 11:50:30 -04:00
test_index_bridging.py feat(pm): contain child output interactively, stream it in CI 2026-09-24 14:23:48 -04:00
test_install_default_closure.py fix: install cua-driver and the Browser Use CLI by default again 2026-09-27 19:18:58 -07:00
test_install_download_control.py fix(pm): voice enables audio-io through PM; public plugin-state readers; PM tests isolate the machine home 2026-09-19 00:48:11 -04:00
test_install_extra.py fix(pm): skip the tool re-hash during shell activation 2026-09-23 13:17:55 -04:00
test_install_state_permissions.py fix(pm): report unwritable install state once 2026-09-28 06:42:00 -07:00
test_installed_package.py fix(pm): heal agent-browser entries staged without the exec bit 2026-09-28 10:11:33 -07:00
test_lazy_install_policy.py refactor(pm): remove legacy dependency and launch managers 2026-09-12 14:57:38 -04:00
test_lease_reselection.py test(pm): explicit encodings in the lease re-selection fixture 2026-09-21 19:13:18 -04:00
test_llamacpp_pins.py fix(local-runtime): move a pre-PM llama.cpp engine into the PM store and pin b10964 2026-09-25 22:07:48 -04:00
test_lockfile_publication.py fix(pm): contain review security and dependency verification regressions 2026-09-24 02:03:59 -04:00
test_member_selection.py fix(pm): name virtual workspace members by their unique key 2026-09-25 09:24:18 +08:00
test_network.py fix(pm): retry transient network failures 2026-09-09 12:54:08 -04:00
test_network_retries.py refactor(pm): rename the pm.ensure submodule to pm.install; lazy_deps back to the shim 2026-09-18 23:27:05 -04:00
test_no_lazy_deps.py ci(lazy-deps): describe tools.lazy_deps as the stub it is 2026-09-24 11:50:30 -04:00
test_node_release_candidates.py merge: integrate termux cli bundles into pm-clean 2026-09-06 20:13:45 -04:00
test_node_resolution.py test(pm): the LSP node-runtime test opts into a trusted workspace 2026-09-29 03:28:46 +05:30
test_node_sidecar.py Merge remote-tracking branch 'origin/main' into ethie/pm-clean 2026-09-24 02:23:44 -04:00
test_npm_dist_tags.py test(pm): consolidate lifecycle coverage and remove synthetic duplicates 2026-09-13 15:10:31 -04:00
test_npm_self_install.py fix(pm): keep npm's self-install cache out of the download entry 2026-09-24 10:53:27 -04:00
test_plugin_declarations.py Merge origin/main; keep PM as plugin dependency owner 2026-09-17 13:52:05 -04:00
test_plugin_inputs.py refactor(pm): one plugin-input request for sync_venv and venv_is_current 2026-09-24 14:08:21 -04:00
test_plugin_survival_contract.py fix(pm): retry a plugin fetch failure once, then disable it 2026-09-25 00:00:09 -04:00
test_plugins_state.py fix(pm): contain review security and dependency verification regressions 2026-09-24 02:03:59 -04:00
test_pm_authority.py fix(pm): voice enables audio-io through PM; public plugin-state readers; PM tests isolate the machine home 2026-09-19 00:48:11 -04:00
test_pm_bionic.py refactor(pm): rename the pm.ensure submodule to pm.install; lazy_deps back to the shim 2026-09-18 23:27:05 -04:00
test_pm_core.py refactor(pm): own the lock/atomic-write primitives in pm.filesystem 2026-09-24 14:08:03 -04:00
test_pm_musl.py test: trim musl coverage to two invariants 2026-09-27 03:24:39 -07:00
test_progress.py feat(pm): contain child output interactively, stream it in CI 2026-09-24 14:23:48 -04:00
test_project_relock.py fix(pm): hermes pm lock checks a stale uv.lock quietly 2026-09-24 15:56:25 -04:00
test_python_release_identity.py fix(pm): select the Python identity advertised by its asset 2026-09-10 02:40:54 -04:00
test_receipt.py test(pm): consolidate lifecycle coverage and remove synthetic duplicates 2026-09-13 15:10:31 -04:00
test_recovery.py test(pm): keep the takeover generation assert; drop call-order checks 2026-09-27 02:55:39 -07:00
test_restart_needed.py feat(pm): say when this process must restart to load the selected generation 2026-09-24 23:40:17 -04:00
test_ripgrep_vc_runtime.py fix(pm): ship the VC++ runtime beside ARM64 Windows ripgrep 2026-09-24 11:21:47 -04:00
test_runtime.py fix(pm): canonicalize the store only in the PM runtime identity 2026-09-27 02:55:05 -07:00
test_runtime_boot_gc.py fix(gateway): restore the PM startup verdict, boot bootstrap and plugin cadence in main() 2026-09-19 04:11:22 -04:00
test_runtime_bootstrap_tls.py fix: better install logs 2026-09-24 10:53:27 -04:00
test_runtime_context_home.py refactor(pm): pm owns the dependency-environment layout and interpreter paths 2026-09-18 20:02:36 -04:00
test_runtime_entrypoints.py fix: resolve PM stamp reads through installation root 2026-09-24 09:20:50 -04:00
test_runtime_gc.py fix(pm): close the lease create→flock race on the writer side, no grace window 2026-09-28 04:44:29 -07:00
test_runtime_journal_concurrent_edit.py refactor(pm): pm owns the dependency-environment layout and interpreter paths 2026-09-18 20:02:36 -04:00
test_runtime_journal_safety.py refactor(pm): pm owns the dependency-environment layout and interpreter paths 2026-09-18 20:02:36 -04:00
test_runtime_selection.py fix(pm): put the checkout launcher ahead of the venv's own hermes script (#124627, salvage #124828) 2026-09-28 04:44:29 -07:00
test_runtime_wheelhouse.py fix: keep the PM runtime pure Python on Windows ARM64 2026-09-22 00:18:07 -04:00
test_security_consumers.py fix(security): the first tirith scan no longer waits on its download (#128150) 2026-09-29 17:29:05 +00:00
test_setup_lock_format.py fix: align CI tests and workflows with PM build contracts 2026-09-24 02:03:59 -04:00
test_shell_candidates.py fix(pm): contain review security and dependency verification regressions 2026-09-24 02:03:59 -04:00
test_shell_discovery.py fix(pm): find conventional bash without a PATH entry 2026-09-09 20:43:35 -04:00
test_source_launcher_stages.py test(install): expect the arch-qualified request in the stage fixture 2026-09-24 12:16:33 -04:00
test_source_update_launch.py fix(desktop,pm): stop the boot parking on a failed update receipt and bound completion retries (#122206) 2026-09-29 20:57:51 -05:00
test_stage_only.py fix: round-10 — PowerShell probe via -File; enable-grant test follows #64228; stage-hold fixture requests access 2026-09-21 07:31:22 -04:00
test_startup_activation.py fix: Hermes's own lint, activate, tui and MCP launchers use PM's node/npx/uv, never the user's 2026-09-27 22:30:55 -07:00
test_startup_recovery.py refactor(pm): one plugin-input request for sync_venv and venv_is_current 2026-09-24 14:08:21 -04:00
test_store_extensions.py fix(pm): voice enables audio-io through PM; public plugin-state readers; PM tests isolate the machine home 2026-09-19 00:48:11 -04:00
test_store_extract.py fix(pm): PortableGit unpack raises InstallError and never pipes the extractor 2026-09-28 02:04:08 +05:30
test_store_lock_wait.py refactor(pm): own the lock/atomic-write primitives in pm.filesystem 2026-09-24 14:08:03 -04:00
test_store_resume.py test(pm): consolidate lifecycle coverage and remove synthetic duplicates 2026-09-13 15:10:31 -04:00
test_takeover_preparation.py fix(pm): collect generations after maintenance syncs 2026-09-27 02:55:39 -07:00
test_termux_libs.py feat(pm): repair retired termux pool pins from pm update --termux 2026-09-16 11:46:30 -04:00
test_tree_digest_links.py fix(pm): support junction checks during legacy Python bootstrap 2026-09-12 11:01:12 -04:00
test_update.py test(pm): consolidate lifecycle coverage and remove synthetic duplicates 2026-09-13 15:10:31 -04:00
test_update_artifact_refresh.py refactor(pm): rename the pm.ensure submodule to pm.install; lazy_deps back to the shim 2026-09-18 23:27:05 -04:00
test_update_auth_scope.py refactor(pm): consolidate runtime ownership and updater completion 2026-09-12 16:30:35 -04:00
test_update_dependency_legs.py test(pm): skip host-Python fixtures by what the prefix contains 2026-09-24 14:08:21 -04:00
test_update_failure_status.py refactor(pm): rename the pm.ensure submodule to pm.install; lazy_deps back to the shim 2026-09-18 23:27:05 -04:00
test_update_request_reuse.py fix(pm): pm update pins only BtbN month-end ffmpeg builds 2026-09-28 00:51:32 +05:30
test_uv_cache.py fix(pm): voice enables audio-io through PM; public plugin-state readers; PM tests isolate the machine home 2026-09-19 00:48:11 -04:00
test_uv_cache_seed.py fix(voice): requirement checks answer from state, never install 2026-09-15 10:48:09 -04:00
test_uv_python.py fix(pm): rebuild side environments when the selected interpreter moves 2026-09-24 10:42:43 -04:00
test_venv_sync_ambient_config.py fix(pm): forward index and transport settings into uv; bridge pip mirrors 2026-09-21 18:44:19 -04:00
test_windows_build_deps.py test(pm): route build-deps PowerShell checks through the cold-runner helper 2026-09-26 16:50:13 -05:00
test_worker.py refactor(pm): one plugin-input request for sync_venv and venv_is_current 2026-09-24 14:08:21 -04:00
test_worker_observers.py fix(pm): keep progress observers off range writer locks 2026-09-13 12:52:35 -04:00
test_worker_publication.py refactor(pm): one plugin-input request for sync_venv and venv_is_current 2026-09-24 14:08:21 -04:00
test_worker_receipts.py fix(pm): isolate bootstrap dependencies and unify YAML on ruamel 2026-09-11 12:23:51 -04:00
test_worker_registry.py refactor(pm): rename the pm.ensure submodule to pm.install; lazy_deps back to the shim 2026-09-18 23:27:05 -04:00
test_worker_stdio.py fix(pm): isolate worker control stdin and share bootstrap cache 2026-09-12 18:41:04 -04:00
test_workspace.py Merge remote-tracking branch 'origin/main' into ethie/pm-clean 2026-09-23 15:26:34 -04:00
test_workspace_build_inputs.py fix(pm): keep bundled plugins' dashboard dist/ in the build snapshot 2026-09-27 02:54:35 -07:00
test_workspace_output_encoding.py refactor(pm): rename the pm.ensure submodule to pm.install; lazy_deps back to the shim 2026-09-18 23:27:05 -04:00
test_zip_symlinks.py fix(pm): preserve runtime and user state across failure paths 2026-09-09 15:17:08 -04:00