Skip to content

feat: publish shared curriculum speech - #95

Merged
WardLu merged 2 commits into
previewfrom
codex/tencent-tts-mvp-20260905
Sep 4, 2026
Merged

feat: publish shared curriculum speech#95
WardLu merged 2 commits into
previewfrom
codex/tencent-tts-mvp-20260905

Conversation

@WardLu

@WardLu WardLu commented Sep 4, 2026

Copy link
Copy Markdown
Owner

变更说明

将固定写字课程发音改为发布期腾讯云 TTS 预生成并通过 voice.shadow.wang 共享复用:中文使用智柯 101030,英文使用 WeJack 101050。运行时 CDN 优先,失败时只回退同语言系统 TTS;停用 Matcha 新下载并保留旧缓存的显式删除入口。

本 PR 包含 96 条已生成、已试听并经 CDN 回读验证的 manifest 条目,以及预热、完整性检查和 release gate。腾讯云凭据仅位于本地 ignored 文件,不进入仓库或 Vercel。

变更类型

  • 功能新增
  • Bug 修复
  • 安全加固
  • 文档更新
  • 重构/性能

检查清单

  • 已按改动范围选择最小充分的测试层级
  • 已针对实际 PR base origin/preview 运行严格集成检查(ahead/behind 1/0,up_to_date)
  • 不涉及生产 hotfix;本次只进入 Preview,Production 需另行授权
  • 基于干净 origin/preview 的隔离 worktree 完成,无基线重叠
  • 全量 Vitest 373/373 通过
  • 相关 UI/E2E 11/11 通过
  • 数据库/Functions 不涉及:无 schema、数据、RLS、函数或迁移变化
  • 构建、静态、安全、覆盖率、公开仓库和外部 CDN release gate 均通过
  • 未提交 .env、SecretId、SecretKey、试听目录或个人数据
  • 数据库变更:N/A
  • README、架构、用户指南、隐私说明、第三方说明、CHANGELOG、双语发布说明和配置影响记录已同步
  • 用户可见文案不包含新的 Supabase 表述
  • 无新增内联 style= 或内联 <script>
  • 已记录腾讯云 SDK 及退役 Matcha 的来源/授权状态
  • npm run public:check 和 staged public-repo gate 通过
  • release gate、manifest 和发布说明已同步

验证记录

  • npm test -- --maxWorkers=4:45 files,373 tests passed
  • npm run public:check:passed
  • npm run security:check:passed
  • npm run check:passed
  • npm run build && node scripts/check-build.mjs:passed
  • npx vitest run --coverage --maxWorkers=4:373 passed
  • node scripts/run-e2e.mjs tests/e2e/hanzi-writing.spec.js tests/e2e/tts-system-fallback.spec.js:11 passed
  • npm run tts:prewarm -- --output-dir artifacts/tencent-tts-audition:generated 96,reused 0
  • npm run tts:smoke -- --origin https://preview-sm.shadow.wang:verified 96,495648 bytes
  • RELEASE_REQUIRE_TTS_CDN=1 RELEASE_TTS_ORIGIN=https://preview-sm.shadow.wang npm run release:check:passed
  • node scripts/check-integration.mjs --base origin/preview --strict:up_to_date

Release impact

  • production-impact:是。Preview 需部署本 PR;未来 Production 还需单独授权及腾讯云共享分发书面确认。
  • db-migration:否,无数据库变化。
  • 配置记录:docs/releases/1.3.12/CONFIGURATION_IMPACT.json
  • 回滚:回退应用与 manifest;内容寻址 COS 对象保持未引用,不覆盖、不删除。

已知边界

默认 npm run check:integration 面向 origin/main,显示长期分支差异 114/11;本 PR 按既定 Preview 发布流程以 origin/preview 为实际 base,严格检查结果为 1/0。未将 main 的 11 个提交擅自混入本 PR。

Production 仍受设计文档中的腾讯云再分发条款 TODO 阻断;本 PR 仅授权 Preview 验收。

@vercel

vercel Bot commented Sep 4, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
shadow-mate Ready Ready Preview Sep 4, 2026 7:17pm UTC

@WardLu WardLu added the production-impact Changes production behavior or release operations label Sep 4, 2026
@WardLu
WardLu merged commit 31cdfe7 into preview Sep 4, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

production-impact Changes production behavior or release operations

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant