chore(tts): remove unused legacy voice assets - #42
Merged
Conversation
- 移除 v1.3.7 遗留的本地 en_US-lessac-high 分片模型(约 115MB)与 Worker 运行时文件 (PR #39 已切换 voice.shadow.wang CDN + 主线程推理,不再使用) - 同步 release-gate.config.json、scripts/check.mjs、scripts/security-check.mjs、 THIRD_PARTY_NOTICES.md、piper-dev-server e2e 与 public/sw.js 中的引用 - 已通过 npm run verify、release:check 与语音相关 e2e(33 项)
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
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.
背景
v1.3.8(PR #39)已将离线英语语音模型切换到
voice.shadow.wangCDN、本地推理改为主线程,v1.3.7 遗留的本地en_US-lessac-high分片模型(约 115MB)与 Worker 运行时文件不再被引用。本 PR 清理这些资产并同步所有引用,避免发布包继续携带无用大文件。改动(-15472 行,删除约 113MB 资产)
删除文件
public/piper/en_US-lessac-high.onnx.part-00/.part-01/.onnx.json(约 115MB)public/worker/OnnxWebWorker.js/PhonemizeWebWorker.js同步引用
release-gate.config.json:vendoredPaths移除 5 项scripts/check.mjs:requiredFiles 移除 5 项scripts/security-check.mjs:vendored 跳过扫描名单移除 2 项THIRD_PARTY_NOTICES.md:移除对应资源来源与 SHA-256 指纹行tests/e2e/piper-dev-server.spec.js:移除 worker 运行时断言(文件已删)tests/e2e/offline-tts-warmup.spec.js:移除 mock 中多余的 worker runtime 类public/sw.js:移除本地/piper/*.onnx分片的 Service Worker 特判(死代码)验证
npm run verify通过(构建 + 72 个单元测试 + 安全/公开仓库检查)npm run release:check通过(release artifact 23 → 18 项)