Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Deleting a container that still exists in the DB, but not in youki, fails

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

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

評価

難易度
3/5
見積もり時間
1〜2日
初心者へのやさしさ
45/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
停滞
技術スタック
rust

調査の方向性

コンテナ削除コマンドの Rust 実装から始め、ランタイムアダプターが youki からの NotFound 応答をどのように処理するかを追跡します。データベースのクリーンアップパスと、警告またはエラーがどのように返されるかを確認します。基盤となるコンテナがすでに存在しない場合でもデータベースレコードの削除が成功し、文書化されたエラーまたは警告の動作がテストでカバーされていれば完了です。

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

説明

area/operatingsystem

The deletion fails and the container stays in the database.

Example:

$ feos-cli container list
CONTAINER_ID                           STATE           IMAGE_REF
-------------------------------------- --------------- ----------------------------------------
b98b86c4-9e23-43a8-add8-8de8157b1310   Stopped         <image-ref>

$ feos-cli container delete b98b86c4-9e23-43a8-add8-8de8157b1310
Requesting to delete container: b98b86c4-9e23-43a8-add8-8de8157b1310...
Error: status: Internal, message: "Runtime adapter error: Task service communication failed: status: NotFound, message: \"b98b86c4-9e23-43a8-add8-8de8157b1310\", details: [], metadata: MetadataMap { headers: {\"content-type\": \"application/grpc\", \"date\": \"Tue, 30 Dec 2025 13:56:52 GMT\"} }", details: [], metadata: MetadataMap { headers: {"content-type": "application/grpc", "date": "Tue, 30 Dec 2025 13:56:52 GMT"} }

$ feos-cli container list
CONTAINER_ID                           STATE           IMAGE_REF
-------------------------------------- --------------- ----------------------------------------
b98b86c4-9e23-43a8-add8-8de8157b1310   Stopped         <image-ref>

Desired Behavior

Whatever the reason why the container does not exist in youki anymore, the delete command should still delete the container from the database to clean up the state. The result can contain a warning that the underlying container did not exist anymore. It might still return a NotFound error.

主要言語
Rust
スター
24
フォーク
9
PR マージ指標
30日以内にマージされた PR はありません

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

ironcore-dev/FeOS のほかの issue

ironcore-dev/FeOS の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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