feat: add an ECS services view

Aperta
#148 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
4/5
Tempo stimato
3-5 giorni
Idoneità per principianti
55/100
Tipo di issue
Funzionalità
Chiarezza
Specificata chiaramente
Stato di attività
Attiva
Stack tecnologico
aws, rust
Ambito
cloud, devops

Direzione di ricerca

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.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

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.

Lingua principale
Rust
Stelle
2
Fork
0
Merge medio
4h 8m
PR unite (30g)
8

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fells-code/seamless-glance

Tutte le issue di fells-code/seamless-glance

Issue simili

Altre issue su Rust

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.