From d0de3050776dab78fd512735a22ae7b4e19035b8 Mon Sep 17 00:00:00 2001 From: ethernet Date: Thu, 10 Sep 2026 01:55:55 -0400 Subject: [PATCH] test(update): refresh the current mid-swap import contract Merged runtime and download fixes moved the updater's lazy imports. The recorded surface still named the removed download-GC helper. Regenerate it with the existing audit tool, not hand edits or aliases. All audited source files match committed HEAD. The refreshed names resolve, and the recorded file set still covers the same update flow. This does not alter any updater behavior or import the pending drafts. --- tests/compat/old_updater_surface.json | 21 +++++++++++---------- 1 file changed, 11 insertions(+), 10 deletions(-) diff --git a/tests/compat/old_updater_surface.json b/tests/compat/old_updater_surface.json index b156aec154..370993eacb 100644 --- a/tests/compat/old_updater_surface.json +++ b/tests/compat/old_updater_surface.json @@ -29,11 +29,13 @@ ] }, "bare": [ + "gateway.shutdown_forensics::parse_systemd_duration_to_us", "gateway.status::_get_process_start_time", "gateway.status::_pid_exists", "gateway.status::get_process_start_time", "gateway.status::looks_like_gateway_command_line", "gateway.status::terminate_pid", + "hermes_cli._early_recovery::recover_if_needed", "hermes_cli._install_repair::migrate_windows_bin_path", "hermes_cli._scan_venv_blockers::_is_pausable_gateway", "hermes_cli._subprocess_compat::pid_is_hermes", @@ -166,7 +168,6 @@ "hermes_cli.update_cmd::_write_gateway_update_exit_code", "hermes_cli.update_cmd::_write_lazy_refresh_incomplete_marker", "hermes_cli.update_cmd::_write_update_incomplete_marker", - "hermes_cli.update_cmd::get_default_hermes_root", "hermes_cli.update_cmd::get_hermes_home", "hermes_cli.update_cmd_config::", "hermes_cli.update_cmd_git::_git_run", @@ -181,6 +182,7 @@ "hermes_cli.update_receipt::collect_fleet_versions", "hermes_cli.update_receipt::finalize_update_receipt", "hermes_cli.update_receipt::print_fleet_version_matrix", + "hermes_cli.update_receipt::read_latest_receipt", "hermes_cli.update_receipt::record_gateway_restart", "hermes_cli.update_receipt::record_step", "hermes_cli::boot_bootstrap", @@ -200,32 +202,31 @@ "hermes_constants::set_hermes_home_override", "hermes_constants::with_hermes_node_path", "plugins.memory.honcho.cli::sync_honcho_profiles_quiet", + "pm.download_state::collect_partials", "pm.downloader::Download", + "pm.downloader::DownloadPaused", "pm.downloader::Source", "pm.downloader::_OPENER", - "pm.downloader::gc_protected_names", "pm.ensure::_identity", "pm.ensure::_installed_location", - "pm.ensure::_lockfile", "pm.ensure::env_for", "pm.ensure::lazy_installs_allowed", "pm.ensure::sealed", "pm.ensure::sync_venv", "pm.ensure::uv", - "pm.features::installed_extras", "pm.features::read_features", - "pm.features::write_features", "pm.lock::Facts", + "pm.lock::Lockfile", + "pm.network::retry_network", "pm.package::InstallError", - "pm.package::machine_matches_binary", - "pm.packages::uv_cache_dir", "pm.packages::uv_env", + "pm.paths::lockfile_path", "pm.paths::repo_root", "pm.paths::runtime_facts_path", "pm.paths::store_root", "pm.paths::writable_store_root", - "pm.registry::get_package", "pm.store::Store", + "pm.store::current_target", "pm.store::extract", "pm.store::tree_digest", "pm.workspace::enabled_member_dirs", @@ -260,11 +261,11 @@ "hermes_cli.runtime_state::runtime_lock", "hermes_cli.update_channel::resolve_update_channel", "hermes_cli.update_cmd_windows::_detect_venv_python_processes", - "hermes_cli.update_receipt::read_latest_receipt", "hermes_cli.version_info::get_code_identity", "hermes_cli::tools_config", "hermes_constants::venv_python_path", "hermes_state::SessionDB", - "pm.ensure::enabled_extras" + "pm.ensure::enabled_extras", + "pm.recovery::validate_environment" ] }