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

tests: Port away from nushell

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

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

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

評価

難易度
5/5
見積もり時間
1週間以上
初心者へのやさしさ
35/100
issue の種類
リファクタリング
明瞭さ
おおむね明確
活発さ
活発
技術スタック
rust
領域
testing

調査の方向性

Start by locating the Nushell test scripts and the test infrastructure that builds or runs them; the issue does not name specific files or a particular test. Read the existing tests and identify one with some complexity, such as an on-target build, to use as the initial port. Done means a Rust-based test binary using xshell can run that test, with infrastructure in place to continue migrating the rest.

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

説明

I championed using nushell, but I regret it now mostly. It's not bad per se (certainly better than shell script IMO) but the core problem is:

  • They keep making subtle behavioral changes that break us periodically (it's not often but we really do want a 1.0 stable language for our tests)
  • It's a relatively obscure language that while does support some static analysis (definitely better than bash!) many failures are still runtime, and LLMs just don't know it as well. Also it's just another language.

A big complexity here is that of course in going to a compiled language. I think basically what we do is generate a separate bootc-tests binary that embeds all the logic.

I think basically we should use Rust with https://docs.rs/xshell/latest/xshell/ for our tests. It'll be more verbose, but that's probably OK.

To implement this I think we can basically just try to port one test (one that has some complexity, like is doing on-target builds etc) and build out the infra (which will necessarily involve some duplication) but then gradually port over all of the others.

主要言語
Rust
スター
2.3k
フォーク
230
平均マージ
2日 12時間
マージ済み PR(30日)
53

環境構築

はじめの一歩

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

bootc-dev/bootc のほかの issue

bootc-dev/bootc の issue をすべて見る

似ている issue

Rust の issue をもっと見る

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

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