alxjrvs / alxjrvs/orrey

Cutover: save the Interactions Endpoint URL and retire Hermuz

已关闭
#13 1 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
ops phase:0
主要语言
HTML
星标
0
派生
0
平均合并
1 小时 34 分钟
30 天内合并 PR
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

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。