MCPcopy Create free account

hub / github.com/debpalash/VoiceStudio / functions

Functions15,058 in github.com/debpalash/VoiceStudio

Functiontest_a_closed_client_without_an_import_is_left_alone
The rule requires BOTH halves. A bare closed-client error elsewhere must not be given a transformers-flavoured explanation.
tests/test_network_beats_install_diagnosis.py:102
Functiontest_a_coherent_release_produces_a_manifest
()
tests/test_release_preview_manifest_rebuild.py:71
Functiontest_a_complete_cache_takes_the_fast_path
(dub, tmp_path)
tests/test_dub_batch_width_and_budget.py:148
Functiontest_a_complete_generate_carries_no_such_headers
The counterpart: a healthy render must not warn about nothing.
tests/test_dropped_audio_reaches_the_user_1330.py:236
Functiontest_a_complete_render_records_nothing
(ct)
tests/test_dropped_audio_reaches_the_user_1330.py:99
Functiontest_a_computing_worker_is_not
The false positive that matters: telling someone with a genuinely slow machine that they found a bug would send them to the issue tracker instead
tests/test_wedge_vs_slow_hardware_1416.py:66
Functiontest_a_config_failure_is_not_a_timeout
(gen)
tests/test_generation_timeout_is_named.py:111
Functiontest_a_config_update_leaves_the_other_fields_alone
One negotiated key must not silently reset another.
tests/test_worker_upload_client.py:499
Functiontest_a_connected_pin_that_cannot_run_this_is_not_reported_as_offline
Offline" and "here but cannot run this" are different facts. Found on real hardware, not in this suite: asking a live worker for an engine it
tests/test_worker_scheduler.py:165
Functiontest_a_connection_string_without_a_certificate_pin_is_refused
(store)
tests/test_worker_inbound_keys.py:607
Functiontest_a_consumed_environment_token_is_not_redeemed_after_restart
Compose keeps its environment across restarts; the join code is one-use.
tests/test_worker_agent.py:453
Functiontest_a_corrupt_config_is_force_repaired_and_retried
#1437: a truncated config.json is the same corrupt-cache class.
tests/test_corrupt_weights_recovery_1406.py:346
Functiontest_a_corrupt_key_file_is_reported_rather_than_read_as_no_keys
Silently becoming "no keys configured" reads to the user as "my keys vanished", with the cause nowhere.
tests/test_worker_inbound_keys.py:484
Functiontest_a_corrupt_shard_is_re_downloaded_and_the_load_retried
The reported bug. Before the fix this propagated as a raw 500.
tests/test_corrupt_weights_recovery_1406.py:141
Functiontest_a_corrupt_shared_cache_generation_is_never_deleted_or_replaced
( tmp_path )
tests/test_worker_inputs.py:435
Functiontest_a_cpu_only_wheel_says_nothing
Silence is right here, not an oversight: a wheel with no GPU support is also every macOS build (MPS is probed separately) and every CPU Docker
tests/test_why_no_gpu_1274.py:54
Functiontest_a_cut_tls_connection_is_a_network_failure_on_generate
It was falling through to the unrecognized-error catch-all, so the user saw `_ssl.c:1016` and a suggestion to report it.
tests/test_network_beats_install_diagnosis.py:130
Functiontest_a_damaged_asr_shard_does_not_re_download_the_tts_model
With OMNIVOICE_PRELOAD_TTS_ASR on, `_load()` also pulls the Whisper checkpoint — a different repo. Blaming (and re-downloading) the TTS model
tests/test_corrupt_weights_recovery_1406.py:317
Functiontest_a_damaged_transfer_is_refused
A truncated clip does not fail — it clones silence.
tests/test_worker_inputs.py:623
Functiontest_a_declared_artifact_fetch_failure_is_not_committed_or_acknowledged
(plane)
tests/test_worker_server_integrity.py:600
Functiontest_a_delete_during_a_RENDER_is_honoured
The case Greptile actually reported, and the one an earlier version of this fix did not close. A dub is imported ONCE and rendered many times
tests/test_dub_job_deleted_mid_ingest.py:319
Functiontest_a_delete_landing_mid_save_cannot_be_overtaken
The race itself — asserted on ORDER, which is the only thing that distinguishes it. Two earlier versions of this test were not tests. The fir
tests/test_dub_job_deleted_mid_ingest.py:140
Functiontest_a_deleted_choice_falls_back_rather_than_stranding
(db, settings)
tests/test_worker_routing.py:234
Functiontest_a_deleted_job_is_never_persisted
(monkeypatch)
tests/test_dub_job_deleted_mid_ingest.py:129
Functiontest_a_deleted_job_is_not_resurrected
`False` must mean "stop", not "insert it back" — the user deleted this on purpose, and re-adding it would put a phantom row back in history.
tests/test_dub_job_deleted_mid_ingest.py:58
Functiontest_a_deliberate_dtype_leak
()
tests/test_torch_dtype_guard.py:19
Functiontest_a_desktop_machine_still_preloads
A machine that is both an app and a worker keeps the warm-up — there is a real user in front of it and the whole point of preloading stands.
tests/test_worker_inbound_keys.py:804
Functiontest_a_different_certificate_fails_the_pin
The café-network substitution this whole design exists to stop.
tests/test_worker_transport.py:92
Functiontest_a_different_machine_cannot_re_adopt_an_enrolled_workers_identity
The re-adoption path exists so a node that lost the id this panel gave it can still reconnect on proof of key possession. It must not become a way
tests/test_worker_inbound_transport.py:3145
Functiontest_a_digest_mismatch_is_never_renamed_into_place
(plane)
tests/test_worker_upload_server.py:927
Functiontest_a_dir_no_other_job_references_reports_no_holders
(dp)
tests/test_deleting_a_dub_keeps_dirs_others_use.py:64
Functiontest_a_disconnected_worker_is_listed_but_offline
(db, settings)
tests/test_worker_routing.py:140
Functiontest_a_disconnecting_client_cancels_the_task
Otherwise the tab closes, the request is abandoned, and the 4090 keeps rendering — holding its only slot — for something nobody will collect.
tests/test_worker_service_api.py:839
Functiontest_a_discovered_model_expires
The user can swap the loaded model inside LM Studio without touching OmniVoice. An unbounded cache keeps sending the unloaded name and 404s ev
tests/test_lmstudio_model_discovery.py:225
Functiontest_a_double_release_cannot_invent_a_zombie
A worker-wide zombie counter kept beside the per-slot ones could be incremented for a slot that owned nothing — leaving a park no reap could e
tests/test_worker_capacity.py:196
Functiontest_a_double_release_cannot_invent_capacity
`release` guarded its per-model slot but decremented the worker-wide count regardless, so two paths ending one attempt overcommitted the machi
tests/test_worker_capacity.py:183
Functiontest_a_download_read_timeout_stays_with_the_network_branch
read timed out" is a dying model download. The network branch names that and tells the user to check their connection / mirror, which is stric
tests/test_generation_timeout_is_named.py:91
Functiontest_a_dropped_chunk_is_logged
(ct, caplog)
tests/test_dropped_chunk_is_not_silent.py:56
Functiontest_a_dropped_final_chunk_is_recorded_even_when_it_is_the_only_loss
(ct)
tests/test_dropped_audio_reaches_the_user_1330.py:64
Functiontest_a_duplicate_result_is_acknowledged
Redelivery of work that already committed is not wrong, it just lost — without an ack the worker redelivers forever.
tests/test_worker_server_integrity.py:2546
Functiontest_a_failed_cuda_probe_does_not_also_claim_no_device_was_found
`torch.cuda.is_available()` raising tells us nothing about the host. The probe reports `CUDA init raised: …` for that, which is true. Running
tests/test_why_no_gpu_1274.py:280
Functiontest_a_failed_join_answers_with_the_reason_and_stays_off
(client, monkeypatch)
tests/test_worker_join_api.py:192
Functiontest_a_failed_preload_shows_up_in_the_status
Fail-before: the status stayed "idle" with no error, so the app looked healthy and produced nothing until a generation failed much later.
tests/test_broken_dependency_diagnosis_1415.py:153
Functiontest_a_failed_probe_is_not_retried_per_segment
A stopped server must cost one 5s timeout, not one per segment. Translation resolves the model for every segment it renders, so an uncached f
tests/test_lmstudio_model_discovery.py:182
Functiontest_a_failed_rejoin_restores_the_working_enrollment
A rejoin that fails must not cost the user the control plane they had. Trust state is staged until acceptance, but the UI still stops the working
tests/test_worker_join_api.py:226
Functiontest_a_failed_task_is_not_reported_as_success
(client, monkeypatch)
tests/test_worker_service_api.py:724
Functiontest_a_failed_task_wakes_its_waiter
()
tests/test_worker_scheduler.py:890
Functiontest_a_failed_vram_probe_does_not_guess
vram_gb == 0 means the probe failed, not that the card has no memory.
tests/test_low_vram_advisory.py:101
Functiontest_a_failing_agent_never_takes_the_app_down
A machine that cannot reach its control plane is still a perfectly good OmniVoice install for whoever is sitting at it.
tests/test_worker_agent.py:87
Methodtest_a_failing_entry_does_not_affect_the_others
(self)
tests/test_speaker_clone_purity.py:241
Functiontest_a_failing_job_releases_its_hold
(engine_cache)
tests/test_worker_executor_residency.py:320
Functiontest_a_failing_memory_probe_never_aborts_the_transcription
Making room is best-effort: if we can't tell how much RAM is free, the dub still runs — it must not die because a probe raised.
tests/test_unified_memory_offload.py:86
Functiontest_a_failing_start_never_takes_the_app_down
The user's local workflow does not depend on this feature existing.
tests/test_worker_service_api.py:86
Functiontest_a_failing_sweep_never_takes_the_worker_down
The agent's standing promise: a machine that cannot do the extra thing is still a perfectly good worker.
tests/test_worker_agent.py:1684
Functiontest_a_failing_unload_does_not_abort_the_eviction
(instance_cache, monkeypatch)
tests/test_engine_memory.py:209
Functiontest_a_failing_unload_still_drops_the_reference
A stuck unload must not wedge the reaper or keep the model pinned — idle_worker calls this on a loop and must never die.
tests/test_capture_asr_idle_release.py:121
Functiontest_a_failure_after_a_reconnect_is_not_swallowed
Same fence, worse consequence: the worker's own error report vanished and the task died of silence instead of the reason it actually had.
tests/test_worker_server_integrity.py:944
Functiontest_a_fast_job_is_unaffected
The overwhelmingly common case must not pick up latency: the sliced wait returns as soon as the future resolves.
tests/test_model_load_extends_generate_budget.py:152
Functiontest_a_fresh_discovery_is_still_reused_within_its_ttl
The TTL must not defeat the caching it bounds.
tests/test_lmstudio_model_discovery.py:238
Functiontest_a_fresh_environment_token_moves_a_non_revoked_worker
Changing the Compose token can move an identity the server still accepts.
tests/test_worker_agent.py:794
Functiontest_a_fresh_model_is_not_demoted
()
backend/tests/test_dictation_model_demotion.py:36
Functiontest_a_fresh_upstream_download_resolves_its_config
The load path, not just the installer: a clean IndexTTS-2.5 snapshot has only config.yaml, and pre-fix that produced a cfg_path to nowhere.
tests/test_indextts_config_and_timeout_1611.py:86
Functiontest_a_full_queue_is_refused_at_the_door
(client, monkeypatch)
tests/test_worker_service_api.py:717
Functiontest_a_futures_timeout_is_recognised
What a pool job that overran its deadline raises.
tests/test_generation_timeout_is_named.py:57
Functiontest_a_genuine_out_of_memory_is_not_relabelled
The two conditions want different remedies — don't collapse them.
tests/test_windows_paging_file.py:53
Functiontest_a_genuine_unsupported_language_still_matches
(reason)
tests/test_engine_language_rejection.py:158
Functiontest_a_genuinely_broken_install_still_says_so
The ordering must not swallow the case TRANSFORMERS_IMPORT exists for — no network signature here, so the install really is the problem.
tests/test_network_beats_install_diagnosis.py:90
Functiontest_a_genuinely_missing_omnivoice_still_triggers_the_fallback
No weakening of the #564 repair this guard sits in front of.
tests/test_broken_dependency_diagnosis_1415.py:120
Functiontest_a_genuinely_slow_job_keeps_its_advice
No regression for the case the message was written for.
tests/test_wedge_vs_slow_hardware_1416.py:105
Functiontest_a_genuinely_unknown_id_still_raises
The 400 is correct for an id nothing advertises — don't lose it.
tests/test_unload_advertised_ids.py:124
Functiontest_a_hand_renamed_install_still_resolves
(sidecar, tmp_path)
tests/test_indextts_config_and_timeout_1611.py:95
Methodtest_a_healthy_build_whose_mac_legs_finished_early_is_accepted
(self)
tests/test_release_preview_manifest_rebuild.py:134
Functiontest_a_heartbeating_load_survives_past_the_budget
The reported case in miniature: the job outlives its budget but proves liveness throughout, exactly as a downloading sidecar does. Fails with
tests/test_model_load_extends_generate_budget.py:66
Functiontest_a_heavy_model_actually_reaches_the_larger_thread_count
The branch every other thread test only implies. `test_only_the_large_models_ask_for_extra_threads` asserts `>= _NUM_THREADS` for heavy model
tests/test_sherpa_model_sizes.py:154
Functiontest_a_hostile_custom_fallback_cannot_reach_the_header
Review finding (#1262): `fallback` landed in `filename=` verbatim whenever the real name folded away entirely, so a non-ASCII or CRLF fallback
tests/test_content_disposition_unicode.py:143
Functiontest_a_hostile_filename_cannot_escape_the_cache
``filename`` is remote input; only the hash names the local copy.
tests/test_worker_inputs.py:675
Functiontest_a_job_with_no_declared_floor_is_never_diagnosed_as_under_provisioned
`_timeout_guidance` serves EVERY job on the GPU pool — reference transcribe, stream assemble, watermarking, dub steps, and CPU-only engines ru
tests/test_low_vram_advisory.py:146
Functiontest_a_join_the_control_plane_never_accepts_is_not_a_success
Scheduling the connection is not joining. `start()` returns as soon as the dial-out loop is created, so a control plane that rejects this wor
tests/test_worker_join_api.py:206
Functiontest_a_keepalive_cannot_outlive_the_execution_budget
The keepalive would otherwise remove the only enforced bound in the system: nothing reads `execution_seconds`, `Deadlines.total_seconds` has no
tests/test_worker_scheduler.py:1081
Functiontest_a_keepalive_does_not_overwrite_real_progress
The keepalive is the worker's timer, not its work. Letting it write would walk the user's progress bar backwards to zero every 40 seconds.
tests/test_worker_scheduler.py:1062
Functiontest_a_keepalive_for_a_stale_epoch_is_dropped
()
tests/test_worker_scheduler.py:1185
Functiontest_a_keepalive_is_bounded_by_the_model_load_budget_while_loading
()
tests/test_worker_scheduler.py:1165
Functiontest_a_keyerror_no_longer_presents_as_a_bare_key
The exact reason string the reporter saw.
tests/test_dub_job_deleted_mid_ingest.py:78
Functiontest_a_language_rejection_becomes_a_ValueError
The route maps ValueError → 400 and everything else → 500. A user picking an unsupported language is a validation problem, not a crash.
tests/test_engine_language_rejection.py:67
Functiontest_a_language_with_no_aligner_keeps_its_native_timestamps
~20 languages have wav2vec2 aligners. The other 626 must still transcribe.
tests/test_asr_device_aware_autodetect.py:143
Functiontest_a_large_card_stays_silent
()
tests/test_low_vram_advisory.py:62
Functiontest_a_late_artifact_can_complete_a_timed_out_attempt
(plane)
tests/test_worker_server_integrity.py:854
Functiontest_a_late_failure_after_a_result_does_not_explode
`on_failed` used to run its whole body even when the attempt was already settled, emitting "failed" for a completed task — and a second resolu
tests/test_worker_scheduler.py:973
Functiontest_a_leading_unspeakable_chunk_folds_forward
Nothing precedes the first chunk, so it folds into the one after it.
tests/test_no_unspeakable_chunks_1330.py:91
Functiontest_a_live_task_cannot_authorize_another_tasks_staged_input
(plane)
tests/test_worker_upload_server.py:1760
Functiontest_a_lock_the_worker_already_left_does_not_count
Only the deepest frames decide. A compute job's callers routinely include a lock acquisition it has since returned from — reading the whole st
tests/test_wedge_vs_slow_hardware_1416.py:80
Functiontest_a_locked_out_peer_is_refused_even_with_the_right_key
Otherwise the throttle is decorative: an attacker who eventually guesses correctly is admitted on the guess that succeeds.
tests/test_worker_inbound_keys.py:332
Functiontest_a_long_blocking_call_keeps_the_watchdog_armed
The heart of the fix: silence is what kills a healthy synthesis, so a slow infer() must put progress frames on the wire while it runs.
tests/test_indextts_config_and_timeout_1611.py:212
Functiontest_a_long_session_stops_growing
(ws)
tests/test_dictation_recovery_tail_bound.py:29
Functiontest_a_long_string_is_refused_even_on_an_allowlisted_key
Belt and braces: free text must not ride in on a legitimate key.
tests/test_analytics_optin.py:217
Functiontest_a_lookalike_package_name_is_not_ours
(mm)
tests/test_broken_dependency_diagnosis_1415.py:78
Functiontest_a_lost_attempt_parks_its_slot_rather_than_returning_it
A grace expiry is an unknown outcome, so the GPU thread may well still be running — the same un-killable thread the timeout path parks for (#7
tests/test_worker_scheduler.py:1295
Functiontest_a_lost_bind_race_is_explained_even_if_the_port_is_free_again
#1364: the same crash, still unexplained, when the squatter exits too. The #1223 guard handles the race by re-probing after uvicorn dies. That
tests/test_port_in_use_exit.py:182
Functiontest_a_mac_without_mlx_installed_falls_back_to_whisperx
MLX is the preference, not a requirement — never strand a user.
tests/test_asr_device_aware_autodetect.py:64
Functiontest_a_malformed_connection_string_says_what_is_wrong
Every one of these otherwise surfaces as "cannot connect", which is the same thing a firewall, a wrong port and a dead node all say.
tests/test_worker_inbound_keys.py:579
← previousnext →9,401–9,500 of 15,058, ranked by callers