feat: flag ECS services scaled to zero

Abierto
#150 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
56/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
aws, rust
Área
cloud

Línea de trabajo

Read docs/recipes/README.md and docs/recipes/add-a-finding.md, then inspect src/app/findings.rs and the model predicate for related rules. Add the zero desired count predicate and ecs_service_scaled_to_zero rule, with firing and quiet unit tests. Update docs/findings-roadmap.md and add a minor changeset; the listed formatting, clippy, and test commands define the checks for done. Start after issue #148 is merged.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

good first issue size: XS

Why

A service with desired count zero serves nothing but keeps its target group, alarms, and log group. Usually it is either intentionally parked or forgotten.

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

Steps

  1. Predicate: desired is zero.
  2. Rule ecs_service_scaled_to_zero (Waste, Medium).
  3. Tests.

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.

Lenguaje dominante
Rust
Estrellas
2
Forks
0
Merge medio
4 h 8 min
PR fusionados (30 d)
8

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de fells-code/seamless-glance

Todos los issues de fells-code/seamless-glance

Issues similares

Más issues de Rust

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.