Skip to content

tests: remove 272 tests that add no coverage - #13

Merged
rlrs merged 1 commit into
mainfrom
tests/cut-redundant-tests
Oct 18, 2026
Merged

rlrs merged 1 commit into
mainfrom
tests/cut-redundant-tests

Conversation

@rlrs

@rlrs rlrs commented Oct 18, 2026

Copy link
Copy Markdown
Owner

Stacked on #12 (base tests/delete-redundant); retarget to main after #12 merges.

Removes 272 tests (~8,400 lines) from 27 modules, plus the helpers they leave unused, with no loss of coverage: re-measuring the whole suite (every module, with PostgreSQL) gives 70,506 covered sandboxes/ lines against 70,504 before. Five lines differ and seven new ones appear, which is run-to-run variation.

How tests were chosen: per-test coverage (coverage.py dynamic contexts) on the ten largest test modules and the low-value ones. In each module, a greedy set cover kept the tests needed for lines nothing else runs; the rest are listed below. The first attempt was too aggressive, so these were added back:

  • the routing tests that test_postgres_routing reruns on PostgreSQL (23);
  • the gateway tests that test_routing_writer reruns;
  • seven tests that were the only cover for specific lines.

Kept on purpose:

  • Decision-test modules: test_admission_decision, test_admission_properties, test_policy, test_resource_admission, test_wake_admission, test_models, test_storage_compaction_policy. Integration tests run the same lines, but decision tests are the layer AGENTS.md's test rules build on.
  • test_postgres_relay and test_runtime_metrics: too much of their work runs in background threads to attribute coverage per test.

Caveat: line coverage shows that another test runs the same code, not that it asserts the same thing. Veto any test below that guards an outcome you care about.

Local: ruff, the test-rules lint (baseline lowered), and the full Python suite with PostgreSQL (262 modules, 2,824 pass, 31 skip).

Every removed test (272)

tests/test_agent.py (4)

  • AgentTests.test_builds_heartbeat
  • AgentTests.test_fetches_node_agent_heartbeat
  • AgentTests.test_non_storage_native_free_disk_ignores_daemon_metrics
  • AgentTests.test_storage_native_free_disk_uses_daemon_hard_reservations

tests/test_builder_selection.py (12)

  • BuilderSelectionTests.test_all_full_builders_leave_work_unassigned_until_a_peer_frees
  • BuilderSelectionTests.test_burst_uses_live_load_instead_of_stale_periodic_heartbeat
  • BuilderSelectionTests.test_closed_capacity_still_replays_the_active_owner
  • BuilderSelectionTests.test_completed_build_does_not_pin_new_build_to_busy_node
  • BuilderSelectionTests.test_legacy_live_sample_clears_stale_capacity_and_preserves_other_labels
  • BuilderSelectionTests.test_new_build_uses_idle_peer_with_equal_nominal_capacity
  • BuilderSelectionTests.test_retry_stays_with_busy_active_owner
  • BuilderSelectionTests.test_selection_counts_dispatch_still_waiting_for_builder_acceptance
  • BuilderSelectionTests.test_simultaneous_live_samples_reserve_distinct_builder_capacity
  • BuilderSelectionTests.test_simultaneous_samples_honor_each_nodes_capacity_and_existing_load
  • BuilderSelectionTests.test_single_full_builder_leaves_new_work_pending
  • BuilderSelectionTests.test_single_full_builder_still_receives_existing_build_retry

tests/test_cli.py (9)

  • CliTests.test_ambiguous_create_recovers_before_planning_and_then_consumes_demand
  • CliTests.test_autoscaler_loop_preserves_pending_signal_created_during_cycle
  • CliTests.test_dashboard_policy_exposes_every_scale_policy_field
  • CliTests.test_provider_confirmed_loss_records_node_lost_not_unknown
  • CliTests.test_reconcile_replays_pending_delete_then_scales_down
  • CliTests.test_ucloud_declares_no_status_or_silence_deletion_authority
  • CliTests.test_ucloud_expired_lease_preserves_nonempty_node_and_routes
  • CliTests.test_ucloud_unreachable_node_is_quarantined_without_termination
  • CliTests.test_unreachable_stop_proof_rejects_boolean_zero_counts

tests/test_control_plane.py (28)

  • ControlPlaneTests.test_attached_park_never_uses_registry_failover_without_source_proof
  • ControlPlaneTests.test_authenticated_node_requests_reuse_http_connections
  • ControlPlaneTests.test_authenticated_node_requests_with_bodies_close_connections
  • ControlPlaneTests.test_capable_node_reuses_only_completely_consumed_json_requests
  • ControlPlaneTests.test_closed_node_admission_reselects_another_node_in_same_request
  • ControlPlaneTests.test_disk_request_requires_disk_quota_capability
  • ControlPlaneTests.test_exec_signal_is_available_to_the_public_sdk_route
  • ControlPlaneTests.test_gateway_create_rejects_overload_and_caps_admitted_json
  • ControlPlaneTests.test_gateway_forwards_the_complete_file_upload_body
  • ControlPlaneTests.test_gateway_preserves_route_when_node_delete_returns_client_error
  • ControlPlaneTests.test_gateway_proxy_returns_json_bad_gateway_when_node_disconnects
  • ControlPlaneTests.test_gateway_releases_registry_reference_only_after_successful_delete
  • ControlPlaneTests.test_gateway_replaces_public_auth_with_node_control_credential
  • ControlPlaneTests.test_gateway_streams_file_downloads_in_bounded_chunks
  • ControlPlaneTests.test_heartbeat_identity_is_bound_to_authoritative_route
  • ControlPlaneTests.test_image_id_resolution_and_listing_share_inventory_snapshot
  • ControlPlaneTests.test_image_inventory_coalesces_repeated_reads
  • ControlPlaneTests.test_incomplete_image_inventory_miss_is_retryable_then_recovers
  • ControlPlaneTests.test_managed_manifest_verification_and_protection_are_cached
  • ControlPlaneTests.test_managed_registry_digest_protection_failures_have_transient_code
  • ControlPlaneTests.test_non_routable_worker_record_cannot_replace_route_state
  • ControlPlaneTests.test_parkable_placement_requires_fenced_hibernate_capability
  • ControlPlaneTests.test_parked_managed_job_status_is_gateway_state_and_does_not_wake
  • ControlPlaneTests.test_refresh_record_cannot_inherit_newer_lifecycle_revision
  • ControlPlaneTests.test_registry_resolution_failure_does_not_trust_mutable_tag_heartbeat
  • ControlPlaneTests.test_route_heartbeat_exact_miss_does_not_scan_inventories
  • ControlPlaneTests.test_the_image_index_is_readable_with_the_sdk_key
  • ControlPlaneTests.test_warm_wake_records_readiness_without_reading_placement_inventory

tests/test_direct_provisioner.py (30)

  • DirectProvisionerTests.test_active_cpu_and_memory_limits_are_reusable_under_live_pressure
  • DirectProvisionerTests.test_delete_collects_only_its_digest_and_preserves_shared_root
  • DirectProvisionerTests.test_delete_rolls_back_planned_create_without_advancing_image
  • DirectProvisionerTests.test_delete_rolls_back_quota_ready_create_without_advancing_image
  • DirectProvisionerTests.test_direct_image_warmup_materializes_rootfs_before_reporting_ready
  • DirectProvisionerTests.test_direct_node_wire_uses_domain_results_without_docker_facades
  • DirectProvisionerTests.test_drain_fences_create_before_rootfs_registration
  • DirectProvisionerTests.test_drain_fences_image_pull_and_rootfs_materialization
  • DirectProvisionerTests.test_drain_interrupts_memory_wait_before_create_or_wake
  • DirectProvisionerTests.test_drain_waits_for_an_inflight_heartbeat_empty_proof
  • DirectProvisionerTests.test_exec_capacity_samples_live_pressure_in_parallel
  • DirectProvisionerTests.test_exec_capacity_uses_live_pressure_not_sandbox_shape
  • DirectProvisionerTests.test_exec_lease_is_not_reported_as_sandbox_create
  • DirectProvisionerTests.test_file_operation_never_replays_error_after_dispatch
  • DirectProvisionerTests.test_file_operations_wait_for_memory_and_dispatch_once
  • DirectProvisionerTests.test_heartbeat_epoch_increases_after_highest_revision_is_deleted
  • DirectProvisionerTests.test_managed_file_operations_reuse_injected_helper
  • DirectProvisionerTests.test_memory_wait_never_admits_a_late_headroom_sample
  • DirectProvisionerTests.test_node_adapter_delete_preempts_attached_exec_but_park_does_not
  • DirectProvisionerTests.test_node_server_coalesces_host_metrics_and_keeps_storage_live
  • DirectProvisionerTests.test_relay_park_deferral_returns_without_holding_http_or_lifecycle
  • DirectProvisionerTests.test_restart_advances_quota_ready_registration
  • DirectProvisionerTests.test_restart_completes_delete_after_storage_delete_boundary
  • DirectProvisionerTests.test_restart_reclaims_all_deletions_before_advancing_planned_work
  • DirectProvisionerTests.test_restore_admission_is_retryable_but_resume_errors_are_not
  • DirectProvisionerTests.test_start_does_not_cross_audit_storage_owners
  • DirectProvisionerTests.test_storage_quota_uses_the_same_hard_claim_as_placement
  • DirectProvisionerTests.test_targeted_image_collection_does_not_serialize_other_digests
  • DirectProvisionerTests.test_wake_does_not_wait_for_a_lower_cpu_sample
  • DirectProvisionerTests.test_wake_overlaps_preparation_but_joins_network_on_storage_failure

tests/test_direct_warden.py (23)

  • DirectRunscWardenTests.test_background_upload_does_not_hold_wake_lock
  • DirectRunscWardenTests.test_bound_managed_state_is_created_and_its_ledger_binds_the_checkpoint
  • DirectRunscWardenTests.test_capture_resume_failure_does_not_commit_running
  • DirectRunscWardenTests.test_cleanup_accepts_exit_between_stat_and_pidfd_open
  • DirectRunscWardenTests.test_complete_capture_is_never_resumed_after_stop_failure
  • DirectRunscWardenTests.test_empty_runsc_null_inventory_proves_candidate_absent
  • DirectRunscWardenTests.test_error_volume_cannot_quarantine_when_runtime_fencing_fails
  • DirectRunscWardenTests.test_error_volume_fences_live_runtime_before_quarantine
  • DirectRunscWardenTests.test_error_volume_is_quarantined_without_remount_and_stays_fenced
  • DirectRunscWardenTests.test_failed_publication_resumes_live_backend
  • DirectRunscWardenTests.test_gofer_only_cleanup_rejects_another_boot
  • DirectRunscWardenTests.test_interrupted_storage_park_boundaries_reconcile
  • DirectRunscWardenTests.test_interrupted_storage_resume_boundaries_are_retryable
  • DirectRunscWardenTests.test_liveness_probe_reuses_verified_sentry_until_its_pid_is_reused
  • DirectRunscWardenTests.test_network_preparation_failure_does_not_start_restore_candidate
  • DirectRunscWardenTests.test_park_keeps_the_exact_job_record_of_its_stopped_guest
  • DirectRunscWardenTests.test_public_workspace_preparation_retains_lifecycle_and_checks_ownership
  • DirectRunscWardenTests.test_restore_preserves_cpu_quota_and_checkpoint_identity
  • DirectRunscWardenTests.test_single_owner_readiness_failure_returns_memory_to_checkpoint
  • DirectRunscWardenTests.test_single_owner_restore_stays_paused_until_candidate_is_fenced
  • DirectRunscWardenTests.test_stale_candidate_cannot_adopt_unrelated_process
  • DirectRunscWardenTests.test_storage_native_delete_does_not_remount_or_traverse_volume
  • DirectRunscWardenTests.test_storage_native_validation_failure_discards_mounted_restore_cow

tests/test_dynamic_disk_claims.py (4)

  • DynamicDiskClaimTests.test_admitted_growth_refuses_without_headroom_and_recorded_bytes_always_land
  • DynamicDiskClaimTests.test_adopting_a_published_fixed_claim_keeps_the_total
  • DynamicDiskClaimTests.test_record_writes_do_not_reset_a_dynamic_claim
  • GatewayInitialClaimTests.test_in_flight_create_is_charged_the_advertised_initial_claim

tests/test_environment_mtimes.py (5)

  • OwnedViewTimesTests.test_layout_one_and_a_borrowed_docker_diff_feed_mkfs_their_views_unchanged
  • OwnedViewTimesTests.test_owned_views_feed_mkfs_the_same_tree_whatever_their_directory_times
  • RealErofsLayoutTwoTests.test_equal_layer_groups_build_identical_layout_two_images
  • RealErofsLayoutTwoTests.test_layout_one_zeroes_mtimes_so_python_ignores_the_bytecode
  • RealErofsLayoutTwoTests.test_layout_two_keeps_source_mtimes_and_its_timestamp_bytecode_stays_valid

tests/test_environment_prepare.py (4)

  • PreparationProtocolTests.test_compressed_budget_reason_is_available_before_child_spawn
  • PreparationProtocolTests.test_fallback_reason_survives_child_protocol_without_exception_text
  • PreparationProtocolTests.test_fresh_exec_sends_only_bounded_metadata_and_derives_views_and_metrics
  • PreparationProtocolTests.test_spawn_failure_is_terminal_and_does_not_expose_os_error_detail

tests/test_environment_prepare_isolation.py (6)

  • PreparationSubprocessIsolationTests.test_actual_child_digest_corruption_is_hard_failure_not_fallback
  • PreparationSubprocessIsolationTests.test_actual_child_matches_inline_two_groups_and_preserves_links_and_metadata
  • PreparationSubprocessIsolationTests.test_actual_child_registry_http_failure_does_not_become_semantic_fallback
  • PreparationSubprocessIsolationTests.test_actual_child_returns_fallback_for_unsupported_layer_semantics
  • PreparationSubprocessIsolationTests.test_actual_child_timeout_during_blob_read_returns_before_cleanup
  • PreparationSubprocessIsolationTests.test_actual_child_uses_selected_package_despite_shadow_package_in_cwd

tests/test_fleet_reader.py (1)

  • FleetReaderTests.test_gateway_uses_and_closes_isolated_reader

tests/test_guest_continuity.py (10)

  • GuestContinuityTests.test_absent_routes_retire_only_after_a_verified_same_boot_probe
  • GuestContinuityTests.test_authenticated_new_boot_cannot_inherit_old_routes
  • GuestContinuityTests.test_controller_labels_cannot_be_forged_and_count_reboots
  • GuestContinuityTests.test_fresh_empty_suspended_guest_cannot_finish_existing_drain
  • GuestContinuityTests.test_obsolete_destructive_stop_cannot_replay_even_after_uncertain_call
  • GuestContinuityTests.test_old_boot_cleanup_preserves_new_boot_route
  • GuestContinuityTests.test_proven_reboot_reanchors_quarantine_and_the_owner_wake
  • GuestContinuityTests.test_same_guest_recovers_from_historical_suspension
  • GuestContinuityTests.test_suspended_or_unreachable_guest_keeps_routes_and_cannot_stop
  • GuestContinuityTests.test_verified_suspension_is_watermarked_across_restarts

tests/test_hybrid_memory_admission.py (5)

  • HybridMemoryAdmissionTests.test_already_parked_reconcile_selects_file_without_new_wake
  • HybridMemoryAdmissionTests.test_import_adoption_selects_file_before_exposing_parked_owner
  • HybridMemoryAdmissionTests.test_recovered_checkpoint_keeps_ram_when_feature_disabled
  • HybridMemoryAdmissionTests.test_recovered_completed_capture_unblocks_already_queued_continuation
  • HybridMemoryAdmissionTests.test_recovered_ram_checkpoint_selects_file_before_restore_admission

tests/test_image_inventory_cache.py (4)

  • ImageInventoryCacheTests.test_concurrent_cold_readers_share_one_load
  • ImageInventoryCacheTests.test_empty_inventory_is_cached_until_ttl_expires
  • ImageInventoryCacheTests.test_incomplete_inventory_uses_short_retry_ttl
  • ImageInventoryCacheTests.test_post_invalidation_reader_starts_fresh_generation_immediately

tests/test_images.py (17)

  • ImageTests.test_build_record_accepts_legacy_persisted_timestamps_without_changing_started_at
  • ImageTests.test_build_store_bounds_only_terminal_history
  • ImageTests.test_build_worker_thread_start_failure_is_terminal_and_cleans_snapshot
  • ImageTests.test_builder_queue_accepts_burst_and_bounds_execution
  • ImageTests.test_builder_queue_is_bounded_so_a_burst_can_reach_other_builders
  • ImageTests.test_cold_pull_slots_bound_concurrency_without_losing_drain_fence
  • ImageTests.test_completed_build_records_the_runtime_resolved_command
  • ImageTests.test_context_archive_never_extracts_parent_traversal
  • ImageTests.test_context_materialization_failure_marks_reserved_build_terminal
  • ImageTests.test_image_id_from_tag_always_satisfies_image_id_contract
  • ImageTests.test_image_id_from_tag_separates_sanitization_and_truncation_collisions
  • ImageTests.test_multiprocess_build_reservation_enforces_global_limit
  • ImageTests.test_multiprocess_image_and_build_writers_do_not_lose_updates
  • ImageTests.test_queued_build_reports_preparation_queue_and_execution_separately
  • ImageTests.test_second_manager_does_not_fail_build_owned_by_live_process
  • ImageTests.test_the_worker_leaves_the_store_alone_once_waiters_can_return
  • ImageTests.test_zero_queue_admission_counts_context_preparation_before_execution

tests/test_local_fleet_exec_routing.py (1)

  • SignedExecSessionTests.test_signed_session_routes_by_heartbeat_without_routing_reads

tests/test_local_fleet_heartbeat_pull.py (3)

  • HeartbeatPullTests.test_late_push_is_not_silence
  • HeartbeatPullTests.test_silent_worker_is_unreachable_within_one_shared_pull
  • HeartbeatPullTests.test_unanswered_pulls_back_off

tests/test_memory_forecast_policy.py (11)

  • MemoryForecastPolicyTests.test_complete_but_older_empty_inventory_does_not_erase_new_active_route
  • MemoryForecastPolicyTests.test_create_pressure_never_clips_target_below_busy_fleet
  • MemoryForecastPolicyTests.test_dense_parked_owners_do_not_pin_memory_or_block_new_work
  • MemoryForecastPolicyTests.test_host_used_memory_tightens_smaller_working_set
  • MemoryForecastPolicyTests.test_idle_parked_inventory_still_has_measured_cache_footprint
  • MemoryForecastPolicyTests.test_pressure_can_expand_while_first_worker_is_booting
  • MemoryForecastPolicyTests.test_scale_down_uses_same_memory_units_and_pressure_cooldown
  • MemoryForecastPolicyTests.test_stale_observation_does_not_invent_parked_limits
  • MemoryForecastPolicyTests.test_transient_promises_and_prepared_demand_count_once
  • MemoryForecastPolicyTests.test_unknown_cold_burst_then_actual_working_memory_releases_forecast
  • MemoryForecastPolicyTests.test_unknown_occupied_worker_has_no_spare_memory_credit

tests/test_pause_tier.py (24)

  • PauseActivityTests.test_activity_lease_leaves_the_thaw_to_the_exec_lease
  • PauseActivityTests.test_every_activity_path_thaws_before_reaching_the_sandbox
  • PauseActivityTests.test_managed_reads_keep_the_pause_and_mutations_end_it
  • PauseActivityTests.test_pause_neither_captures_nor_publishes
  • PauseNodeRuntimeTests.test_reclaim_runs_only_under_pressure_and_records_metrics
  • PauseNodeRuntimeTests.test_reclaims_in_flight_never_exceed_the_node_budget
  • PauseNodeRuntimeTests.test_relay_waits_pause_unless_the_aries_rule_prefers_hibernate
  • PauseNodeRuntimeTests.test_swap_nearly_full_escalates_the_best_waits_through_the_durable_park
  • PausePolicyTests.test_a_reclaim_that_frees_less_than_stall_bytes_has_stalled
  • PausePolicyTests.test_advised_wait_uses_only_a_fresh_model_wait_hint
  • PausePolicyTests.test_aries_rule_prices_resident_byte_seconds_against_transfer
  • PausePolicyTests.test_stats_are_monotonic_and_track_maxima
  • PausePolicyTests.test_swap_room_keeps_the_kernel_reserve_and_unknown_swap_is_unbounded
  • PauseWardenTests.test_crash_after_marker_before_runsc_pause_is_harmless
  • PauseWardenTests.test_failed_pause_leaves_runtime_running_without_marker
  • PauseWardenTests.test_hibernate_thaws_before_capture_and_delete_clears_the_marker
  • PauseWardenTests.test_read_only_lease_keeps_the_pause_and_a_failed_one_ends_it
  • PauseWardenTests.test_restart_keeps_a_paused_sandbox_paused_and_thaws_it_on_demand
  • PauseWardenTests.test_thaw_racing_pause_never_execs_into_a_paused_runtime
  • PausedReclaimTests.test_concurrent_reclaims_share_one_node_rate
  • PausedReclaimTests.test_node_budget_paces_windows
  • ThawPrefetchTests.test_cancellation_stops_between_reads_and_waits_for_every_reader
  • ThawPrefetchTests.test_parallel_readers_beat_one_reader_and_read_every_data_byte
  • ThawPrefetchTests.test_pieces_cover_only_data_extents_within_the_byte_budget

tests/test_resident_memory.py (4)

  • ResidentMemoryTests.test_missing_or_stale_footprint_allows_only_one_capture_probe
  • ResidentMemoryTests.test_reclaim_windows_report_actual_progress_and_cancel_on_wake
  • ResidentMemoryTests.test_samples_actual_charge_and_cost_counters_without_process_rss
  • ResidentMemoryTests.test_unknown_probe_waits_for_measured_capture_to_settle

tests/test_resident_memory_backing.py (9)

  • ResidentMemoryBackingTests.test_backing_exhaustion_reclaims_even_with_physical_memory_available
  • ResidentMemoryBackingTests.test_backing_hysteresis_and_pending_demand_use_real_free_bytes
  • ResidentMemoryBackingTests.test_backing_reasons_round_trip_without_accepting_arbitrary_reasons
  • ResidentMemoryBackingTests.test_file_restore_demand_does_not_create_a_tmpfs_deficit
  • ResidentMemoryBackingTests.test_host_memory_still_limits_when_backing_has_space
  • ResidentMemoryBackingTests.test_io_pressure_limits_wave_but_cannot_stall_backing_reclaim
  • ResidentMemoryBackingTests.test_runtime_binds_actual_application_memory_root_to_policy
  • ResidentMemoryBackingTests.test_tmpfs_deficit_does_not_evict_unhelpful_clean_host_cache
  • ResidentMemoryBackingTests.test_unknown_configured_backing_is_not_disabled_or_healthy

tests/test_routing.py (14)

  • RoutingStoreTests.test_exec_loss_survives_restart_and_sandbox_reuse_then_expires
  • RoutingStoreTests.test_exec_read_observes_worker_loss_from_another_process
  • RoutingStoreTests.test_lifecycle_mutations_progress_during_inventory_projection
  • RoutingStoreTests.test_managed_changes_and_warmup_reads_progress_under_projection_lock
  • RoutingStoreTests.test_node_loss_survives_restart_but_not_a_new_incarnation
  • RoutingStoreTests.test_node_placement_read_decodes_only_changed_rows
  • RoutingStoreTests.test_non_sqlite_state_fails_closed
  • RoutingStoreTests.test_reconcile_transaction_cannot_delete_concurrent_new_incarnation
  • RoutingStoreTests.test_routing_database_is_owner_only
  • RoutingStoreTests.test_sandbox_delete_removes_only_its_managed_process_row
  • RoutingStoreTests.test_single_route_reads_do_not_wait_for_reconciliation_writer
  • RoutingStoreTests.test_wake_reservation_clears_demand_only_with_successful_fenced_transition
  • RoutingStoreTests.test_wake_reservation_preserves_owner_fences_and_bypasses_unrelated_process_lock
  • RoutingStoreTests.test_writer_handoff_rolls_back_failure_and_keeps_reads_independent

tests/test_routing_single_statement_reads.py (5)

  • SingleStatementRoutingTests.test_exact_read_issues_one_statement_and_no_transaction_setup
  • SingleStatementRoutingTests.test_external_read_observes_delete_and_new_generation
  • SingleStatementRoutingTests.test_multiquery_reader_retains_coherent_snapshot
  • SingleStatementRoutingTests.test_nested_read_reuses_uncommitted_transaction_and_snapshot
  • SingleStatementRoutingTests.test_placement_snapshot_survives_concurrent_commit

tests/test_selective_environment_publication.py (7)

  • SelectiveEnvironmentPublicationTests.test_all_selected_layers_authenticate_before_any_new_component_is_signed
  • SelectiveEnvironmentPublicationTests.test_cached_signed_base_and_real_tail_skip_docker_and_preserve_root_binding
  • SelectiveEnvironmentPublicationTests.test_complete_cache_hit_does_not_start_preparation_child
  • SelectiveEnvironmentPublicationTests.test_corrupt_source_bindings_never_pull_sign_or_publish
  • SelectiveEnvironmentPublicationTests.test_isolated_prepared_view_preserves_original_group_binding_and_phase_metrics
  • SelectiveEnvironmentPublicationTests.test_multiple_private_tail_diffs_move_into_group_without_recopied_payload
  • SelectiveEnvironmentPublicationTests.test_whiteout_and_lower_dependent_parent_fall_back_before_selective_signing

tests/test_split_storage_identity.py (1)

  • SplitStorageIdentityTests.test_property_preserves_legacy_wire_and_planned_identity

tests/test_startup_admission.py (8)

  • ResidentDemandForecastTests.test_burst_prices_next_restore_plus_already_admitted_work
  • StartupAdmissionTests.test_busy_cpu_creates_keep_bounded_queue_instead_of_rejecting_node
  • StartupAdmissionTests.test_create_does_not_block_restore_or_resident_read
  • StartupAdmissionTests.test_gateway_queues_create_but_wake_read_and_health_progress
  • StartupAdmissionTests.test_weighted_fifo_timeout_and_no_barging
  • WarmDemandTests.test_queued_creates_account_actual_memory_without_evicting_warm_work
  • WarmDemandTests.test_queued_restore_exposes_demand_and_failure_cleans_it_up
  • WarmDemandTests.test_restore_demand_and_active_reservation_are_not_double_counted

tests/test_storage_native_daemon.py (23)

  • JournalWriterCoordinationTests.test_writer_handoff_rolls_back_and_does_not_block_readers
  • LinuxVolumeReadaheadTests.test_reused_and_restored_mounts_configure_readahead_before_opening_files
  • StorageNativeNodeServiceTests.test_128_active_devices_fit_with_16_additional_idle_pool_devices
  • StorageNativeNodeServiceTests.test_accounting_ids_are_transactional_and_monotonic_across_restart
  • StorageNativeNodeServiceTests.test_acquired_device_is_not_counted_twice_during_slow_format
  • StorageNativeNodeServiceTests.test_create_and_wake_take_no_owner_inventory_and_still_count_reuse
  • StorageNativeNodeServiceTests.test_create_records_one_event_per_step
  • StorageNativeNodeServiceTests.test_delayed_publication_cannot_seal_resumed_or_reparked_volume
  • StorageNativeNodeServiceTests.test_delete_detaches_unreachable_mount_and_reclaims_error_volume
  • StorageNativeNodeServiceTests.test_device_admission_coordinates_with_reaper_without_allocation_lock
  • StorageNativeNodeServiceTests.test_device_admission_does_not_reclaim_recycled_numeric_id
  • StorageNativeNodeServiceTests.test_device_admission_reclaims_unused_retirement_without_metrics
  • StorageNativeNodeServiceTests.test_discard_rejects_unrelated_terminal_errors
  • StorageNativeNodeServiceTests.test_failed_local_wake_discards_cow_back_to_released_snapshot
  • StorageNativeNodeServiceTests.test_interrupted_growth_is_completed_by_a_retry
  • StorageNativeNodeServiceTests.test_journal_migrates_v2_without_changing_volume_identity
  • StorageNativeNodeServiceTests.test_pooled_delete_retries_backend_release_before_forgetting_device
  • StorageNativeNodeServiceTests.test_publish_releases_capacity_and_remote_layers_resume
  • StorageNativeNodeServiceTests.test_quarantine_capacity_and_recycled_device_identity
  • StorageNativeNodeServiceTests.test_runtime_source_config_is_not_recovery_authority
  • StorageNativeNodeServiceTests.test_ublk_limit_rejects_before_journaling_and_reuses_idle_device
  • StorageNativeNodeServiceTests.test_ublk_limit_rejects_wake_before_changing_released_volume
  • StorageNativeNodeServiceTests.test_uncapped_device_acquisition_does_not_serialize_independent_volumes

🤖 Generated with Claude Code

Per-test coverage (coverage.py dynamic contexts, run with PostgreSQL) on
the ten largest test modules and the low-value ones found tests whose
sandboxes/ lines the rest of the suite already runs. Removing them, plus
the helpers they leave unused, keeps whole-suite coverage unchanged:
70,506 covered lines against 70,504 before, with the few differing lines
within run-to-run variation.

Kept on purpose:
- decision-test modules (admission decisions, scale policy, resource and
  wake admission, models, compaction policy), the layer the test rules
  build on, even where integration tests run the same lines;
- test_postgres_relay and test_runtime_metrics, whose background threads
  defeat per-test attribution;
- the routing tests that test_postgres_routing reruns on PostgreSQL, and
  the gateway tests test_routing_writer reruns, so PostgreSQL and the
  process writer keep their coverage;
- seven tests that were the only cover for specific lines.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@rlrs
rlrs changed the base branch from tests/delete-redundant to main October 18, 2026 18:33
@rlrs
rlrs merged commit 0a20b5b into main Oct 18, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant