statsig-python-core 0.23.0__tar.gz → 0.23.1b2609090206__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/Cargo.lock +6 -6
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/Cargo.toml +1 -1
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/PKG-INFO +1 -1
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/Cargo.toml +1 -1
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/statsig_global.rs +25 -2
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/statsig_metadata.rs +1 -1
- statsig_python_core-0.23.1b2609090206/statsig-rust/tests/statsig_global_tests.rs +236 -0
- statsig_python_core-0.23.0/statsig-rust/tests/statsig_global_tests.rs +0 -80
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/py_src/statsig_python_core/__init__.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/py_src/statsig_python_core/data_store.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/py_src/statsig_python_core/error_boundary.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/py_src/statsig_python_core/observability_client.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/py_src/statsig_python_core/output_logger_provider.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/py_src/statsig_python_core/persistent_storage.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/py_src/statsig_python_core/py.typed +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/py_src/statsig_python_core/requirements.txt +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/py_src/statsig_python_core/statsig.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/py_src/statsig_python_core/statsig_python_core.pyi +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/py_src/statsig_python_core/statsig_types.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/pyproject.toml +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-grpc/Cargo.toml +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-grpc/README.md +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-grpc/build.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-grpc/src/lib.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-grpc/src/mock_forward_proxy.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-grpc/src/protos/statsig_forward_proxy.proto +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-grpc/src/statsig_forward_proxy.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-grpc/src/statsig_grpc_client.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-grpc/src/statsig_grpc_err.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/.github/workflows/CI.yml +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/.gitignore +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/Cargo.toml +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/README.md +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/bin/stub_gen.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/data_store_base_py.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/interned_store_py.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/lib.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/observability_client_base_py.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/output_logger_provider_base_py.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/pyo_utils.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/raw_evaluation_compat_py.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/safe_gil.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/statsig_base_py.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/statsig_metadata_py.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/statsig_options_py.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/statsig_persistent_storage_override_adapter_py.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/statsig_types_py.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/statsig_user_py.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/unit_id_py.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/valid_primitives_py.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/data/enforce_sticky_dcs.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/fork_runner.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/mock_output_logger.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/mock_scrapi.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/profile_util.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/shutdown_sub_proc.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_data_store.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_enforce_sticky_values.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_error_boundary.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_experiment_group_targeting.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_experiment_serialization.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_exposure_logging.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_feature_gate_serialization.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_forking.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_get_autotune_list.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_get_dynamic_config.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_get_experiment_groups.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_get_layer_list.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_initialize_with_details.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_interned_store_preload.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_layer_param_exposure_sampling.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_layer_serialization.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_observability_client.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_output_logger_provider.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_override_adapter.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_performance.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_sdk_event_emitter.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_sec_expo_as_primary.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_shared_statsig.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_shutdown.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_statsig.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_statsig_options.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_statsig_user.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_statsig_user_json_serialization.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_statsig_user_none_fields.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_statsig_user_pickle.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/test_user_exposure_e2e.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/tests/utils.py +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/build.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/examples/eval_contention_bench.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/examples/intern_contention_bench.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/resources/ip_supalite.table +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/resources/ua_parser_regex.yaml +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/resources/ua_parser_regex_lite.yaml +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/__tests__/interned_string_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/__tests__/spec_store_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/compression/compression_helper.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/compression/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/console_capture/console_capture_handler.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/console_capture/console_capture_instances.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/console_capture/console_capture_options.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/console_capture/console_log_line_levels.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/console_capture/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/data_store_interface.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/dcs_str.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/__tests__/dynamic_returnable_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/__tests__/rkyv_value_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/cmab_evaluator.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/comparisons/compare_arrays.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/comparisons/compare_numbers.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/comparisons/compare_str_with_regex.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/comparisons/compare_strings_in_array.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/comparisons/compare_time.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/comparisons/compare_versions.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/comparisons/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/country_lookup.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/dynamic_returnable.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/dynamic_string.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/dynamic_value.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/evaluation_details.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/evaluation_types.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/evaluation_types_initialize_v2.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/evaluation_types_v2.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/evaluator.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/evaluator_context.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/evaluator_result.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/evaluator_value.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/get_unit_id.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/rkyv_value.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/secondary_exposure_key.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/user_agent_parsing/first_party_ua_parser.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/user_agent_parsing/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_helpers.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_tokenizer.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_ua_parser_browser.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/__tests__/test_ua_parser_os.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/tokenizer.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/ua_parser.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/user_agent_parsing/statsig_uaparser/window_iter.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/user_agent_parsing/third_party_ua_parser.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/evaluation/user_agent_parsing/ua_parser.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_emitter/statsig_event_emitter_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/event_logger.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/event_logger_constants.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/event_logger_ops_stats.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/event_queue/batch.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/event_queue/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/event_queue/queue.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/event_queue/queued_config_expo.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/event_queue/queued_event.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/event_queue/queued_experiment_expo.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/event_queue/queued_expo.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/event_queue/queued_gate_expo.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/event_queue/queued_layer_param_expo.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/event_queue/queued_passthrough.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/event_queue/queued_secondary_expo.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/exposure_sampling.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/exposure_utils.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/flush_interval.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/flush_type.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/sec_expo_as_primary_experiment.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/statsig_event.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging/statsig_event_internal.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging_adapter/event_logging_adapter_trait.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging_adapter/log_event_payload.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging_adapter/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging_adapter/statsig_http_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/event_logging_adapter/statsig_local_file_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/gcir/dynamic_configs_processor.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/gcir/feature_gates_processor.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/gcir/gcir_formatter.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/gcir/gcir_options.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/gcir/gcir_process_iter.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/gcir/layer_configs_processor.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/gcir/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/gcir/param_stores_processor.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/gcir/stringify_sec_exposures.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/gcir/target_app_id_utils.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/global_configs.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/hashing/ahash.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/hashing/djb2.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/hashing/hash_util.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/hashing/memo_sha_256.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/hashing/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/id_lists_adapter/id_list.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/id_lists_adapter/id_lists_adapter_trait.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/id_lists_adapter/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/id_lists_adapter/statsig_http_id_lists_adapter.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/init_details.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/initialize_evaluations_response.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/initialize_response.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/initialize_v2_response.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/instance_registry.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/interned_string.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/interned_values/__tests__/interned_store_eval_value_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/interned_values/__tests__/interned_store_returnable_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/interned_values/__tests__/interned_store_string_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/interned_values/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/interned_values/interned_store.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/interned_values/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/lib.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/logging_utils.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/macros.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/networking/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/networking/__tests__/response_data_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/networking/ca_bundle.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/networking/http_types.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/networking/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/networking/network_client.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/networking/network_error.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/networking/providers/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/networking/providers/net_provider_global.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/networking/providers/net_provider_noop.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/networking/providers/net_provider_reqwest.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/networking/proxy_config.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/observability/console_capture_observer.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/observability/diagnostics_observer.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/observability/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/observability/observability_client_adapter.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/observability/ops_stats.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/observability/sdk_errors_observer.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/output_logger.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/override_adapter/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/override_adapter/override_adapter_trait.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/override_adapter/statsig_local_override_adapter.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/persistent_storage/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/persistent_storage/__tests__/sticky_values_serialization_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/persistent_storage/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/persistent_storage/persistent_storage_trait.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/persistent_storage/persistent_values_manager.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/sdk_diagnostics/diagnostics.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/sdk_diagnostics/diagnostics_utils.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/sdk_diagnostics/marker.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/sdk_diagnostics/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/sdk_event_emitter/event_emitter.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/sdk_event_emitter/event_emitter_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/sdk_event_emitter/event_types.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/sdk_event_emitter/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/spec_store.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_adapter/config_spec_background_sync_metrics.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_adapter/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_adapter/response_format.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_adapter/specs_adapter_trait.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_adapter/statsig_bootstrap_specs_adapter.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_adapter/statsig_customized_specs_adapter.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_adapter/statsig_data_store_specs_adapter.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_adapter/statsig_grpc_specs_adapter.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_adapter/statsig_http_specs_adapter.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_adapter/statsig_local_file_specs_adapter.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_response/__tests__/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_response/__tests__/proto_specs_syncing_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_response/__tests__/proto_specs_unknown_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_response/__tests__/proto_specs_vs_json_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_response/__tests__/proto_stream_reader_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_response/cmab_types.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_response/explicit_params.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_response/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_response/param_store_types.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_response/proto_specs.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_response/proto_stream_reader.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_response/spec_types.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_response/specs_hash_map.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/specs_response/statsig_config_specs.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/statsig.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/statsig_core_api_options.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/statsig_err.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/statsig_options.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/statsig_runtime.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/statsig_type_factories.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/statsig_types.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/statsig_types_raw.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/user/into_optional.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/user/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/user/statsig_user.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/user/statsig_user_builder.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/user/statsig_user_internal.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/user/statsig_user_loggable.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/user/unit_id.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/user/user_data.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/src/utils/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/check_gate_concurrency_bench.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/check_gate_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/customized_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/big_number_dcs.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/check_gate_perf_dcs.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/company_id_list +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/dcs_error.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/dcs_missing_gates.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/dcs_non_case_sensitive.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/dcs_target_app_filtering.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/dcs_target_app_filtering_hashed_keys.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/dcs_user_agent_versions.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/dcs_with_analytical_exposure_sampling.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/dcs_with_checksum.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/dcs_with_sampling.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/dcs_with_sdk_configs.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/demo_proj_dcs.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/demo_proj_dcs.pb.br +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/eval_proj_dcs.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/eval_proj_dcs.pb.br +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/get_id_lists.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/perf_proj_dcs.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/perf_proj_dcs.pb.br +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/shared_dict_dict_only.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/shared_dict_original_dcs.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/shared_dict_response_uncompressed.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/shared_dict_response_with_dict.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/shared_dict_response_without_dict.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/test_must_pass_user_agents.txt +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/test_user_agents.txt +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/ua_string_cases.json +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data/unknown_enum.pb.br +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data_store_bytes_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data_store_json_bytes_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data_store_json_only_no_bytes_methods_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data_store_lock_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/data_store_proto_bytes_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/direct_gcir_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/dynamic_string_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/dynamic_value_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/evaluation_details_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/evaluator_value_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/event_logger_failing_flush_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/event_logger_flush_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/event_logger_high_qps_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/event_logger_usage_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/expected_evaluation_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/exposure_sampling_key_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/exposure_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/flushing_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/gate_inversion_eval_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/gcir_target_app_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/gcir_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/global_configs_test.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/grpc_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/hash_util_evaluation_hash_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/http_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/initialize_timeout_test.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/instance_registry_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/layer_serialization_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/list_methods_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/memory_leak_per_request_users_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/network_client_streaming_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/network_client_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/network_failure_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/network_tls_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/observability_client_usage_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/output_logger_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/override_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/parameter_store_parameter_names_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/perf_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/persistent_storage_enforce_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/proto_specs_usage_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/spec_store_lock_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/spec_types_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/statsig_disable_network_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/statsig_environment_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/statsig_event_emitter_usage_test.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/statsig_local_file_event_logging_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/statsig_local_file_specs_adapter_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/statsig_options_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/statsig_shared_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/statsig_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/statsig_user_builder_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/statsig_user_field_accessor_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/statsig_user_internal_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/statsig_user_loggable_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/statsig_user_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/syncing_network_failure_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/typed_getters_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/ua_parser_util_test.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/user_agent_tests_first_party.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/user_json_tests.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/utils/env_var_guard.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/utils/helpers.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/utils/mock_data_store.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/utils/mock_event_logging_adapter.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/utils/mock_log_provider.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/utils/mock_observability_client.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/utils/mock_scrapi.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/utils/mock_specs_adapter.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/utils/mock_specs_listener.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/utils/mod.rs +0 -0
- {statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/tests/utils/tls_test_server.rs +0 -0
|
@@ -2987,7 +2987,7 @@ dependencies = [
|
|
|
2987
2987
|
|
|
2988
2988
|
[[package]]
|
|
2989
2989
|
name = "sigstat-grpc"
|
|
2990
|
-
version = "0.23.
|
|
2990
|
+
version = "0.23.1-beta.2609090206"
|
|
2991
2991
|
dependencies = [
|
|
2992
2992
|
"async-trait",
|
|
2993
2993
|
"chrono",
|
|
@@ -3079,7 +3079,7 @@ checksum = "a2eb9349b6444b326872e140eb1cf5e7c522154d69e7a0ffb0fb81c06b37543f"
|
|
|
3079
3079
|
|
|
3080
3080
|
[[package]]
|
|
3081
3081
|
name = "statsig-node"
|
|
3082
|
-
version = "0.23.
|
|
3082
|
+
version = "0.23.1-beta.2609090206"
|
|
3083
3083
|
dependencies = [
|
|
3084
3084
|
"async-trait",
|
|
3085
3085
|
"napi",
|
|
@@ -3094,7 +3094,7 @@ dependencies = [
|
|
|
3094
3094
|
|
|
3095
3095
|
[[package]]
|
|
3096
3096
|
name = "statsig-pyo3"
|
|
3097
|
-
version = "0.23.
|
|
3097
|
+
version = "0.23.1-beta.2609090206"
|
|
3098
3098
|
dependencies = [
|
|
3099
3099
|
"async-trait",
|
|
3100
3100
|
"lazy_static",
|
|
@@ -3109,7 +3109,7 @@ dependencies = [
|
|
|
3109
3109
|
|
|
3110
3110
|
[[package]]
|
|
3111
3111
|
name = "statsig-rust"
|
|
3112
|
-
version = "0.23.
|
|
3112
|
+
version = "0.23.1-beta.2609090206"
|
|
3113
3113
|
dependencies = [
|
|
3114
3114
|
"ahash",
|
|
3115
3115
|
"arc-swap",
|
|
@@ -3163,7 +3163,7 @@ dependencies = [
|
|
|
3163
3163
|
|
|
3164
3164
|
[[package]]
|
|
3165
3165
|
name = "statsig_elixir"
|
|
3166
|
-
version = "0.23.
|
|
3166
|
+
version = "0.23.1-beta.2609090206"
|
|
3167
3167
|
dependencies = [
|
|
3168
3168
|
"async-trait",
|
|
3169
3169
|
"parking_lot",
|
|
@@ -3176,7 +3176,7 @@ dependencies = [
|
|
|
3176
3176
|
|
|
3177
3177
|
[[package]]
|
|
3178
3178
|
name = "statsig_ffi"
|
|
3179
|
-
version = "0.23.
|
|
3179
|
+
version = "0.23.1-beta.2609090206"
|
|
3180
3180
|
dependencies = [
|
|
3181
3181
|
"async-trait",
|
|
3182
3182
|
"cbindgen",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: statsig_python_core
|
|
3
|
-
Version: 0.23.
|
|
3
|
+
Version: 0.23.1b2609090206
|
|
4
4
|
Classifier: Programming Language :: Rust
|
|
5
5
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
6
6
|
Classifier: Programming Language :: Python :: Implementation :: PyPy
|
{statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-rust/Cargo.toml
RENAMED
|
@@ -44,7 +44,7 @@ serde_json = { version = "1.0.143", features = [
|
|
|
44
44
|
] }
|
|
45
45
|
serde_with = "3.4.0"
|
|
46
46
|
sha2 = "0.10.8"
|
|
47
|
-
sigstat-grpc = { path = "../statsig-grpc", version = "0.23.
|
|
47
|
+
sigstat-grpc = { path = "../statsig-grpc", version = "0.23.1-beta.2609090206", optional = true }
|
|
48
48
|
simple_logger = { version = "5.0.0" }
|
|
49
49
|
tempfile = "3.8.1"
|
|
50
50
|
tokio = { version = "1.39.1", features = ["full"] }
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
use crate::log_d;
|
|
1
|
+
use crate::{log_d, log_e};
|
|
2
2
|
use arc_swap::ArcSwap;
|
|
3
3
|
use parking_lot::Mutex;
|
|
4
4
|
use std::sync::{Arc, OnceLock};
|
|
5
|
-
use tokio::runtime::Runtime;
|
|
5
|
+
use tokio::runtime::{Handle, Runtime};
|
|
6
6
|
|
|
7
7
|
const TAG: &str = "StatsigGlobal";
|
|
8
8
|
|
|
@@ -40,6 +40,29 @@ impl StatsigGlobal {
|
|
|
40
40
|
ptr.store(Arc::new(StatsigGlobal::new()));
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
+
/// Stops the shared tokio runtime, joining its worker threads.
|
|
44
|
+
///
|
|
45
|
+
/// Per-instance shutdown deliberately leaves the shared runtime running so
|
|
46
|
+
/// later instances can reuse it. Callers that unload this library while the
|
|
47
|
+
/// process keeps running need those threads gone first, and this is the
|
|
48
|
+
/// only thing that stops them.
|
|
49
|
+
///
|
|
50
|
+
/// Returns false without resetting when called from a runtime thread.
|
|
51
|
+
/// Dropping a runtime from inside itself panics, and binding teardown can
|
|
52
|
+
/// reach this from one, so the guard lives here rather than in callers.
|
|
53
|
+
pub fn shutdown_shared_runtime() -> bool {
|
|
54
|
+
if Handle::try_current().is_ok() {
|
|
55
|
+
log_e!(
|
|
56
|
+
TAG,
|
|
57
|
+
"Refusing to shut down the shared runtime from inside a runtime thread"
|
|
58
|
+
);
|
|
59
|
+
return false;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
Self::reset();
|
|
63
|
+
true
|
|
64
|
+
}
|
|
65
|
+
|
|
43
66
|
fn new() -> Self {
|
|
44
67
|
Self {
|
|
45
68
|
tokio_runtime: Mutex::new(None),
|
|
@@ -10,7 +10,7 @@ lazy_static! {
|
|
|
10
10
|
static ref STATSIG_METADATA: RwLock<StatsigMetadata> = RwLock::new(StatsigMetadata::new());
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
pub const SDK_VERSION: &str = "0.23.
|
|
13
|
+
pub const SDK_VERSION: &str = "0.23.1-beta.2609090206";
|
|
14
14
|
|
|
15
15
|
const TAG: &str = stringify!(StatsigMetadata);
|
|
16
16
|
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
use serial_test::serial;
|
|
2
|
+
use statsig_rust::{statsig_global::StatsigGlobal, StatsigRuntime};
|
|
3
|
+
use std::collections::HashSet;
|
|
4
|
+
use std::sync::atomic::{AtomicUsize, Ordering};
|
|
5
|
+
use std::sync::mpsc;
|
|
6
|
+
use std::thread::ThreadId;
|
|
7
|
+
use std::time::{Duration, Instant};
|
|
8
|
+
|
|
9
|
+
fn is_runtime_none() -> bool {
|
|
10
|
+
let global = StatsigGlobal::get();
|
|
11
|
+
let rt = &global.tokio_runtime;
|
|
12
|
+
let lock_result = rt.try_lock().expect("Failed to lock tokio runtime");
|
|
13
|
+
lock_result.is_none()
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
fn is_runtime_some() -> bool {
|
|
17
|
+
let global = StatsigGlobal::get();
|
|
18
|
+
let rt = &global.tokio_runtime;
|
|
19
|
+
let lock_result = rt.try_lock().expect("Failed to lock tokio runtime");
|
|
20
|
+
lock_result.is_some()
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
static WORKERS_EXITED: AtomicUsize = AtomicUsize::new(0);
|
|
24
|
+
|
|
25
|
+
struct ExitRecorder;
|
|
26
|
+
|
|
27
|
+
impl Drop for ExitRecorder {
|
|
28
|
+
fn drop(&mut self) {
|
|
29
|
+
WORKERS_EXITED.fetch_add(1, Ordering::SeqCst);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
thread_local! {
|
|
34
|
+
/// Initialized on every worker thread that runs a task below, so each one
|
|
35
|
+
/// reports itself when it exits. Portable stand-in for counting OS threads.
|
|
36
|
+
static EXIT_RECORDER: ExitRecorder = const { ExitRecorder };
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
/// Runs work on the shared runtime until every worker thread has been used,
|
|
40
|
+
/// and returns the set of threads that ran it. Each of those threads now has
|
|
41
|
+
/// an `ExitRecorder` that fires when the thread terminates.
|
|
42
|
+
fn occupy_worker_threads(runtime: &StatsigRuntime) -> HashSet<ThreadId> {
|
|
43
|
+
let handle = runtime.get_handle().expect("Failed to get runtime handle");
|
|
44
|
+
let (tx, rx) = mpsc::channel::<ThreadId>();
|
|
45
|
+
|
|
46
|
+
for _ in 0..40 {
|
|
47
|
+
let tx = tx.clone();
|
|
48
|
+
handle.spawn(async move {
|
|
49
|
+
EXIT_RECORDER.with(|_| {});
|
|
50
|
+
let _ = tx.send(std::thread::current().id());
|
|
51
|
+
// Hold the worker so the pool spreads the remaining tasks around.
|
|
52
|
+
std::thread::sleep(Duration::from_millis(20));
|
|
53
|
+
});
|
|
54
|
+
}
|
|
55
|
+
drop(tx);
|
|
56
|
+
|
|
57
|
+
let mut threads = HashSet::new();
|
|
58
|
+
while let Ok(id) = rx.recv_timeout(Duration::from_secs(10)) {
|
|
59
|
+
threads.insert(id);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
threads
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
fn wait_for(timeout: Duration, condition: impl Fn() -> bool) -> bool {
|
|
66
|
+
let deadline = Instant::now() + timeout;
|
|
67
|
+
while Instant::now() < deadline {
|
|
68
|
+
if condition() {
|
|
69
|
+
return true;
|
|
70
|
+
}
|
|
71
|
+
std::thread::sleep(Duration::from_millis(10));
|
|
72
|
+
}
|
|
73
|
+
condition()
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
#[test]
|
|
77
|
+
#[serial]
|
|
78
|
+
fn test_get_runtime() {
|
|
79
|
+
let global = StatsigGlobal::get();
|
|
80
|
+
let global_again = StatsigGlobal::get();
|
|
81
|
+
|
|
82
|
+
assert_eq!(global.pid, global_again.pid);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
#[test]
|
|
86
|
+
#[serial]
|
|
87
|
+
fn test_fork_resetting_runtime() {
|
|
88
|
+
let global = StatsigGlobal::get();
|
|
89
|
+
let original_pid = global.pid;
|
|
90
|
+
|
|
91
|
+
assert!(is_runtime_none());
|
|
92
|
+
|
|
93
|
+
let original_rt = StatsigRuntime::get_runtime();
|
|
94
|
+
assert_eq!(original_pid, std::process::id());
|
|
95
|
+
|
|
96
|
+
original_rt
|
|
97
|
+
.spawn("test", |_| async {
|
|
98
|
+
tokio::time::sleep(Duration::from_secs(5)).await;
|
|
99
|
+
})
|
|
100
|
+
.unwrap();
|
|
101
|
+
|
|
102
|
+
assert!(is_runtime_some());
|
|
103
|
+
|
|
104
|
+
let pid = unsafe { libc::fork() };
|
|
105
|
+
if pid == 0 {
|
|
106
|
+
let child_global = StatsigGlobal::get();
|
|
107
|
+
assert_ne!(child_global.pid, original_pid);
|
|
108
|
+
|
|
109
|
+
assert!(is_runtime_none());
|
|
110
|
+
|
|
111
|
+
let child_rt = StatsigRuntime::get_runtime();
|
|
112
|
+
child_rt
|
|
113
|
+
.spawn("test", |_| async {
|
|
114
|
+
tokio::time::sleep(std::time::Duration::from_secs(5)).await;
|
|
115
|
+
})
|
|
116
|
+
.unwrap();
|
|
117
|
+
|
|
118
|
+
assert!(is_runtime_some());
|
|
119
|
+
|
|
120
|
+
std::process::exit(0);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
let global = StatsigGlobal::get();
|
|
124
|
+
assert_eq!(global.pid, original_pid);
|
|
125
|
+
|
|
126
|
+
unsafe {
|
|
127
|
+
let mut status: i32 = 0;
|
|
128
|
+
libc::waitpid(pid, &mut status, 0);
|
|
129
|
+
assert_eq!(libc::WEXITSTATUS(status), 0);
|
|
130
|
+
};
|
|
131
|
+
|
|
132
|
+
let another_rt = StatsigRuntime::get_runtime();
|
|
133
|
+
another_rt.shutdown();
|
|
134
|
+
drop(another_rt);
|
|
135
|
+
|
|
136
|
+
assert!(
|
|
137
|
+
is_runtime_some(),
|
|
138
|
+
"Per-instance shutdown must leave the shared runtime for the next instance. \
|
|
139
|
+
StatsigGlobal::shutdown_shared_runtime is what stops it."
|
|
140
|
+
);
|
|
141
|
+
|
|
142
|
+
StatsigGlobal::shutdown_shared_runtime();
|
|
143
|
+
}
|
|
144
|
+
|
|
145
|
+
#[test]
|
|
146
|
+
#[serial]
|
|
147
|
+
fn test_shutdown_shared_runtime_stops_worker_threads() {
|
|
148
|
+
StatsigGlobal::shutdown_shared_runtime();
|
|
149
|
+
WORKERS_EXITED.store(0, Ordering::SeqCst);
|
|
150
|
+
|
|
151
|
+
let rt = StatsigRuntime::get_runtime();
|
|
152
|
+
let workers = occupy_worker_threads(&rt);
|
|
153
|
+
|
|
154
|
+
assert!(
|
|
155
|
+
!workers.is_empty(),
|
|
156
|
+
"No worker threads ran, so nothing was observed"
|
|
157
|
+
);
|
|
158
|
+
assert_eq!(
|
|
159
|
+
WORKERS_EXITED.load(Ordering::SeqCst),
|
|
160
|
+
0,
|
|
161
|
+
"Worker threads exited while the runtime was still in use"
|
|
162
|
+
);
|
|
163
|
+
|
|
164
|
+
// The most complete teardown a binding can do per instance.
|
|
165
|
+
rt.shutdown();
|
|
166
|
+
drop(rt);
|
|
167
|
+
|
|
168
|
+
assert!(
|
|
169
|
+
!wait_for(Duration::from_millis(500), || WORKERS_EXITED
|
|
170
|
+
.load(Ordering::SeqCst)
|
|
171
|
+
> 0),
|
|
172
|
+
"Per-instance shutdown stopped shared worker threads. \
|
|
173
|
+
Bindings rely on the shared runtime surviving it."
|
|
174
|
+
);
|
|
175
|
+
assert!(is_runtime_some());
|
|
176
|
+
|
|
177
|
+
// This is what a binding must call before the library is unloaded. PHP
|
|
178
|
+
// unloads it at the end of every request, and on Windows that unmaps the
|
|
179
|
+
// module while these threads are still running inside it.
|
|
180
|
+
assert!(StatsigGlobal::shutdown_shared_runtime());
|
|
181
|
+
|
|
182
|
+
assert!(
|
|
183
|
+
wait_for(Duration::from_secs(5), || WORKERS_EXITED
|
|
184
|
+
.load(Ordering::SeqCst)
|
|
185
|
+
>= workers.len()),
|
|
186
|
+
"Only {} of {} worker threads exited. Threads that outlive the library \
|
|
187
|
+
fault when the module is unmapped.",
|
|
188
|
+
WORKERS_EXITED.load(Ordering::SeqCst),
|
|
189
|
+
workers.len()
|
|
190
|
+
);
|
|
191
|
+
assert!(is_runtime_none());
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
#[test]
|
|
195
|
+
#[serial]
|
|
196
|
+
fn test_shutdown_shared_runtime_is_idempotent_and_safe_when_unused() {
|
|
197
|
+
StatsigGlobal::shutdown_shared_runtime();
|
|
198
|
+
|
|
199
|
+
// Never initialized, and repeated calls.
|
|
200
|
+
assert!(StatsigGlobal::shutdown_shared_runtime());
|
|
201
|
+
assert!(StatsigGlobal::shutdown_shared_runtime());
|
|
202
|
+
assert!(is_runtime_none());
|
|
203
|
+
|
|
204
|
+
let rt = StatsigRuntime::get_runtime();
|
|
205
|
+
assert!(is_runtime_some());
|
|
206
|
+
drop(rt);
|
|
207
|
+
|
|
208
|
+
assert!(StatsigGlobal::shutdown_shared_runtime());
|
|
209
|
+
assert!(StatsigGlobal::shutdown_shared_runtime());
|
|
210
|
+
assert!(is_runtime_none());
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
#[test]
|
|
214
|
+
#[serial]
|
|
215
|
+
fn test_shutdown_shared_runtime_refuses_from_inside_a_runtime_thread() {
|
|
216
|
+
StatsigGlobal::shutdown_shared_runtime();
|
|
217
|
+
|
|
218
|
+
let rt = StatsigRuntime::get_runtime();
|
|
219
|
+
let handle = rt.get_handle().expect("Failed to get runtime handle");
|
|
220
|
+
|
|
221
|
+
// Dropping a runtime from inside itself panics. PHP's teardown made this
|
|
222
|
+
// reachable, so the guard has to hold rather than relying on callers.
|
|
223
|
+
let reset_from_worker = handle.block_on(async { StatsigGlobal::shutdown_shared_runtime() });
|
|
224
|
+
|
|
225
|
+
assert!(
|
|
226
|
+
!reset_from_worker,
|
|
227
|
+
"Shared runtime was reset from inside a runtime thread"
|
|
228
|
+
);
|
|
229
|
+
assert!(
|
|
230
|
+
is_runtime_some(),
|
|
231
|
+
"The runtime was dropped from inside itself"
|
|
232
|
+
);
|
|
233
|
+
|
|
234
|
+
drop(rt);
|
|
235
|
+
StatsigGlobal::shutdown_shared_runtime();
|
|
236
|
+
}
|
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
use serial_test::serial;
|
|
2
|
-
use statsig_rust::{statsig_global::StatsigGlobal, StatsigRuntime};
|
|
3
|
-
use std::time::Duration;
|
|
4
|
-
|
|
5
|
-
fn is_runtime_none() -> bool {
|
|
6
|
-
let global = StatsigGlobal::get();
|
|
7
|
-
let rt = &global.tokio_runtime;
|
|
8
|
-
let lock_result = rt.try_lock().expect("Failed to lock tokio runtime");
|
|
9
|
-
lock_result.is_none()
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
fn is_runtime_some() -> bool {
|
|
13
|
-
let global = StatsigGlobal::get();
|
|
14
|
-
let rt = &global.tokio_runtime;
|
|
15
|
-
let lock_result = rt.try_lock().expect("Failed to lock tokio runtime");
|
|
16
|
-
lock_result.is_some()
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
#[test]
|
|
20
|
-
#[serial]
|
|
21
|
-
fn test_get_runtime() {
|
|
22
|
-
let global = StatsigGlobal::get();
|
|
23
|
-
let global_again = StatsigGlobal::get();
|
|
24
|
-
|
|
25
|
-
assert_eq!(global.pid, global_again.pid);
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
#[test]
|
|
29
|
-
#[serial]
|
|
30
|
-
fn test_fork_resetting_runtime() {
|
|
31
|
-
let global = StatsigGlobal::get();
|
|
32
|
-
let original_pid = global.pid;
|
|
33
|
-
|
|
34
|
-
assert!(is_runtime_none());
|
|
35
|
-
|
|
36
|
-
let original_rt = StatsigRuntime::get_runtime();
|
|
37
|
-
assert_eq!(original_pid, std::process::id());
|
|
38
|
-
|
|
39
|
-
original_rt
|
|
40
|
-
.spawn("test", |_| async {
|
|
41
|
-
tokio::time::sleep(Duration::from_secs(5)).await;
|
|
42
|
-
})
|
|
43
|
-
.unwrap();
|
|
44
|
-
|
|
45
|
-
assert!(is_runtime_some());
|
|
46
|
-
|
|
47
|
-
let pid = unsafe { libc::fork() };
|
|
48
|
-
if pid == 0 {
|
|
49
|
-
let child_global = StatsigGlobal::get();
|
|
50
|
-
assert_ne!(child_global.pid, original_pid);
|
|
51
|
-
|
|
52
|
-
assert!(is_runtime_none());
|
|
53
|
-
|
|
54
|
-
let child_rt = StatsigRuntime::get_runtime();
|
|
55
|
-
child_rt
|
|
56
|
-
.spawn("test", |_| async {
|
|
57
|
-
tokio::time::sleep(std::time::Duration::from_secs(5)).await;
|
|
58
|
-
})
|
|
59
|
-
.unwrap();
|
|
60
|
-
|
|
61
|
-
assert!(is_runtime_some());
|
|
62
|
-
|
|
63
|
-
std::process::exit(0);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
let global = StatsigGlobal::get();
|
|
67
|
-
assert_eq!(global.pid, original_pid);
|
|
68
|
-
|
|
69
|
-
unsafe {
|
|
70
|
-
let mut status: i32 = 0;
|
|
71
|
-
libc::waitpid(pid, &mut status, 0);
|
|
72
|
-
assert_eq!(libc::WEXITSTATUS(status), 0);
|
|
73
|
-
};
|
|
74
|
-
|
|
75
|
-
let another_rt = StatsigRuntime::get_runtime();
|
|
76
|
-
another_rt.shutdown();
|
|
77
|
-
drop(another_rt);
|
|
78
|
-
|
|
79
|
-
assert!(is_runtime_some(), "The runtime should not be dropped");
|
|
80
|
-
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-grpc/Cargo.toml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-grpc/src/lib.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/.gitignore
RENAMED
|
File without changes
|
{statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/Cargo.toml
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/lib.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/pyo_utils.rs
RENAMED
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/safe_gil.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
{statsig_python_core-0.23.0 → statsig_python_core-0.23.1b2609090206}/statsig-pyo3/src/unit_id_py.rs
RENAMED
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|