Repository navigation
fix: show agents before the catalog finishes loading - #451
Merged
Merged
Conversation
yuga-hashimoto
force-pushed
the
codex/fix-agent-loading-delay
branch
from
November 26, 2026 06:04
beb6758 to
25e8869
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
エージェント一覧の取得が終わっても、プロバイダーやワークスペースなどの取得を待ってから表示していたため、モードメニューが長時間「読み込み中」のままになることがありました。取得できた一覧を先に表示し、初回取得が失敗した場合の再試行も他の取得と並行して開始します。再試行が尽きたら、別の取得だけが残っている場合は読み込み表示を止めます。
実機では再起動後、ローカルのエージェント API が起動から約4秒で応答する一方、画面は55秒以上読み込み中でした。修正版は既存アプリとデバッグ署名が異なるため、ユーザーデータを維持した上書きインストールと実機での修正後検証はできていません。
検証:
./gradlew :app:testGithubDebugUnitTest detekt spotlessCheck :app:assembleGithubDebug(1,857 tests, 8 skipped)。一覧の先行表示、初回失敗後の再試行成功、再試行失敗時の表示を追加テストで確認しました。Pre-PR review
判定: APPROVE
ブロッカー
なし
提案(非ブロッキング)
チェック済み項目
origin/main...HEADの全差分、エージェント取得・再試行・画面状態の更新順序を確認。