lineStationsの種別付与と福北ゆたか線快速の系統分割を本番へ反映 - #1703
Conversation
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
* エージェント向けガイドとスキルに残っていたgRPC時代の記述と誤った参照を直した Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * create-prスキルのref検証と変更の種類の判定をスクリプトに移した Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> * prepare.pyの差分をmerge-baseから測り、actions配下とタイムアウトを扱うようにした Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Essentials Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
Comment |
🚉 停車駅の変更1 件の新しい停車パターン | 1 件の変更された停車パターン
✏️ 快速 (Rapid) - 福北ゆたか線 / 福北ゆたか線type_cd=102, line_group_cd=535 変更内容: 原町: △ → ○ | 門松: △ → ○ 全駅リスト (21駅)
🆕 快速 (Rapid) - 福北ゆたか線 / 福北ゆたか線type_cd=102, line_group_cd=1187 変更内容: 21 駅追加 全駅リスト (21駅)
|
概要
dev の変更を master(本番)へ反映します。次の2つの修正が入ります。
lineStationsで取った駅にも系統の種別を付けます(種別を選ばずに取った路線の駅にも系統の種別を付け、新幹線では最も若い種別の系統を選ぶ #1701)。種別の無い経路でオートモードが発車せず1分後に折り返す MobileApp#7037 のオートモードで、列車が発車しない問題への対応です。変更の種類
変更内容
line_group_cd=1187)と、両駅を通過する朝夕の系統(535)に分けるstationIdを指定しないlineStationsにも系統の種別を付ける。新幹線では停車する種別のうちtypes.idが最も若い種別の系統を選ぶ(src/repository.rs、stationapi/src/use_case/interactor/query.rs)prepare.pyに移すmaster...devの比較で変更は8ファイルです。master と dev の履歴は分岐していますが、git merge-treeで競合なくマージできることを確認しました。master へマージすると、本番デプロイのワークフローが動きます。テスト
make fmtが通ることmake clippyが通ること(wasm32 ターゲットを含む)make testが通ることorigin/dev(a11a92f)で実行しました。cargo fmt --all -- --check:成功make test:すべて成功(stationapi は 429 件成功、失敗 0 件)make clippy:手元の環境にwasm32-unknown-unknownターゲットが入っていないため、wasm32 側は依存クレートのコンパイルで失敗しました(E0463: can't find crate for core)。代わりに次の2つを実行し、どちらも警告はありませんでした。wasm32 ターゲットでの確認は CI に任せます。-p stationapi -p stationapi-preprocessor -p data_validator --all-targets -- -D warnings)-p stationapi-worker --all-targets -- -D warnings)cargo run -p data_validator:[VALID] No errors reported.(福北ゆたか線の快速を門松・原町に停まる日中の系統と通過する朝夕の系統に分けた #1702 で確認済み。dev の Verify station data integrity も成功)関連Issue
Refs TrainLCD/MobileApp#7037
スクリーンショット(任意)
🤖 Generated with Claude Code