Skip to content

master<-dev#1464

Merged
TinyKitten merged 1 commit intomasterfrom
dev
Mar 25, 2026
Merged

master<-dev#1464
TinyKitten merged 1 commit intomasterfrom
dev

Conversation

@TinyKitten
Copy link
Member

No description provided.

* GetStationsByLineIdList RPCのパフォーマンス改善: コネクションプール拡大と複合インデックス追加

- max_connectionsを5から20に増加(DATABASE_MAX_CONNECTIONS環境変数で設定可能)
- station_station_types (station_cd, line_group_cd, pass) の複合インデックスを追加し、NOT EXISTSサブクエリを高速化

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

* 主クエリを拡張してPhase 1の駅データ再取得を排除

get_by_line_id_vec_with_group_stationsを追加し、主クエリで関連する全station_g_cdの
駅を一度に取得するように変更。これによりupdate_station_vec_with_attributes内の
Phase 1から駅クエリ(get_stations_by_group_id_vec_no_types)を省略し、
並列クエリを3→2に削減。

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

* max_connectionsの範囲チェック追加とline_id_orderの重複ID順序を修正

- DATABASE_MAX_CONNECTIONSに範囲チェック(1..=1000)を追加し、範囲外やパース失敗時はwarnログ付きでデフォルト値にフォールバック
- line_id_orderの構築で重複line_idがある場合に最初の出現順を保持するよう修正(SQL CASE WHENと同等の挙動)

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

---------

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

coderabbitai bot commented Mar 25, 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: ab92bcb2-e8f9-4e3f-acd2-dda0e1c3ffda

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 changed the title canary master<-dev Mar 25, 2026
@TinyKitten TinyKitten merged commit 653b062 into master Mar 25, 2026
11 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