Skip to content

fix(web): make microphone startup failure-atomic - #19

Merged
rogerchappel merged 2 commits into
mainfrom
agent/oss-d539d8e8fe1f-microphone-start-cleanup
Aug 7, 2026
Merged

fix(web): make microphone startup failure-atomic#19
rogerchappel merged 2 commits into
mainfrom
agent/oss-d539d8e8fe1f-microphone-start-cleanup

Conversation

@rogerchappel

Copy link
Copy Markdown
Owner

Summary

  • release microphone tracks and all partially initialized Web Audio resources when start() fails
  • keep cleanup best-effort so the original classified microphone error and cause remain observable
  • cover AudioContext construction and later analyser setup failures, including zero retained timers/resources
  • document the failed-start lifecycle guarantee

Commits

  • 0670441 fix(web): make microphone start failure-atomic
  • ca8e93b docs(web): document failed-start cleanup guarantee

Verification

  • npm ci
  • npm test (37 passed)
  • npm run lint --if-present
  • npm run build --if-present
  • git diff --check origin/main..HEAD
  • verified every proposed commit author and committer is Roger Chappel <miscanalysis@gmail.com>

@rogerchappel
rogerchappel merged commit 658facd into main Aug 7, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant