Skip to content

fix: integrate chat, recording and restart persistence with current main - #25

Merged
YueyuHoshizora merged 9 commits into
mainfrom
feat/moderation-chat-recording
Oct 21, 2026
Merged

YueyuHoshizora merged 9 commits into
mainfrom
feat/moderation-chat-recording

Conversation

@YueyuHoshizora

@YueyuHoshizora YueyuHoshizora commented Oct 21, 2026 •

Copy link
Copy Markdown
Contributor

延續已關閉的 #23,將原功能分支正常合併最新 main(ec7e2cf),解決 12 個檔案衝突,保留 main 的協商 ownership、取消安全、停機排空、品質回報與 UI 行為。

修復原五項審查發現:

  • 房間碼旋轉更新持久化 revision;重啟後舊碼仍拒絕。
  • 安靜房間定期刷新 savedAt,寫入失敗會重試,慢速磁碟不累積待寫工作。
  • chatHistory=0 明確丟棄已保存聊天,不回播或再次保存。
  • 錄音 granule 一律以 frameMs × 48 計算。
  • Opus concealment 保留多幀封包總長度,覆蓋 40/60ms。

新增重新啟動、production saver、設定相容性及實際 Opus 編解碼回歸。舊設定省略新欄位時可繼續啟動;錄音與持久化仍預設停用。舊分支整體改寫 SDK 錯誤文字的做法不移植,沿用 main 既有錯誤契約與 UI 提示。

本機 Node 24.22.0:typecheck 通過;伺服器/整合測試 4171 pass、10 平台限定 skip;SDK 2662 pass;build(含 client package)通過;真實 werift-loopback 0、2(含錄音、重協商、ICE restart)通過;npm ci audit 0 vulnerabilities;git diff --check 通過。Repository 無 lint script。最新提交 9428629 的 PR CI 與 push CI 均成功,包含 Ubuntu server delivery 與原生 Windows PowerShell 啟動檢查。未 force push、未刪分支、未修改 CI/保護規則。

@YueyuHoshizora
YueyuHoshizora marked this pull request as ready for review October 21, 2026 12:54
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-21T13:04:23.101612Z — Draft marked ready
🔒 Security Review ✅ Completed 2026-10-21T13:01:22.639836Z 9428629 Draft marked ready
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@YueyuHoshizora
YueyuHoshizora merged commit db41f49 into main Oct 21, 2026
4 checks passed
@YueyuHoshizora
YueyuHoshizora deleted the feat/moderation-chat-recording branch October 21, 2026 13:02
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