feat: add an ECS services view

Đang mở
#148 0 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

Chưa có ai nhận issue này.

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
55/100
Loại issue
Tính năng
Độ rõ ràng
Đặc tả rõ ràng
Mức độ hoạt động
Sôi nổi
Công nghệ
aws, rust
Lĩnh vực
cloud, devops

Hướng nghiên cứu

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.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

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.

Ngôn ngữ chính
Rust
Star
2
Fork
0
Merge trung bình
4 giờ 8 phút
Pull request đã merge (30 ngày)
8

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của fells-code/seamless-glance

Tất cả issue của fells-code/seamless-glance

Issue tương tự

Thêm issue về Rust

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.