Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(worker): allow to add alias for worker creator #1779

Merged
merged 5 commits into from
Sep 6, 2023

fix tests

4989808
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
Merged

feat(worker): allow to add alias for worker creator #1779

fix tests
4989808
Select commit
Loading
Failed to load commit list.
GitHub Actions / nox report succeeded Sep 6, 2023 in 1s

nox report ✅

Tests passed successfully

✅ target/nextest/ci/junit.xml

228 tests were completed in 129s with 228 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
aquamarine 5✅ NaNms
fluence-libp2p 2✅ NaNms
health 4✅ NaNms
kademlia 3✅ NaNms
nox 10✅ NaNms
nox-tests::boolean_test 1✅ NaNms
nox-tests::builtin 59✅ NaNms
nox-tests::client_api 1✅ NaNms
nox-tests::echo_particle 1✅ NaNms
nox-tests::kademlia 2✅ NaNms
nox-tests::local_vm 1✅ NaNms
nox-tests::modules 2✅ NaNms
nox-tests::script_storage 10✅ NaNms
nox-tests::services 2✅ NaNms
nox-tests::spells 37✅ NaNms
nox-tests::tests 14✅ NaNms
nox-tests::tetraplets 1✅ NaNms
nox-tests::topology 3✅ NaNms
nox-tests::vault 4✅ NaNms
particle-args 1✅ NaNms
particle-builtins 2✅ NaNms
particle-modules 3✅ NaNms
particle-protocol 3✅ NaNms
particle-services 11✅ NaNms
server-config 21✅ NaNms
service-modules 5✅ NaNms
spell-event-bus 14✅ NaNms
spell-service-api 5✅ NaNms
waiting-queues 1✅ NaNms

✅ aquamarine

✅ health::tests::test_vm_pool_health_full
✅ health::tests::test_vm_pool_health_partial
✅ health::tests::test_vm_pool_health_empty
✅ plumber::tests::ignore_expired
✅ health::tests::test_vm_pool_health_concurrent_access

✅ fluence-libp2p

✅ serde::tests::multihash
✅ serde::tests::peerid

✅ health

✅ tests::test_health_check_registry_multiple_checks
✅ tests::test_health_check_registry_empty
✅ tests::test_health_check_registry_single_check_fail
✅ tests::test_health_check_registry_single_check_pass

✅ kademlia

✅ behaviour::tests::dont_repeat_discovery
✅ behaviour::tests::discovery
✅ behaviour::tests::ban

✅ nox

✅ health::tests::test_bootstrap_nodes_health_all_connected
✅ health::tests::test_bootstrap_nodes_health_partial_connected
✅ health::tests::test_bootstrap_nodes_health_concurrent_access
✅ http::tests::test_health_route_empty_registry
✅ http::tests::test_health_route_fail_checks
✅ http::tests::test_health_route_success_checks
✅ http::tests::test_health_route_warn_checks
✅ http::tests::test_peer_id_route
✅ http::tests::test_version_route
✅ node::tests::run_node

✅ nox-tests::boolean_test

✅ pass_boolean

✅ nox-tests::builtin

✅ array_dedup
✅ array_sdiff
✅ array_length
✅ add_alias_list
✅ array_diff
✅ array_intersect
✅ array
✅ array_slice
✅ aliases_restart
✅ array_slice_wrong_args_count
✅ array_sum
✅ array_slice_wrong_second_arg
✅ array_slice_wrong_third_arg
✅ array_slice_out_of_bounds
✅ base58_string_builtins
✅ base58_bytes_builtins
✅ concat
✅ empty_array_slice
✅ identify
✅ index_by_math
✅ insecure_sign_verify
✅ kad_merge
✅ json_builtins
✅ identity
✅ cmp_cmp
✅ math_add
✅ math_rem
✅ cmp_gt
✅ cmp_le
✅ math_log
✅ math_pow
✅ neighborhood
✅ math_fmul
✅ noop
✅ math_div
✅ non_owner_remove_service
✅ math_mul
✅ not_array_slice
✅ math_sub
✅ remove_service
✅ remove_service_by_alias
✅ resolve_alias
✅ resolve_alias_not_exists
✅ resolve_alias_opt_not_exists
✅ resolve_alias_opt
✅ service_mem
✅ resolve_alias_removed
✅ service_stats
✅ debug_stringify_flaky
✅ remove_service_restart
✅ service_stats_uninitialized
✅ sha256
✅ timestamp_ms
✅ timeout_race
✅ timeout_wait
✅ timestamp_sec
✅ xor_type_error
✅ sig_verify_invalid_signature
✅ sign_invalid_tetraplets

✅ nox-tests::client_api

✅ call_custom_service

✅ nox-tests::echo_particle

✅ echo_particle

✅ nox-tests::kademlia

✅ neighborhood
✅ neighborhood_with_addresses

✅ nox-tests::local_vm

✅ make

✅ nox-tests::modules

✅ test_add_module_mounted_binaries_forbidden
✅ test_add_module_mounted_binaries

✅ nox-tests::script_storage

✅ add_script_from_vault_wrong_vault
✅ autoremove_singleshot
✅ remove_script
✅ add_script_delay
✅ remove_script_management_key
✅ remove_script_unauth
✅ add_script_delay_oneshot
✅ add_script_from_vault_ok
✅ script_routing
✅ stream_hello

✅ nox-tests::services

✅ create_service_from_config
✅ handle_same_dir_in_preopens_and_mapped_dirs

✅ nox-tests::spells

✅ get_worker_peer_id_opt
✅ create_remove_worker
✅ set_alias_by_worker_creator
✅ resolve_global_alias
✅ resolve_alias_wrong_worker
✅ spell_args_test
✅ spell_call_by_alias
✅ spell_call_by_default_alias
✅ spell_connection_pool_trigger_test
✅ spell_create_worker_twice
✅ spell_install_fail_end_sec_before_start
✅ spell_create_worker_same_deal_id_different_peer
✅ spell_install_fail_end_sec_past
✅ spell_install_alias
✅ spell_install_fail_large_period
✅ spell_error_handling_test
✅ spell_install_ok_empty_config
✅ spell_install_root_scope
✅ spell_peer_id_test
✅ spell_remove
✅ spell_relay_id_test
✅ spell_remove_by_alias
✅ spell_remove_service_as_spell
✅ spell_remove_spell_as_service
✅ spell_return_test
✅ spell_run_oneshot
✅ spell_set_u32
✅ spell_simple_test
✅ spell_store_trigger_config
✅ spell_timer_trigger_mailbox_test
✅ spell_update_config
✅ spell_update_config_stopped_spell
✅ spell_trigger_connection_pool
✅ test_worker_list
✅ spell_update_trigger_by_alias
✅ worker_sig_test
✅ test_spell_list

✅ nox-tests::tests

✅ network::loop_topology::fold_fold_fold_par_null
✅ network::loop_topology::fold_fold_fold_par_null_join
✅ network::loop_topology::fold_fold_fold_seq_two_par_null_folds_flaky
✅ network::loop_topology::fold_fold_seq_join
✅ network::loop_topology::fold_seq_join
✅ network::loop_topology::fold_par_same_node_stream
✅ network::loop_topology::join_empty_stream
✅ network::loop_topology::fold_via
✅ network::loop_topology::fold_fold_pairs_seq_join
✅ network::network_explore::explore_services
✅ network::network_explore::get_interfaces
✅ network::network_explore::list_blueprints
✅ network::network_explore::get_modules
✅ network::network_explore::explore_services_fixed_flaky

✅ nox-tests::tetraplets

✅ test_tetraplets

✅ nox-tests::topology

✅ join
✅ init_peer_id
✅ identity

✅ nox-tests::vault

✅ deploy_from_vault
✅ load_blueprint_from_vault
✅ put_cat_vault
✅ share_file

✅ particle-args

✅ args::tests::test_next_opt

✅ particle-builtins

✅ builtins::prop_tests::module_config
✅ json::tests::json_parse_string

✅ particle-modules

✅ modules::tests::test_add_blueprint
✅ modules::tests::test_add_module_get_interface
✅ modules::tests::test_add_module_max_heap_size_overflow

✅ particle-protocol

✅ libp2p_protocol::upgrade::tests::deserialize
✅ libp2p_protocol::upgrade::tests::length_prefixed
✅ libp2p_protocol::upgrade::tests::oneshot_channel_test

✅ particle-services

✅ app_services::tests::test_add_alias_forbidden
✅ app_services::tests::test_add_alias_no_service
✅ app_services::tests::test_add_alias
✅ health::tests::persisted_service_health_concurrent_access
✅ app_services::tests::test_add_alias_twice
✅ app_services::tests::test_persisted_service
✅ health::tests::test_persisted_service_health_not_started
✅ app_services::tests::test_add_alias_repeated
✅ health::tests::test_persisted_service_health_started_with_errors
✅ health::tests::test_persisted_service_health_started_without_errors
✅ app_services::tests::test_get_interface_cache

✅ server-config

✅ resolved_config::tests::load_allowed_binaries_with_env
✅ resolved_config::tests::load_allowed_binaries_with_file
✅ resolved_config::tests::load_base58_keypair
✅ resolved_config::tests::load_base58_secret_key
✅ resolved_config::tests::load_base64_keypair
✅ resolved_config::tests::load_base64_secret_key
✅ resolved_config::tests::load_empty_config
✅ resolved_config::tests::load_config_simple
✅ resolved_config::tests::load_empty_keypair
✅ resolved_config::tests::load_http_port_with_args
✅ resolved_config::tests::load_log_format_with_args
✅ resolved_config::tests::load_http_port_with_env
✅ resolved_config::tests::load_log_format_with_env
✅ resolved_config::tests::load_log_format_with_file
✅ resolved_config::tests::load_path_keypair_generate
✅ resolved_config::tests::load_tracing_disabled_with_args
✅ resolved_config::tests::load_tracing_disabled_with_env
✅ resolved_config::tests::load_tracing_disabled_with_file
✅ resolved_config::tests::load_tracing_otlp_with_args
✅ resolved_config::tests::load_tracing_otlp_with_file
✅ resolved_config::tests::load_tracing_otlp_with_env

✅ service-modules

✅ modules::blueprint::test_blueprint_hash
✅ modules::file_names::tests::is_bp
✅ modules::file_names::tests::is_wasm
✅ modules::file_names::tests::module_fname
✅ modules::file_names::tests::is_srvc

✅ spell-event-bus

✅ bus::tests::test_subscribe_connect
✅ bus::tests::test_unsubscribe
✅ config::trigger_config_tests::test_both_types_ended
✅ config::trigger_config_tests::test_both_types_ok
✅ config::trigger_config_tests::test_peer_events
✅ bus::tests::test_subscribe_many_spells_with_diff_event_types
✅ config::trigger_config_tests::test_reschedule_fail_ended
✅ bus::tests::test_subscribe_many
✅ bus::tests::test_subscribe_oneshot
✅ config::trigger_config_tests::test_reschedule_fail_oneshot_executed
✅ config::trigger_config_tests::test_reschedule_ok_oneshot_start_future
✅ config::trigger_config_tests::test_reschedule_ok_periodic
✅ config::trigger_config_tests::test_reschedule_ok_periodic_end_future
✅ bus::tests::test_subscribe_one

✅ spell-service-api

✅ tests::test_kv
✅ tests::test_trigger_event
✅ tests::test_script
✅ tests::test_trigger_config
✅ tests::test_counter

✅ waiting-queues

✅ tests::remove_with