feat(cron): enable WeChat as a supported delivery channel#789
Conversation
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 106ad80109
ℹ️ About Codex in GitHub
Codex has been enabled to automatically 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".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
| } | ||
|
|
||
| const TESTED_CRON_DELIVERY_CHANNELS = new Set<string>(['feishu', 'telegram', 'qqbot', 'wecom']); | ||
| const TESTED_CRON_DELIVERY_CHANNELS = new Set<string>(['feishu', 'telegram', 'qqbot', 'wecom', 'wechat']); |
There was a problem hiding this comment.
Keep WeChat excluded until backend accepts cron delivery
Adding wechat to the supported channel allowlist makes the UI treat it as selectable/savable, but cron creation still hard-fails in the host API: getUnsupportedCronDeliveryError in electron/api/routes/cron.ts returns a WeChat-specific error and both POST/PUT handlers reject with HTTP 400 for announce mode. In practice, selecting WeChat in this dialog now leads users into a save path that is guaranteed to fail, so the feature advertised by this change is non-functional.
Useful? React with 👍 / 👎.
Summary
Related Issue(s)
Closes #761
Type of Change
Validation
Checklist