`verify-release-candidate.sh` version check doesn't catch `-dev` versions and is skipped on macOS
メンテナーはふだん 1 日以内に返信
@vinycalves がすでに取り組んでいます。
2026年11月18日 から。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 領域
- build-system, release
調査の方向性
既存の Cargo.toml バージョンチェックの周辺にある dev/release/verify-release-candidate.sh を読み、次に GNU と BSD/macOS で issue の再現コマンドを実行します。指定された -dev と -SNAPSHOT のサフィックスを検出し、両方の find 実装で動作するようにチェックを更新します。両方のプラットフォームでプレリリース版がチェックに失敗し、リリース版が成功すれば完了です。
索引モデルが issue の本文から書いたものです。
説明
Describe the bug
verify-release-candidate.sh rejects a release whose Cargo.toml contains SNAPSHOT:
The check misses a pre-release version in two ways.
First, #26845 changed main to -dev versions (57.0.0-dev today), but the check still greps for SNAPSHOT, which no Cargo.toml has used since #1350. An RC cut with a leftover -dev version passes on every platform.
Second, the check calls find without a starting path. GNU find defaults the path to ., but BSD find on macOS requires one and exits with find: illegal option -- i. That failure happens inside the if ( ... ) condition, so set -e doesn't stop the script and the condition is false. On macOS the check passes without reading any Cargo.toml.
To Reproduce
On macOS:
$ if ( /usr/bin/find -iname 'Cargo.toml' | xargs grep SNAPSHOT ); then echo found; else echo "check passed"; fi
/usr/bin/find: illegal option -- i
check passed
On any platform, from a main checkout:
$ if ( find . -iname 'Cargo.toml' | xargs grep SNAPSHOT ); then echo found; else echo "check passed"; fi
check passed
$ grep -m1 '^version' Cargo.toml
version = "57.0.0-dev"
I found this while verifying 56.0.0-rc2. A manual grep for -dev and -SNAPSHOT versions found none in that release.
Expected behavior
The check fails for any pre-release version suffix, on both GNU and BSD find. For example:
if ( find . -name 'Cargo.toml' -print0 | xargs -0 grep -nE '^version *= *"[^"]*-(dev|SNAPSHOT)' ); then
echo "Cargo.toml version should not have a -dev or -SNAPSHOT suffix for releases"
exit 1
fi
- 主要言語
- Rust
- スター
- 9.6k
- フォーク
- 2.6k
- 平均マージ
- 3日 5時間
- マージ済み PR(30日)
- 352
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
apache/datafusion のほかの issue
-
`MoveTowardsLeafNodes` placement implies speculative evaluation, but the docs don't say so対応中かも @Inf1mum が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
apache/datafusion#27487 · コメント 3 件 ·
メンテナーはふだん 1 日以内に返信
-
`lpad` and `rpad` with a literal length above `i32::MAX` error on a NULL string or fill対応中かも @TechWizard9999 が 1 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 77/100
apache/datafusion#27482 · コメント 1 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
Window constructors panic when the expression list is empty対応中かも @abp002 が 4 日前に担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
apache/datafusion#27315 · コメント 3 件 · 担当者 1 名 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
apache/datafusion#27094 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信
-
Substrait consumer doesn't recognise `shift_left` / `shift_right` from functions_arithmetic.yaml対応中かも @jonasHanhan が 14 日前に担当しました。 オープンbug
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
apache/datafusion#27059 ·
メンテナーはふだん 1 日以内に返信
apache/datafusion の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
tinystream-dev/tinystream#132 ·
-
contract good first issue testing
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
Emmyt24/nova-launch#2436 ·
メンテナーはふだん 1 日以内に返信