feat: show recent stopped-task reasons in the ECS service describe

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

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

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

評価

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

調査の方向性

Read docs/recipes/README.md and the ECS services view PR, then trace the describe implementation for EcsServiceInfo in src/models/describable.rs. Start after #148 is merged. Add the on-demand stopped task lookup and "Recently stopped tasks" section, test formatting with a fixed task list, and confirm the required Rust checks pass.

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

説明

size: S

Why

When a service is below desired, the first question is why tasks stopped. ECS keeps that reason for about an hour.

Steps

  1. In the describe implementation for EcsServiceInfo, call list_tasks with desired status STOPPED for the service (limit 5), then describe_tasks.
  2. Add a "Recently stopped tasks" section with each task's stop time, stopped_reason, and container exit codes.
  3. This only runs when the operator opens describe, never during refresh. Say so in a comment.
  4. Test the formatting function with a fixed list of stopped tasks.

Where to look

  • the ECS services view PR
  • src/models/describable.rs

Done when

  • Describe shows stopped reasons
  • Formatting tested
  • Changeset
  • 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: S. 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 を短くまとめたダイジェスト。