知识卡片

普通读书笔记卡 · 3447.a.2.b.1 · 生成模型:未记录

评审清单覆盖什么

理解等级:中级

API 评审先看自动检查报告是否有值得处理的警告,再沿使用方的实际任务检查资源、操作是否完整,命名、说明及示例是否可理解。还应跑通成功、失败与重试的讨论,确认错误码、错误体、幂等约定、分页、安全及性能要求与调用方式相符。例如支付类操作如需在网络重试时只产生一次业务效果,设计要明确用于消除重复请求的幂等键。

主持人先给业务目标与资源模型,再带团队定位 PR 中关键分歧。用 PR 评论跟踪问题解决。可重复判断的缺口回写规范与 lint,方便相同问题下次在自动阶段暴露。

这张卡片看不懂?

已有反馈 · 0 条

    还没有人提交反馈。

    在整书笔记中的位置

    原书出处 · 1 处

    • API 设计评审 5.2 Running an API review meeting · 查看原书依据

      This is the time to do an in-depth review of the design-change PR. If the team has a comprehensive suite of automated linting and breaking checks that have run on the PR and passed, then API reviewers don’t need to check for those items. Remember that one of the goals of introducing automation is to reduce the lead time for doing reviews.

    参考来源

    - 位置:《Automating API Delivery APIOps with OpenAPI》《第 05 章 API 设计评审》(5.2 Running an API review meeting;来源项目 book-source,extracted/Automating API Delivery APIOps with OpenAPI/_epub-src/OEBPS/Text/chapter-5.xhtml#p105) - 结论依据:说明人工评审围绕自动检查输出和机器不能检查的设计问题。 - 原始内容:This is the time to do an in-depth review of the design-change PR. If the team has a comprehensive suite of automated linting and breaking checks that have run on the PR and passed, then API reviewers don’t need to check for those items. Remember that one of the goals of introducing automation is to reduce the lead time for doing reviews.