Commit b47fa899 authored by Aryan Noshirvnai's avatar Aryan Noshirvnai

Also skip the sidechain test in CI, not just detect_key

Per explicit instruction: remove any test that risks making CI take this
long, not just the one already confirmed to hang. sidechain's shrink fix
(sr=8000->400) tested fine locally, but this runner has proven wildly
inconsistent - the exact same non-DSP pipeline ranged from 4 minutes to
40+ minutes stuck at unrelated steps across back-to-back identical runs.
Not worth trusting a single local timing over that track record. Both
DSP-heavy tests in this file are now CI-skipped; every other test file
was checked and doesn't touch librosa/numba/scipy/pedalboard at all.
Co-Authored-By: 's avatarClaude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_019i3NAUkLkHNbsPg5vKfzF9
parent 9a4474e8
Pipeline #1033 failed with stages
in 32 minutes and 13 seconds
......@@ -72,6 +72,16 @@ def test_detect_key_returns_valid_structure():
assert key["name"] == f"{['C','C#','D','D#','E','F','F#','G','G#','A','A#','B'][key['tonic']]} {key['mode']}"
@pytest.mark.skipif(
os.getenv("CI") == "true",
reason=(
"Uses scipy.signal.filtfilt - already shrunk once (sr=8000 -> 400) after a ~5min "
"stall on this runner, and now runs in 0.28s locally. Skipping anyway rather than "
"trusting that fix under this runner's proven, wildly inconsistent timing (the exact "
"same non-DSP pipeline has ranged from 4 minutes to 40+ minutes stuck on unrelated "
"steps in back-to-back runs) - not worth re-litigating if it stalls again."
),
)
def test_sidechain_envelope_ducks_loud_regions_more():
# sr kept low (not a real audio rate) - filtfilt's cost scales with sample count, and this
# only needs enough samples for the 8Hz envelope filter to settle, not real audio fidelity.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment