feat: add an ECS services view

オープン
#148 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
aws, rust
領域
cloud, devops

調査の方向性

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.

索引モデルが issue の本文から書いたものです。

説明

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.

主要言語
Rust
スター
2
フォーク
0
平均マージ
4時間 8分
マージ済み PR(30日)
8

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

fells-code/seamless-glance のほかの issue

fells-code/seamless-glance の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。