docs(app): 2026-07-30 收尾——推播鏈路打通的六支 PR 盤點與下一步 - #85
Merged
Conversation
TODO「下次任務」開頭補一段本輪總結:App 六支 PR+後端五支做了什麼、 推播只剩 Firebase 憑證這個外部卡點(憑證到位後不需再改程式碼)、 以及仍然沒有模擬器實跑的三批(第十/十二/十三輪,都不需憑證, 並寫明本機後端怎麼起——Docker registry 拉不到映像,別用 --build)。 順帶記下這一輪學到的一條:廣播串流在沒人訂閱時 add 會靜默丟事件。 Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
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.
本輪主題是「推播這條通道從頭到尾打通」。文件補的是下一個人開工要先看的東西:
(後端送出路徑已用真服務逐則驗過,10 則全部推對人)。
並寫明本機後端怎麼起:
docker compose up -d postgis redis+go run ./cmd/server——別用
--build,本機 Docker 拉不到 registry 會卡死在 load metadata。StreamController.broadcast()在沒有訂閱者時add的事件會靜默消失;只要「發送點」與「訂閱點」不在同一個生命週期階段,就要問「發送比訂閱早的那一次去哪了」。
🤖 Generated with Claude Code