Skip to content

fix: show agents before the catalog finishes loading - #451

Merged
yuga-hashimoto merged 1 commit into
mainfrom
codex/fix-agent-loading-delay
Nov 26, 2026
Merged

yuga-hashimoto merged 1 commit into
mainfrom
codex/fix-agent-loading-delay

Conversation

@yuga-hashimoto

Copy link
Copy Markdown
Owner

エージェント一覧の取得が終わっても、プロバイダーやワークスペースなどの取得を待ってから表示していたため、モードメニューが長時間「読み込み中」のままになることがありました。取得できた一覧を先に表示し、初回取得が失敗した場合の再試行も他の取得と並行して開始します。再試行が尽きたら、別の取得だけが残っている場合は読み込み表示を止めます。

実機では再起動後、ローカルのエージェント API が起動から約4秒で応答する一方、画面は55秒以上読み込み中でした。修正版は既存アプリとデバッグ署名が異なるため、ユーザーデータを維持した上書きインストールと実機での修正後検証はできていません。

検証: ./gradlew :app:testGithubDebugUnitTest detekt spotlessCheck :app:assembleGithubDebug(1,857 tests, 8 skipped)。一覧の先行表示、初回失敗後の再試行成功、再試行失敗時の表示を追加テストで確認しました。

Pre-PR review

判定: APPROVE

ブロッカー

なし

提案(非ブロッキング)

  • 既存アプリとはデバッグ署名が異なるため、今回の修正を実機で上書き検証できていない点は PR に明記してください。

チェック済み項目

  • origin/main...HEAD の全差分、エージェント取得・再試行・画面状態の更新順序を確認。
  • 初回取得の成功、初回失敗後の再試行成功、再試行失敗時の表示をカバーする追加テストを確認。
  • 実行時の切替ガード、既存カタログの保持、文字列・秘密情報への影響を確認。

@yuga-hashimoto
yuga-hashimoto force-pushed the codex/fix-agent-loading-delay branch from beb6758 to 25e8869 Compare November 26, 2026 06:04
@yuga-hashimoto yuga-hashimoto changed the title Show agents without waiting for the full catalog fix: show agents before the catalog finishes loading Nov 26, 2026
@yuga-hashimoto
yuga-hashimoto merged commit 3b55e54 into main Nov 26, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant