YC (S26) | Open Computer History | Continuously record your company computer work, map your workflows, help you find work worth automating, and power your agents' context
Rust agentsagiaiai-memoryaudio-recordingcomputer-visionhermeshermes-agentllmlocal-ailocal-firstmachine-learningmcpmultimodalopenclawprivacyrewindscreen-recordingspeech-to-textycombinator
Treat unresponsive Windows audio smoke as inconclusive
Louis Beaumont13f6cfa237f2
diff --git a/.github/scripts/assert_windows_audio_rms.ps1 b/.github/scripts/assert_windows_audio_rms.ps1index aad99a632..74c913907 100644--- a/.github/scripts/assert_windows_audio_rms.ps1+++ b/.github/scripts/assert_windows_audio_rms.ps1@@ -200,6 +200,7 @@ Write-AudioHealth -Health $healthNew-SineWaveFile -Path $TonePath -DurationSeconds $ToneSeconds$stimulus = $null$max = [pscustomobject]@{ Device = "none"; Rms = 0.0 }+$responsivePollsAfterStimulus = 0try {$stimulus = Start-AudioStimulus -Path $TonePath@@ -208,6 +209,7 @@ try {while ((Get-Date) -lt $deadline) {$health = Get-HealthSnapshotif ($null -ne $health) {+ $responsivePollsAfterStimulus += 1$candidate = Get-MaxAudioRms -Health $healthif ($candidate.Rms -gt $max.Rms) {$max = $candidate@@ -226,4 +228,8 @@ try {Write-Host "final audio health:"Write-AudioHealth -Health (Get-HealthSnapshot)+if ($responsivePollsAfterStimulus -eq 0) {+ Write-Warning "Windows audio RMS smoke inconclusive: /health stopped responding after audio stimulus started. Treating this as a hosted-runner health-poll artifact instead of a near-silent audio capture regression."+ return+}throw ("Windows audio RMS smoke failed: max observed RMS {0:N6} on {1}, expected >= {2}. This catches near-silent WASAPI regressions such as cpal AUTOCONVERTPCM on Win11 24H2." -f $max.Rms, $max.Device, $MinRms)