Regex syntax errors in automation rules may block feed updates
Open
@hyoban is already working on this.
Since Jul 1, 2025.
bug
platform: desktop
- Dominant language
- TypeScript
- Stars
- 39k
- Forks
- 2.1k
- Avg merge
- 1d 4h
- Merged PRs (30d)
- 10
Description
Platform
Desktop - Windows
Describe the bug
逛issues时,我偶尔发现有其他 folo 用户收不到消息的情况,我自己以前也遇到过类似问题。根据我的经验,有时候不是服务端的问题,而是由于自动化规则配置不当(如正则表达式错误或其他自动化配置错误)引起的消息接收失败。
以我之前的情况为例:我在自动化规则中使用了正则表达式 (小明|小红||小刚) 进行条目屏蔽,其中不小心多写了一个 | 分隔符(“小红”和“小刚”之间),结果导致我所有的列表好几天都收不到任何消息,一开始我还以为是 folo 的服务端出故障了,后面改了一下自动化马上能收到消息了。
🟨建议
我建议增加对自动化规则中正则表达式的语法校验(或增加某种对自动化的预警机制)。避免格式错误导致整条规则失效,进而影响消息接收。
当然不做任何调整也是可以的,我只是想向开发者们报告一下有这个情况
🟨会造成什么影响?
用户体验极易受影响
用户写错正则或者配置不当后,会感到“消息不见了”“服务坏了”,但实际上是自动化规则自己“堵住了门”。用户往往不自知,甚至会误判产品质量,增加投诉和流失风险。如果软件能主动预警,能明显减少大量无谓的投诉和工单(会大幅增加支持成本和bug报告数量)。
Relevant Information
No response
Reproduction Video
No response
Environment
No response
Validations
- Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
- Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
- This issue is valid
Contributions
- I am willing to submit a PR to fix this issue
- I am willing to submit a PR with failing tests (actually just go ahead and do it, thanks!)
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.