Skip to content
This repository was archived by the owner on Aug 27, 2026. It is now read-only.

GetRoutesMinimal と Minimal 系メッセージを削除 - #30

Merged
TinyKitten merged 1 commit into
mainfrom
feature/remove-get-routes-minimal
Aug 22, 2026
Merged

TinyKitten merged 1 commit into
mainfrom
feature/remove-get-routes-minimal

Conversation

@TinyKitten

@TinyKitten TinyKitten commented Aug 22, 2026 •

Copy link
Copy Markdown
Member

概要

GetRoutesMinimal と、それ専用の Minimal 系メッセージを削除します。

BFF の GraphQL スキーマ(https://github.com/TrainLCD/BFF/blob/dev/schema.graphql )に対応するクエリが存在せず、どこからも呼ばれていないためです。

削除するもの

  • rpc GetRoutesMinimal(GetRouteRequest) returns (RouteMinimalResponse)
  • message StationMinimal
  • message LineMinimal
  • message RouteMinimal
  • message RouteMinimalResponse

影響

StationAPI 側の対応は TrainLCD/StationAPI#1635 に含めています(get_routes_minimal の UseCase 実装と gRPC ハンドラを削除、テスト433件パス)。

他に参照している実装が無いか、マージ前にご確認いただけると助かります。

🤖 Generated with Claude Code

https://claude.ai/code/session_01MknNuYaqGmRPpvb6HeAnXb

Summary by CodeRabbit

  • 変更
    • 最小限の情報で経路を取得する機能を削除しました。
    • 既存の駅情報および通常の経路関連機能に変更はありません。

BFF のスキーマに対応するクエリが無く、どこからも呼ばれていないため
削除する。

- rpc GetRoutesMinimal
- message StationMinimal / LineMinimal / RouteMinimal / RouteMinimalResponse

Co-Authored-By: Claude Opus 5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01MknNuYaqGmRPpvb6HeAnXb
@coderabbitai

coderabbitai Bot commented Aug 22, 2026 •

Copy link
Copy Markdown

Review Change Stack

No actionable comments were generated in the recent review. 🎉

ℹ️ Recent review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ab025c72-6020-4cea-be19-664a98079308

📥 Commits

Reviewing files that changed from the base of the PR and between 7ec5cbc and fc2b8f1.

📒 Files selected for processing (1)
  • stationapi.proto
💤 Files with no reviewable changes (1)
  • stationapi.proto

Limit details: You’ve used all 5 included reviews currently available. Your 27 included PR review attempts over the past 7 days set your current allowance at 5 reviews per hour.


📝 Walkthrough

Walkthrough

GetRoutesMinimal RPCと、関連する4つの最小構成メッセージ定義をstationapi.protoから削除しました。その他のStation APIとルート関連メッセージは変更していません。

Changes

最小構成ルートAPIの削除

Layer / File(s) Summary
最小構成ルート契約の削除
stationapi.proto
GetRoutesMinimal RPCと、StationMinimal、LineMinimal、RouteMinimal、RouteMinimalResponseメッセージを削除しました。

Estimated code review effort: 2 (Simple) | ~10 minutes

Merge Risk: ⚪ Minimal · up to fc2b8

未使用の GetRoutesMinimal と関連メッセージのみを削除する限定的な変更で、現時点でマージを妨げる具体的なリスクはありません。通常の確認後にマージ可能です。

Poem

うさぎが跳ねて、APIを整理
最小構成の定義を削除
RPCも静かにさようなら
残る契約はそのままに
にんじん色の変更を祝います 🐇

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed タイトルは、変更の中心であるGetRoutesMinimal RPCとMinimal系メッセージの削除を明確に示しています。
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch feature/remove-get-routes-minimal

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.


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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant