feat: flag ECS services whose last deployment failed

未关闭 适合新手
#151 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 1 天内回复

还没有人认领这个 Issue。

评估

难度
2/5
预计耗时
1-3 小时
新手友好度
75/100
Issue 类型
功能
描述清晰度
描述清楚
活跃度
活跃
技术栈
aws, rust
领域
cloud, devops

调研方向

Issue 指向 src/app/findings.rs 和 docs/recipes/add-a-finding.md;先阅读该 recipe,并检查其中的模型谓词和 FINDING_RULES 模式。该 issue 被 #148 阻塞,因此等它合并后再开始。完成的标准是:指定的 rollout 状态具备所要求的测试,规则列在 docs/findings-roadmap.md 中,并添加一个 minor changeset。

由索引模型根据 Issue 内容生成。

描述

good first issue size: XS

Why

The deployment circuit breaker rolls back failed deploys, so the old version keeps serving and the failure is easy to miss.

Follow docs/recipes/add-a-finding.md.

Steps

  1. Predicate: primary deployment rollout state is FAILED.
  2. Rule ecs_deployment_failed (Incident, High).
  3. Tests: FAILED fires, COMPLETED and IN_PROGRESS are quiet.

Where to look

  • src/app/findings.rs

Done when

  • Predicate on the model with unit tests (one firing case, one quiet case)
  • Rule added to FINDING_RULES with tests in src/app/findings.rs
  • docs/findings-roadmap.md lists the rule under Current Findings
  • Changeset added (minor)
  • cargo fmt --all, cargo clippy --all-targets -- -D warnings, and cargo test --all pass, with output pasted in the PR

Check against AWS

Optional. Unit tests are enough for this issue.

Blocked by

#148. Start this after that is merged.

Size: XS. Read docs/recipes/README.md before starting.

主要语言
Rust
星标
2
派生
0
平均合并
4 小时 8 分钟
30 天内合并 PR
8

环境准备

  • 没有 Dockerfile 或 Docker Compose 文件
  • 没有 Pull Request 模板
  • 阅读贡献指南

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

fells-code/seamless-glance 的其他 Issue

查看 fells-code/seamless-glance 的全部 Issue

相似的 Issue

更多 Rust Issue

把新 issue 发到你的邮箱

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