add `--lifecycle-bind-to <pid>`
メンテナーはふだん 2 日以内に返信
まだ誰も着手していません。
評価
調査の方向性
Start by locating the command entry points for bcvk ephemeral and bcvk libvirt run and how each currently monitors process or lifecycle status. Check the project’s existing tests for both commands, then investigate how pidfd_open can be used to monitor the supplied PID. Done means both commands accept --lifecycle-bind-to <pid> and exit when that process exits; the issue names no specific files or tests.
索引モデルが issue の本文から書いたものです。
説明
For both bcvk ephemeral and bcvk libvirt run let's add --lifecycle-bind-to <pid> which would use pidfd_open and monitor that process' status, and when it exits we automatically exit as well.
The use case here is for things like test suites to replace code like this: https://github.com/bootc-dev/bootc/pull/1847/changes#diff-9b60649fe24ef1e3720f95723ad8b0da902c4c9d0071269e1958cdebadf4f157R39
A core problem with Drop impls in Rust (same with Go defer) is they don't get run on SIGINT (ctrl-c) by default and so really one gets pushed to doing cleanup in a more reliable way.
- 主要言語
- Rust
- スター
- 142
- フォーク
- 40
- 平均マージ
- 2日 22時間
- マージ済み PR(30日)
- 10
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドなし
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
bootc-dev/bcvk のほかの issue
-
難易度 4/5 3〜5日 初心者へのやさしさ 48/100
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 半日 初心者へのやさしさ 45/100
bootc-dev/bcvk#416 · コメント 1 件 ·
メンテナーはふだん 2 日以内に返信
-
難易度 3/5 半日 初心者へのやさしさ 50/100
メンテナーはふだん 2 日以内に返信
-
extend host testingオープン
難易度 4/5 3〜5日 初心者へのやさしさ 43/100
メンテナーはふだん 2 日以内に返信
-
難易度 5/5 1週間以上 初心者へのやさしさ 35/100
bootc-dev/bcvk#386 · リアクション 1 件 ·
メンテナーはふだん 2 日以内に返信
似ている issue
-
llm translation
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
難易度 1/5 1時間未満 初心者へのやさしさ 85/100
メンテナーはふだん 1 日以内に返信
-
documentation good first issue trivial
難易度 1/5 1〜3時間 初心者へのやさしさ 84/100
メンテナーはふだん 1 日以内に返信
-
[Bug]: layer.move to the place a layer already has fails and stops a script; with several layers it leaves an empty undo step対応中かも @jgregoriorincon が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
opengeos/RustGIS#2621 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
good first issue web
難易度 1/5 1時間未満 初心者へのやさしさ 92/100
メンテナーはふだん 1 日以内に返信