Cutover: save the Interactions Endpoint URL and retire Hermuz
- 主要言語
- HTML
- スター
- 0
- フォーク
- 0
- 平均マージ
- 1時間 34分
- マージ済み PR(30日)
- 23
説明
The one-way switch. **Saving an Interactions Endpoint URL stops Discord delivering interactions over the gateway** — Hermuz's bot goes deaf the moment it is saved. There is no overlap period, so everything below happens in one sitting, in this order.
Blocked on the Worker being deployed and verifying, and on the Hermuz ids being captured.
- [ ] Stop the Hermuz process.
- [ ] Save the Interactions Endpoint URL on the (repurposed) Hermuz application. Discord validates on save.
- [ ] Drop the two privileged intents.
- [ ] Bulk-overwrite the guild command set with Orrey's four (`npm run commands:register`). This is what makes `/task`, `/meal` etc. cease to exist.
- [ ] Neutralise old interactive posts: Hermuz `custom_id`s are unknown to Orrey, and an unhandled click shows "interaction failed". Strip components from Hermuz's old posts (**the one sanctioned use of the channel message-edit endpoint**, and only at cutover) and confirm the catch-all "this post is retired" handler in `src/discord/custom-id.ts` catches anything missed.
- [ ] Rotate the bot token and client secret; update the Worker secrets.
- [ ] Seed `settings` with the adopted guild and channel ids.
コントリビューションガイド
このリポジトリのコントリビューションガイドは索引されていません
調査の方向性
Start by verifying the Worker deployment and capturing the Hermuz ids, then follow the cutover checklist in order. Run npm run commands:register for the guild command overwrite and inspect src/discord/custom-id.ts to verify the retired-post fallback. Done means the endpoint is saved, intents and credentials are rotated, old components are neutralised, and settings contains the adopted guild and channel ids.
索引モデルが issue の本文から書いたものです。
評価
- 技術スタック
- javascript
- 領域
- api, backend, devops
- issue の種類
- リファクタリング
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 活発さ
- 活発
- 明瞭さ
- おおむね明確
- 初心者へのやさしさ
- 25/100