知识卡片

问题卡 · 5144

人工求助携带可恢复上下文

理解等级:中级

无法自动修复的工作流错误,应交给明确负责的人处理。告警至少带工作流说明、进度、共享状态和相关错误证据的受控链接,使处理者可以决定继续、重启或取消,而不是只看到一句失败。

作业描述中预先记录联系渠道,事后将事故归档并定期复盘,用于发现反复故障与修正设计。报告须限制私密数据与内部跟踪暴露;已有事故平台可承担路由,不必自行重造完整告警系统。

这张卡片看不懂?

已有反馈 · 0 / 10 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • 超媒体工作流 · 查看原书依据

      The alert should include (or point to) the following: The workflow description (Recipes 7.3, 7.4, and 7.5) The workflow progress resource (Recipe 7.7) The workflow shared state (Recipe 7.1) Any other pertinent information, such as error reports, traces, etc. This can be either shipped as a ZIP file collection attached to an email or as pointers (URLs) to the relevant documents (assuming the person has the access rights to all the resources).

    参考来源

    - 位置:《RESTful Web API Patterns and Practices Cookbook Connecting and Orchestrating Microservices and Distributed Data (Mike Amundsen)》第7章《超媒体工作流》§7.18(来源项目:book-sources;源文件:extracted/RESTful Web API Patterns and Practices Cookbook Connecting and Orchestrating Microservices and Distributed Data (Mike Amundsen)/_epub-src/OEBPS/ch07.xhtml) - 结论依据:原文以无法自动修复的工作流错误,应交给明确负责的人处理的方式说明该用途;同节示例与讨论补充了卡内条件和边界。 - 原始内容:The alert should include (or point to) the following: The workflow description (Recipes 7.3, 7.4, and 7.5) The workflow progress resource (Recipe 7.7) The workflow shared state (Recipe 7.1) Any other pertinent information, such as error reports, traces, etc. This can be either shipped as a ZIP file collection attached to an email or as pointers (URLs) to the relevant documents (assuming the person has the access rights to all the resources).