Skip to content

master<-dev#1523

Merged
TinyKitten merged 4 commits into
masterfrom
dev
May 15, 2026
Merged

master<-dev#1523
TinyKitten merged 4 commits into
masterfrom
dev

Conversation

@TinyKitten
Copy link
Copy Markdown
Member

概要

dev ブランチに溜まった変更を master へ反映するリリース PR。variant 補間の再帰深さ上限の動的算出、build_stop_route_mapping の SQL 回帰テスト基盤、ECS デプロイワークフローの整備を含む。

変更の種類

  • バグ修正
  • 新機能
  • データの修正・追加
  • リファクタリング
  • ドキュメント
  • CI/CD
  • その他

変更内容

テスト

  • cargo fmt --all -- --check が通ること
  • cargo clippy -- -D warnings が通ること
  • cargo testSQLX_OFFLINE=true)が通ること

関連Issue

#1499 #1513 #1514

スクリーンショット(任意)

TinyKitten and others added 4 commits May 15, 2026 21:22
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
`build_stop_route_mapping()` の `prev_chain` / `next_chain` 再帰 CTE が
`depth < 10` の固定値で打ち切られていたため、メイン系統に戻るまでに
11 停留所以上ある variant 経路ではアンカー解決に失敗し、`estimated_seq`
が末尾フォールバック (`mtms.max_seq + 9999`) や「next のみ解決」分岐に
落ちて停留所順が崩れていた。

route ごとの `variant_only_with_neighbors` の行数から `max_depth` を
計算する `variant_chain_limit` CTE を追加し、`prev_chain` / `next_chain`
の上限をこれに置き換える。`visited` 配列で各 variant 停留所は 1 度しか
踏まないことが保証されているため、stop 数 + 1 はサイクル防止と整合した
タイトな上限になる。

長い variant チェーン (M01 → V01..V12 → M15) のシナリオで V02..V11 が
両端を再帰解決して中央付近に挿入されることを検証する SQL 回帰テスト
`test_build_stop_route_mapping_long_variant_chain_dynamic_limit` を追加。

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
* variant補間の再帰深さ上限をroute毎の停留所数から動的に算出 (Closes #1513)

`build_stop_route_mapping()` の `prev_chain` / `next_chain` 再帰 CTE が
`depth < 10` の固定値で打ち切られていたため、メイン系統に戻るまでに
11 停留所以上ある variant 経路ではアンカー解決に失敗し、`estimated_seq`
が末尾フォールバック (`mtms.max_seq + 9999`) や「next のみ解決」分岐に
落ちて停留所順が崩れていた。

route ごとの `variant_only_with_neighbors` の行数から `max_depth` を
計算する `variant_chain_limit` CTE を追加し、`prev_chain` / `next_chain`
の上限をこれに置き換える。`visited` 配列で各 variant 停留所は 1 度しか
踏まないことが保証されているため、stop 数 + 1 はサイクル防止と整合した
タイトな上限になる。

長い variant チェーン (M01 → V01..V12 → M15) のシナリオで V02..V11 が
両端を再帰解決して中央付近に挿入されることを検証する SQL 回帰テスト
`test_build_stop_route_mapping_long_variant_chain_dynamic_limit` を追加。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

* ECSデプロイワークフローの paths フィルタに docker/** を追加 (Closes #1500)

Dockerfile や docker/ 配下のアセットを変更してもステージング/本番のデプロイが自動トリガーされなかったため、両ワークフローの on.push.paths に docker/** を追加する。

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>

---------

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@TinyKitten TinyKitten self-assigned this May 15, 2026
@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 15, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: fe2f009d-cf0c-46bf-a5ec-29e473ac5186

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dev

Comment @coderabbitai help to get the list of available commands and usage tips.

@TinyKitten TinyKitten merged commit ec2d2aa into master May 15, 2026
7 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant