pty harness: build its own fake Daemon so a plain cargo build can't replace it

オープン 初心者向け
#17 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
72/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
python, rust

調査の方向性

ハーネスは tools/pty/shot.py で、現在は既定のターゲットディレクトリに fake 機能付きでビルドされた singularityd を前提としています。このバイナリをどのように探して起動しているか、Daemon の早期終了をどこで確認しているかを読んでください。次に、「rebuild with --features fake」という落とし穴を含むドキュメントの節を探します。shot.py が cargo で fake Daemon を target/pty にビルドしてそのバイナリを実行でき、ドキュメントからこの落とし穴が削除されていれば完了です。

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

説明

ready-for-agent

tools/pty/shot.py needs singularityd built with --features fake. A plain cargo build overwrites that binary with a real one. shot.py then fails, and in October a real Daemon started from a harness run. shot.py stops when the Daemon exits early, but only after the fact.

Have shot.py build (or check) its own fake Daemon in a separate target dir, e.g. cargo build -p singularityd --features fake --target-dir target/pty, and use that binary. Then remove the "rebuild with --features fake" gotcha from the docs.

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

環境構築

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

はじめの一歩

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

publicusr/singularity のほかの issue

publicusr/singularity の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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