Repository navigation
データ整合性チェックの data_validator 起動を -p 指定に修正 - #1642
Conversation
Cloudflare Workers 移行 (#1640) でワークスペースのルートが仮想マニフェスト から stationapi-worker パッケージに変わったため、`cargo run --bin data_validator` が default-run パッケージ (= ルートの stationapi-worker) だけを探すようになり以下で落ちていた。 error: no bin target named `data_validator` in default-run packages help: available bin in `data_validator` package: data_validator このワークフローは data/*.csv の変更でしか起動しないため、移行後に データ変更を含む最初の PR で初めて顕在化した。AGENTS.md および Makefile と 同じ `-p data_validator` に揃える。 cargo run -p data_validator: [VALID] No errors reported. Co-Authored-By: Claude Opus 5 <[email protected]> Claude-Session: https://claude.ai/code/session_01MtsmzZW2wWEAXLTJnw44Sn
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
Limit details: You’ve used all 3 included reviews currently available. Your 43 included PR review attempts over the past 7 days set your current allowance at 3 reviews per hour. 📝 WalkthroughWalkthroughGitHub Actions のデータ検証コマンドを、バイナリ指定から Cargo パッケージ指定へ変更しました。検証結果の出力、成果物保存、失敗時の処理は変更していません。 Changesデータ検証コマンド
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to データ検証ワークフローの起動先を明示する限定的なCI設定変更であり、通常の確認後にマージ可能です。現時点で対応が必要なマージ阻害リスクはありません。 Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Warning Billing warning: we have not been able to collect payment for this subscription for more than 72 hours. Please update the payment method or pay any pending invoices in Billing to avoid service interruption. Usage-based review receipt
Note This review was completed with usage-based billing: files reviewed beyond your plan's included limits are billed at $0.25/file. Track spend and usage in your billing settings. Comment |
概要
データ整合性チェックのワークフロー
verify_data_Integrity.ymlが、cargo run --bin data_validatorの解決に失敗して必ず落ちる状態になっていたため修正します。変更の種類
変更内容
.github/workflows/verify_data_Integrity.ymlのcargo run --bin data_validatorをcargo run -p data_validatorに変更原因
Cloudflare Workers 移行 (#1640) でワークスペースのルートが仮想マニフェストから
stationapi-workerパッケージに変わりました。cargo run --bin <name>は default-run パッケージ(= ルートのstationapi-worker)の bin ターゲットしか探さないため、以下で失敗します。このワークフローは
data/*.csvの変更でしか起動しないため、移行後にデータ変更を含む最初の PR (#1641) で初めて顕在化しました。このまま放置すると 今後のデータ系 PR がすべて赤くなります。AGENTS.md(cargo run -p data_validator)やMakefile・build_worker.ymlの他の呼び出しは既に-p指定なので、それらに揃えました。確認
修正前後をローカルで再現・確認しています。
テスト
ワークフロー定義のみの変更のため、
cargo系のチェックは省略しています(省略: コード変更なし)。cargo run -p data_validatorが[VALID] No errors reported.を返すことはローカルで確認済みです。make fmtが通ることmake clippyが通ること(wasm32 ターゲットを含む)make testが通ること関連Issue
スクリーンショット(任意)
Summary by CodeRabbit