feat: add an ECS services view

Abierto
#148 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
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
55/100
Tipo de issue
Nueva funcionalidad
Claridad
Bien especificado
Estado de actividad
Activo
Stack tecnológico
aws, rust
Área
cloud, devops

Línea de trabajo

Read docs/recipes/README.md and docs/recipes/add-a-service.md, then inspect src/aws/ecs.rs and issue #88; the issue says to start after blocker #116 is merged. Implement the service view, palette entry, status handling, and row pivots described in the steps, then update the listed docs and add the requested tests and changeset. Done means the ECS services appear in the palette and the listed checks pass.

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

Descripción

size: M

Why

The ECS view lists clusters only, but Fells runs one cluster with about eight services. Per-service health is what an operator actually needs.

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

Steps

  1. Follow docs/recipes/add-a-service.md. Reuse the ECS client.
  2. For each cluster, page list_services, then describe_services in chunks of 10 with include set to TAGS.
  3. Model EcsServiceInfo: cluster name, service name, ARN, desired, running, pending, launch type, task definition (family and revision only), primary deployment rollout state, tags.
  4. Return a ServiceStatus on failure (see #88 for why this matters in ECS).
  5. Console: https://console.aws.amazon.com/ecs/v2/clusters/<cluster>/services/<service>/health?region=<region>. CLI: aws ecs describe-services --cluster <cluster> --services <service> --region <region>.
  6. Palette entry ecs-services with alias services.

Where to look

  • docs/recipes/add-a-service.md
  • src/aws/ecs.rs
  • #88

Done when

  • ECS services view reachable from the command palette
  • Rows carry tags: Tags
  • Describe, console pivot, and CLI pivot work on the selected row
  • A denied or failed fetch shows a status, not an empty table
  • Unit tests for the model helpers and the DescribableResource URLs and CLI command
  • README, docs/architecture.md, docs/aws-service-roadmap.md, and AGENTS.md updated
  • 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

Open the view. You should see each product's API and auth services.

Blocked by

#116. Start this after that is merged.

Size: M. 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.