Skip to content

Make default debounce time 0.5 seconds - #236

Merged
tudddorrr merged 1 commit into
developfrom
default-debounce-0.5
Aug 5, 2026
Merged

Make default debounce time 0.5 seconds#236
tudddorrr merged 1 commit into
developfrom
default-debounce-0.5

make default debounce time 0.5 seconds

afe473e
Select commit
Loading
Failed to load commit list.
Sign in for the full log view
GitHub Actions / unit-test-report.xml succeeded Aug 5, 2026 in 1s

137 passed, 0 failed and 0 skipped

Tests passed successfully

Expand for details
Report Passed Failed Skipped Time
./reports/report_1/results.xml 137 ✅ 0ms

✅ ./reports/report_1/results.xml

137 tests were completed in 0ms with 137 passed, 0 failed and 0 skipped.

Test suite Passed Failed Skipped Time
create_request_signature_test 4 ✅ 29ms
debounced_api_test 6 ✅ 348ms
delete_prop_array_test 3 ✅ 25ms
delete_prop_test 5 ✅ 36ms
delete_prop_test 2 ✅ 18ms
dictionary_to_props_test 5 ✅ 34ms
get_prop_array_test 3 ✅ 24ms
get_prop_test 2 ✅ 19ms
get_prop_test 3 ✅ 25ms
identify_offline_test 2 ✅ 19ms
insert_into_prop_array_test 4 ✅ 31ms
list_props_test 2 ✅ 19ms
on_props_updated_test 4 ✅ 33ms
player_auth_error_test 5 ✅ 35ms
player_auth_result_test 5 ✅ 36ms
props_to_dictionary_test 5 ✅ 42ms
remove_from_prop_array_test 5 ✅ 37ms
serialise_dictionary_test 7 ✅ 45ms
serialise_props_test 4 ✅ 29ms
set_prop_array_test 6 ✅ 43ms
set_prop_test 2 ✅ 18ms
talo_settings_test 43 ✅ 247ms
upsert_many_props_test 4 ✅ 32ms
upsert_prop_test 6 ✅ 43ms

✅ create_request_signature_test

✅ test_token_header_decodes_and_contains_valid_payload
✅ test_token_signature_verifies_with_key_value
✅ test_different_bodies_produce_different_tokens
✅ test_token_uses_configured_key_version

✅ debounced_api_test

✅ test_debounced_updates_merge_into_one
✅ test_flush_forces_pending_update_and_resolves_waiter
✅ test_flush_waits_for_in_flight_update
✅ test_queued_update_gets_its_own_result_after_in_flight_update
✅ test_failed_update_resolves_waiter_and_returns_failure
✅ test_flush_returns_nothing_pending_when_nothing_queued

✅ delete_prop_array_test

✅ test_delete_prop_array_array_is_empty_and_sentinel_null_exists_in_props
✅ test_delete_prop_array_when_the_array_does_not_exist_does_nothing
✅ test_delete_prop_array_accepts_key_with_or_without_brackets

✅ delete_prop_test

✅ test_delete_prop_removes_prop
✅ test_delete_prop_leaves_other_props_intact
✅ test_delete_prop_removes_all_entries_for_array_key
✅ test_delete_prop_leaves_other_array_props_intact
✅ test_delete_prop_is_isolated_per_channel

✅ delete_prop_test

✅ test_delete_prop_when_the_prop_exists_sets_the_value_to_null
✅ test_delete_prop_when_the_prop_does_not_exist_does_nothing

✅ dictionary_to_props_test

✅ test_dictionary_to_props_creates_prop_per_scalar_key
✅ test_dictionary_to_props_with_array_key_creates_one_prop_per_value
✅ test_dictionary_to_props_with_mixed_scalar_and_array
✅ test_dictionary_to_props_with_null_value_creates_prop_with_null
✅ test_dictionary_to_props_with_array_key_but_non_array_value_treats_as_scalar

✅ get_prop_array_test

✅ test_get_prop_array_with_existing_items_returns_all_values
✅ test_get_prop_array_with_no_matching_key_returns_empty_array
✅ test_get_prop_array_accepts_key_with_or_without_brackets

✅ get_prop_test

✅ test_get_prop_returns_cached_prop
✅ test_get_prop_returns_null_when_prop_is_deleted

✅ get_prop_test

✅ test_get_prop_with_an_existing_key_returns_correct_value
✅ test_get_prop_with_a_missing_key_returns_empty_string
✅ test_get_prop_with_a_missing_key_and_fallback_returns_fallback

✅ identify_offline_test

✅ test_identifies_player_when_offline_with_matching_alias
✅ test_does_not_set_the_alias_on_request_mismatch

✅ insert_into_prop_array_test

✅ test_insert_into_prop_array_adds_value_to_existing_array
✅ test_insert_into_prop_array_does_not_add_duplicate_value
✅ test_insert_into_prop_array_when_array_was_previously_deleted_clears_null_entry_and_inserts_value
✅ test_insert_into_prop_array_with_empty_value_does_nothing

✅ list_props_test

✅ test_list_props_returns_cached_scalar_props
✅ test_list_props_returns_all_cached_prop_array_entries

✅ on_props_updated_test

✅ test_on_props_updated_upserts_new_props
✅ test_on_props_updated_deletes_props
✅ test_on_props_updated_updates_existing_props
✅ test_on_props_updated_handles_upserts_and_deletes_together

✅ player_auth_error_test

✅ test_from_response_with_error_code_and_message_uses_both
✅ test_from_response_with_error_code_only_uses_unknown_error_message
✅ test_from_response_with_message_only_falls_back_to_api_error_code
✅ test_from_response_with_null_body_uses_api_error_defaults
✅ test_from_response_with_unknown_error_code_falls_back_to_api_error

✅ player_auth_result_test

✅ test_player_auth_result_with_no_error_is_success
✅ test_player_auth_result_with_error_is_failure
✅ test_player_auth_login_result_with_no_error_is_success
✅ test_player_auth_login_result_with_verification_required_is_success
✅ test_player_auth_login_result_with_error_defaults_to_no_verification

✅ props_to_dictionary_test

✅ test_props_to_dictionary_with_scalar_props
✅ test_props_to_dictionary_with_null_value_stores_null
✅ test_props_to_dictionary_with_array_props_collects_values_under_array_key
✅ test_props_to_dictionary_with_array_props_skips_null_sentinel_values
✅ test_props_to_dictionary_with_mixed_scalar_and_array_props

✅ remove_from_prop_array_test

✅ test_remove_from_prop_array_removes_matching_value
✅ test_remove_from_prop_array_when_last_item_removed_array_is_empty_and_sentinel_null_exists_in_props
✅ test_remove_from_prop_array_when_array_is_already_deleted_remains_deleted
✅ test_remove_from_prop_array_when_value_does_not_exist_does_nothing
✅ test_remove_from_prop_array_when_array_is_already_deleted_does_nothing

✅ serialise_dictionary_test

✅ test_serialise_dictionary_with_scalar_values
✅ test_serialise_dictionary_with_null_value_keeps_null
✅ test_serialise_dictionary_with_array_key_expands_values
✅ test_serialise_dictionary_with_empty_array_produces_null_sentinel
✅ test_serialise_dictionary_with_mixed_scalar_and_array
✅ test_serialise_dictionary_with_non_string_scalar_converts_to_string
✅ test_serialise_dictionary_with_array_key_but_non_array_value_treats_as_scalar

✅ serialise_props_test

✅ test_serialise_props_converts_each_prop_to_dictionary
✅ test_serialise_props_with_null_value_keeps_null
✅ test_serialise_props_with_array_key_preserves_individual_entries
✅ test_serialise_props_with_empty_array_returns_empty_array

✅ set_prop_array_test

✅ test_set_prop_array_with_new_key_adds_all_values
✅ test_set_prop_array_deduplicates_values
✅ test_set_prop_array_with_all_empty_values_does_nothing
✅ test_set_prop_array_on_existing_populated_array_replaces_old_values
✅ test_set_prop_array_with_empty_collection_does_nothing
✅ test_set_prop_array_when_array_was_previously_deleted_clears_null_entry_and_sets_new_values

✅ set_prop_test

✅ test_set_prop_when_prop_does_not_already_exist_appends_the_new_prop
✅ test_set_prop_when_prop_already_exists_updates_the_prop

✅ talo_settings_test

✅ test_access_key_defaults_to_empty
✅ test_access_key_reading
✅ test_access_key_writing
✅ test_api_url_defaults_to_default_api_url
✅ test_api_url_reading
✅ test_api_url_writing
✅ test_socket_url_defaults_to_default_socket_url
✅ test_socket_url_reading
✅ test_socket_url_writing
✅ test_auto_connect_socket_defaults_to_true
✅ test_auto_connect_socket_reading
✅ test_auto_connect_socket_writing
✅ test_handle_tree_quit_defaults_to_true
✅ test_handle_tree_quit_reading
✅ test_handle_tree_quit_writing
✅ test_continuity_enabled_defaults_to_true
✅ test_continuity_enabled_reading
✅ test_continuity_enabled_writing
✅ test_log_requests_reading
✅ test_log_requests_writing
✅ test_log_responses_reading
✅ test_log_responses_writing
✅ test_offline_mode_defaults_to_false
✅ test_offline_mode_reading
✅ test_offline_mode_writing
✅ test_auto_start_session_defaults_to_true
✅ test_auto_start_session_reading
✅ test_auto_start_session_writing
✅ test_cache_player_on_identify_defaults_to_true
✅ test_cache_player_on_identify_reading
✅ test_cache_player_on_identify_writing
✅ test_debounce_timer_seconds_defaults_to_0point5
✅ test_debounce_timer_seconds_reading
✅ test_debounce_timer_seconds_writing
✅ test_verification_enabled_defaults_to_false
✅ test_verification_enabled_reading
✅ test_verification_enabled_writing
✅ test_verification_key_version_defaults_to_empty
✅ test_verification_key_version_reading
✅ test_verification_key_version_writing
✅ test_verification_key_value_defaults_to_empty
✅ test_verification_key_value_reading
✅ test_verification_key_value_writing

✅ upsert_many_props_test

✅ test_upsert_many_props_adds_all_props
✅ test_upsert_many_props_replaces_existing_props
✅ test_upsert_many_props_stores_array_props_as_individual_entries
✅ test_upsert_many_props_with_empty_array_does_nothing

✅ upsert_prop_test

✅ test_upsert_prop_adds_new_prop
✅ test_upsert_prop_replaces_existing_prop
✅ test_upsert_prop_preserves_other_props
✅ test_upsert_prop_with_expand_and_array_key_expands_into_individual_props
✅ test_upsert_prop_with_expand_replaces_all_previous_array_entries
✅ test_upsert_prop_is_isolated_per_channel