Repository navigation
feat: playground web validation: audio-studio, sherpa-onnx, moonshine - #523
Open
abretonc7s wants to merge 3 commits into
Open
abretonc7s wants to merge 3 commits into
abretonc7s wants to merge 3 commits into
Conversation
…builds - sherpa-onnx.rn: web initTts names unfetched model/tokens/lexicon URLs and frees loaded files instead of crashing out of bounds; rejects non-VITS models; README documents VITS-only web TTS - sherpa-onnx.rn: web loader clears its 30 s backup timer once loading settles, so the timeout warning no longer fires after a good load - sherpa-voice: sample cards measure files by fetch on web, where getInfoAsync is missing (was 0 Bytes / 0:00); add the jest preset jest-expo needs so yarn test runs - playground: build:deps also builds sherpa-onnx.rn and moonshine.rn lib - agentic: WEB_FAKE_AUDIO_FILE for fake mic capture, hermetic recipe tests, four web validation recipes
abretonc7s
marked this pull request as ready for review
November 7, 2026 03:58
|
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Validate audio-studio, sherpa-onnx.rn and moonshine.rn on web
Recorded web runs in Chrome of the playground and sherpa-voice, plus fixes for every failure they found.
Fixes
initTtsnames the model, tokens or lexicon URLs it couldn't fetch, including when none of them loads. It removes the files that did load, then their directory. Before, a missing lexicon crashed withmemory access out of bounds, and a total download failure gave a bareFailed to load TTS model files.FileSystem.removePathremoves directories.isDirectoryreadstat.isDir, which Emscripten doesn't set, so directories were sent tounlinkand stayed.Module loading timeout reachedno longer fires after a successful load.webTtsInit.test.ts,webFileSystem.test.ts,webCombinedLoader.test.ts.0 Bytes/0:00.getInfoAsyncdoesn't exist on web, so web fetches the file.fileUtils.test.ts.build:depsalso builds the sherpa-onnx.rn and moonshine.rnlib/, which were stale.config/build-deps.test.ts.web-browser.mjsaddsWEB_FAKE_AUDIO_FILEfor fake mic capture from a WAV.Evidence (web)
audio-studio-web-validationweb-asr-validationweb-tts-validationmoonshine-web-live-transcription/wasm/tts-*directory left behind20261107030405563-74735The slot serves a local sherpa-onnx 2.0.1 WASM, asserted in the run, because the farm's copy is 1.3.1.
Checks:
test:config16/16.fileUtils.test.ts4/4 with jest CLI overrides (the app'syarn testneeds@react-native/jest-preset, which isn't installed);tscclean.check:depspasses; all 48 recipes validate.Limits
getFileSizenative branch keeps the samegetInfoAsynccall and is unit-tested only.build:depschanges thelib/bundled on every platform.@react-native/jest-preset. The web fix is also asserted by the sherpa ASR recipe.removePathfixes only after a release.Screenshots/Recordings
Full evidence gallery and publication receipt
Publication approval
farm-automation · service · farm-automation · 2026-11-07T03:57:28.538Z
Package:
d7d26c9e540f2ba5d02cd4d110960dc1b8b0ed7e47b65def89eec3bf02a3ee73. Visual receipts: pipeline-sha256:0ef5850080e20b601a9fdadc7cd77c653708aaf268c65851f715fa6447b3a2d2, pipeline-sha256:17a137dae9c3050fd443be893a758a5792909d0ab25ba44f249421735302c9dc, pipeline-sha256:392349c4f3ea8cff455c8ed5fe94b6f9d4fa1b061df1349558a9f2e32fa4768f, pipeline-sha256:4003074c45592979f325f0e3c14f8d520cd95e07eef20d855136a7364723b572, pipeline-sha256:5ed45b66b428a9dea536a79a2ced137779c2e3d00e2266cb2b3233435be084c9, pipeline-sha256:93231ecf693d763da4814954e0dbf0f6df8d4f14a540c2720442d15eca89994b, pipeline-sha256:94eca704ace2ee7828bb89a4460f41e6978476073f7e22beaf8951091178af24, pipeline-sha256:98785c9be59b12a9bd7bb7da7beaa04da055641a538041465eedbc61897b9c4a, pipeline-sha256:a05bedac10b3ba462a0de095f2f14738d709b8bb4448da7be0d01b6c425b0a96, pipeline-sha256:b7f29975d8b1165593dab5be370b9815944c875d806f0cda0765827ad29a2c43, pipeline-sha256:b8359e1355c22e9d7b6fc032881e9fddbfa62b2fe109a20a25e69806b66420f8, pipeline-sha256:e5955a7d27e36b45f174ba40a57bf93c18b987bad33e67092eae256c882c4793.Description
Type of Change
Architecture Decision
Test-Driven Development Checklist
Pre-Implementation (for new features - recommended)
Implementation
Testing
Test Evidence
Documentation
Breaking Changes
Related Issues
Checklist
Additional Notes
Visual judgments
Execution: d0acd43a-9e2e-49af-9aad-6c76b76694f3