Skip to content

cleanup: remove duplicate import, unused imports, and non-functional …

04dcd2b
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Open

feat: propagate tags on trigger and resume #3105

cleanup: remove duplicate import, unused imports, and non-functional …
04dcd2b
Select commit
Loading
Failed to load commit list.
GitHub Actions / Test Results β€” Unit succeeded Apr 13, 2026 in 1s

255 passed, 0 failed and 3 skipped

Tests passed successfully

βœ…Β junit-unit.xml

258 tests were completed in 46s with 255 passed, 0 failed and 3 skipped.

Test suite Passed Failed Skipped Time
pytest 255βœ… 3βšͺ 46s

βœ…Β pytest

test.unit.configs.test_config_naming.TestConfigNaming
  βœ… test_flow_completes
  βœ… test_config_with_underscore
  βœ… test_config_with_dash
  βœ… test_config_with_mixed_naming
test.unit.configs.test_config_plain.TestConfigPlain
  βœ… test_flow_completes
  βœ… test_plain_string_without_parser
  βœ… test_plain_list_with_parser
  βœ… test_plain_tuple_with_parser
test.unit.inheritance.test_inheritance.TestComprehensiveLinear
  βœ… test_flow_completes
  βœ… test_all_parameters_accessible
  βœ… test_all_configs_accessible
  βœ… test_computation_with_configs
test.unit.inheritance.test_inheritance.TestMutatorWithBaseConfig
  βœ… test_flow_completes
  βœ… test_base_parameters_accessible
  βœ… test_base_config_accessible
  βœ… test_mutator_injects_from_base_config
  βœ… test_computation_with_injected_params
test.unit.inheritance.test_inheritance.TestMutatorWithDerivedConfig
  βœ… test_flow_completes
  βœ… test_all_parameters_accessible
  βœ… test_all_configs_accessible
  βœ… test_base_mutator_uses_derived_config
  βœ… test_computation_with_forward_injected_params
test.unit.inheritance.test_inheritance.TestComprehensiveDiamond
  βœ… test_flow_completes
  βœ… test_parameters_from_all_branches
  βœ… test_configs_from_all_branches
  βœ… test_mro_resolution
  βœ… test_computation_across_branches
test.unit.inheritance.test_inheritance.TestComprehensiveMultiHierarchy
  βœ… test_flow_completes
  βœ… test_parameters_from_first_hierarchy
  βœ… test_parameters_from_second_hierarchy
  βœ… test_merge_point_parameters
  βœ… test_configs_from_both_hierarchies
  βœ… test_step_override_from_merge_point
  βœ… test_cross_hierarchy_computation
  βœ… test_mutator_from_first_hierarchy_executes
  βœ… test_decorated_step_from_first_hierarchy
test.unit.inheritance.test_inheritance.TestInheritanceIntegration
  βœ… test_all_flows_complete_successfully[comprehensive_linear_run]
  βœ… test_all_flows_complete_successfully[mutator_with_base_config_run]
  βœ… test_all_flows_complete_successfully[mutator_with_derived_config_run]
  βœ… test_all_flows_complete_successfully[comprehensive_diamond_run]
  βœ… test_all_flows_complete_successfully[comprehensive_multi_hierarchy_run]
  βœ… test_expected_steps_present[comprehensive_linear_run-expected_steps0]
  βœ… test_expected_steps_present[mutator_with_base_config_run-expected_steps1]
  βœ… test_expected_steps_present[mutator_with_derived_config_run-expected_steps2]
  βœ… test_expected_steps_present[comprehensive_diamond_run-expected_steps3]
  βœ… test_expected_steps_present[comprehensive_multi_hierarchy_run-expected_steps4]
test.unit.localbatch.test_localbatch.TestBatchAPI
  βœ… test_health
  βœ… test_describe_queues_returns_default
  βœ… test_default_queue_is_healthy
  βœ… test_describe_compute_environments
  βœ… test_register_job_definition
  βœ… test_revision_increments_on_re_register
  βœ… test_describe_job_definitions_by_name
  βœ… test_submit_job_returns_id_and_name
  βœ… test_job_reaches_terminal_state
  βœ… test_describe_jobs_returns_correct_shape
  βœ… test_terminate_job_transitions_to_failed
  βœ… test_list_jobs_returns_summary_list
  βœ… test_ecs_metadata_endpoint
test.unit.localbatch.test_localbatch.TestDockerExecution
  βœ… test_successful_container
  βœ… test_failed_container_reports_exit_code
  βœ… test_inject_env_is_visible_inside_container
test.unit.localbatch.test_localbatch.TestMetaflowE2E
  βšͺ test_batch_step_artifacts_are_persisted
  βšͺ test_run_succeeds
  βšͺ test_all_steps_have_tasks
test.unit.test_argo_workflows_cli
  βœ… test_sanitize_for_argo[a-valid-name-a-valid-name]
  βœ… test_sanitize_for_argo[removing---@+_characters@_+-removing---characters]
  βœ… test_sanitize_for_argo[numb3rs-4r3-0k-123-numb3rs-4r3-0k-123]
  βœ… test_sanitize_for_argo[proj3ct.br4nch.flow_name-proj3ct.br4nch.flowname]
  βœ… test_sanitize_for_argo[---1breaking1---.--2subdomain2--.-3rules3-----1breaking1.2subdomain2.3rules3----]
  βœ… test_sanitize_for_argo[1brea---king1.2sub---domain2.-3ru-les3---1brea---king1.2sub---domain2.3ru-les3--]
  βœ… test_sanitize_for_argo[project.branch-cut-short-.flowname-project.branch-cut-short.flowname]
  βœ… test_sanitize_for_argo[test...name-test.name]
test.unit.test_aws_util
  βœ… test_validate_aws_tag[test-value-False]
  βœ… test_validate_aws_tag[test-with@chars+ - = ._/-value@with.chars-+ - = ._/-False]
  βœ… test_validate_aws_tag[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-ok-False]
  βœ… test_validate_aws_tag[aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-ok-True]
  βœ… test_validate_aws_tag[ok-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-False]
  βœ… test_validate_aws_tag[ok-aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa-True]
  βœ… test_validate_aws_tag[aWs:not-allowed-ok-True]
  βœ… test_validate_aws_tag[ok-AWS:not-allowed-True]
  βœ… test_validate_aws_tag[ok-aws:-middleaWs:not-allowed-False]
test.unit.test_compute_resource_attributes
  βœ… test_compute_resource_attributes
  βœ… test_compute_resource_attributes_string
test.unit.test_conda_decorator
  βœ… test_decorator_custom_attributes
  βœ… test_decorator_custom_attributes_with_backward_compatibility
test.unit.test_config_value
  βœ… test_isinstance
  βœ… test_todict
  βœ… test_container_has_config_value
  βœ… test_non_modifiable
  βœ… test_json_dumpable
  βœ… test_dict_like_behavior
test.unit.test_kubernetes
  βœ… test_kubernetes_decorator_validate_kube_labels[None]
  βœ… test_kubernetes_decorator_validate_kube_labels[labels1]
  βœ… test_kubernetes_decorator_validate_kube_labels[labels2]
  βœ… test_kubernetes_decorator_validate_kube_labels[labels3]
  βœ… test_kubernetes_decorator_validate_kube_labels[labels4]
  βœ… test_kubernetes_decorator_validate_kube_labels[labels5]
  βœ… test_kubernetes_decorator_validate_kube_labels[labels6]
  βœ… test_kubernetes_decorator_validate_kube_labels[labels7]
  βœ… test_kubernetes_decorator_validate_kube_labels_fail[labels0]
  βœ… test_kubernetes_decorator_validate_kube_labels_fail[labels1]
  βœ… test_kubernetes_decorator_validate_kube_labels_fail[labels2]
  βœ… test_kubernetes_decorator_validate_kube_labels_fail[labels3]
  βœ… test_kubernetes_decorator_validate_kube_labels_fail[labels4]
  βœ… test_kubernetes_decorator_validate_kube_labels_fail[labels5]
  βœ… test_kubernetes_parse_keyvalue_list[items0-True]
  βœ… test_kubernetes_parse_keyvalue_list[items1-True]
test.unit.test_local_metadata_provider
  βœ… test_deduce_run_id_from_meta_dir
test.unit.test_multicore_utils
  βœ… test_parallel_map
test.unit.test_packaging_utils
  βœ… test_walk_includes_files_when_hidden_dir_is_ancestor_of_root
  βœ… test_walk_excludes_hidden_dirs_under_root
test.unit.test_pypi_decorator
  βœ… test_decorator_custom_attributes
test.unit.test_pypi_parsers
  βœ… test_yml_parser
  βœ… test_requirements_parser
  βœ… test_toml_parser
test.unit.test_remove_decorator
  βœ… test_remove_decorator
test.unit.test_s3_storage
  βœ… test_save_bytes_put_many_preserves_metadata_slot
  βœ… test_save_bytes_sequential_preserves_metadata
test.unit.test_secrets_decorator.TestSecretsDecorator
  βœ… test_constructors
  βœ… test_missing_default_secrets_backend_type
  βœ… test_secrets_provider_resolution
test.unit.test_secrets_decorator.TestEnvVarValidations
  βœ… test_validate_env_vars
  βœ… test_validate_env_vars_across_secrets
  βœ… test_validate_env_vars_vs_existing_env
test.unit.test_system_context.TestExecutionPhase
  βœ… test_enum_values
test.unit.test_system_context.TestPhaseFromCliArgs
  βœ… test_none_args
  βœ… test_empty_args
  βœ… test_run_is_launch
  βœ… test_resume_is_launch
  βœ… test_step_is_task
  βœ… test_init_is_task
  βœ… test_spin_step_is_task
  βœ… test_batch_is_trampoline
  βœ… test_kubernetes_is_trampoline
  βœ… test_deployment_is_launch
  βœ… test_unknown_is_launch
test.unit.test_system_context.TestSystemContextPhase
  βœ… test_phase_queries
  βœ… test_trampoline_phase
  βœ… test_task_phase
test.unit.test_system_context.TestSystemContextUpdate
  βœ… test_initial_values_are_none
  βœ… test_progressive_update
  βœ… test_update_overwrites
  βœ… test_update_invalid_key_raises
  βœ… test_reset
test.unit.test_system_context.TestSystemContextInputPaths
  βœ… test_input_paths_initial_none
  βœ… test_input_paths_update
test.unit.test_system_context.TestDecoratorBaseClassProperties
  βœ… test_system_ctx_property
  βœ… test_step_decorator_has_property
  βœ… test_flow_decorator_has_property
test.unit.test_system_context.TestCtxVariantDefaults
  βœ… test_step_decorator_ctx_variants_are_none
  βœ… test_flow_decorator_ctx_variant_is_none
test.unit.test_system_context.TestCtxVariantOverride
  βœ… test_step_init_ctx_override
  βœ… test_task_step_completed_ctx_override_success
  βœ… test_task_step_completed_ctx_handles_exception
  βœ… test_task_decorate_ctx_override
  βœ… test_flow_init_ctx_override
  βœ… test_legacy_hook_still_works
test.unit.test_system_context.TestSystemContextSharedState
  βœ… test_publish_and_get
  βœ… test_get_missing_namespace
  βœ… test_get_missing_key
  βœ… test_get_default
  βœ… test_has_published_namespace
  βœ… test_has_published_key
  βœ… test_get_all_published
  βœ… test_get_all_published_missing
  βœ… test_overwrite_published
  βœ… test_multiple_namespaces
test.unit.test_system_context.TestSystemContextStepIsolation
  βœ… test_isolated_shared_state
test.unit.test_system_context.TestSystemContextRegistration
  βœ… test_register_and_get_step_decorators
  βœ… test_get_step_decorators_missing_step
  βœ… test_reset_clears_shared_and_decorators
test.unit.test_tag_improvements.TestTriggerTimeTags
  βœ… test_trigger_tags_env_parsed
  βœ… test_trigger_tags_empty_list_ignored
  βœ… test_trigger_tags_invalid_json_handled
  βœ… test_trigger_tags_non_list_ignored
test.unit.test_tag_improvements.TestArgoTriggerTags
  βœ… test_argo_client_trigger_with_tags
  βœ… test_argo_trigger_tags_parameter_in_workflow
test.unit.test_tag_improvements.TestSFNTriggerTags
  βœ… test_sfn_trigger_includes_trigger_tags
  βœ… test_sfn_trigger_input_format
  βœ… test_sfn_trigger_input_no_tags
test.unit.test_tag_improvements.TestResumeTags
  βœ… test_get_origin_run_tags_function_exists
  βœ… test_get_origin_run_tags_handles_missing_run
  βœ… test_resume_tags_merge_logic
  βœ… test_resume_tags_none_cli_tags
  βœ… test_resume_tags_no_origin_tags
test.unit.test_tag_improvements.TestCLITagOption
  βœ… test_argo_trigger_has_tag_option
  βœ… test_sfn_trigger_has_tag_option
  βœ… test_argo_trigger_tag_is_multiple
  βœ… test_sfn_trigger_tag_is_multiple
test.unit.test_tutorial_01_02_csv_parsing
  βœ… test_playlist_csv_parsing
  βœ… test_stats_csv_parsing
test.cmd.develop.test_stub_generator.TestStubGenerator
  βœ… test_get_element_name_basic_types
  βœ… test_get_element_name_class_objects
  βœ… test_get_element_name_generic_alias_with_class_objects
  βœ… test_get_element_name_nested_generics
  βœ… test_get_element_name_callable_with_class_args
  βœ… test_get_element_name_forward_references
  βœ… test_get_element_name_string_annotations
  βœ… test_get_element_name_self_reference
  βœ… test_function_stub_generation
  βœ… test_class_stub_generation
  βœ… test_exploit_annotation_method
  βœ… test_imports_and_typing_imports
  βœ… test_safe_module_aliasing
  βœ… test_get_element_name_union_types
  βœ… test_get_element_name_tuple_types
  βœ… test_get_element_name_tuple_with_ellipsis
  βœ… test_get_element_name_callable_with_ellipsis
  βœ… test_get_element_name_newtype
  βœ… test_get_element_name_classvar
  βœ… test_get_element_name_final
  βœ… test_get_element_name_literal
  βœ… test_get_element_name_deeply_nested
  βœ… test_get_element_name_error_handling_none_module
  βœ… test_get_element_name_error_handling_eval_failure
  βœ… test_get_element_name_generic_origin_without_name
  βœ… test_get_element_name_builtin_collections
  βœ… test_get_element_name_type_with_special_chars
  βœ… test_get_element_name_nested_classes
  βœ… test_generator_state_isolation
  βœ… test_get_element_name_nonetype_handling
test.cmd.develop.test_stub_generator
  βœ… test_class_objects_in_generic_types_no_leakage
test.cmd.diff.test_metaflow_diff.TestMetaflowDiff
  βœ… test_extract_code_package
  βœ… test_perform_diff_output_false[True]
  βœ… test_perform_diff_output_false[False]
  βœ… test_perform_diff_output_true
  βœ… test_run_op
  βœ… test_op_patch
test.plugins.conda.test_conda_decorator_unit.TestCondaStepDecorator
  βœ… test_default_attributes
  βœ… test_user_defined_python
  βœ… test_user_defined_packages
  βœ… test_libraries_backward_compat
  βœ… test_disabled_flag
  βœ… test_packages_and_libraries_merged
test.plugins.conda.test_conda_environment_unit.TestManifestConcurrentWrites
  βœ… test_concurrent_writes_no_corruption
test.plugins.conda.test_conda_environment_unit.TestCleanupCondaFile
  βœ… test_cleanup_temp_file
  βœ… test_cleanup_nonexistent_file_no_error
test.plugins.conda.test_parsers.TestRequirementsTxtParser
  βœ… test_simple_package
  βœ… test_multiple_packages
  βœ… test_python_version
  βœ… test_comments_and_blank_lines
  βœ… test_inline_comments
  βœ… test_extras
  βœ… test_direct_reference
  βœ… test_environment_markers_rejected
  βœ… test_invalid_requirement
  βœ… test_multiple_python_specs_rejected
  βœ… test_empty_content
  βœ… test_rye_lockfile_skip
test.plugins.conda.test_parsers.TestCondaEnvironmentYmlParser
  βœ… test_simple_deps
  βœ… test_python_version
  βœ… test_no_version
  βœ… test_comments_skipped
  βœ… test_subsection_rejected
  βœ… test_inline_comments
  βœ… test_empty_deps
  βœ… test_double_equals