Repository navigation
fix/agents-primary-model-selection-and-catalog-loading-41344 - #54724
thegoldenflow wants to merge 4 commits into
Conversation
Greptile SummaryThis PR fixes two related bugs in the Agents Overview model-selection UX: stale DOM/select state when switching agents, and partial/blank Primary Model dropdowns on refresh or first load due to the model catalog not being available on Overview paths. Key changes:
Minor observations:
Confidence Score: 4/5
|
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: fe5f59dbf8
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
66022fe to
4a5f9b2
Compare
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 4a5f9b2abb
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5605e4e840
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
5605e4e to
25b022c
Compare
25b022c to
8491108
Compare
8491108 to
55b8ebe
Compare
|
Codex review: needs changes before merge. Reviewed July 5, 2026, 12:26 PM ET / 16:26 UTC. Summary PR surface: Source +120, Tests +582, Other +4. Total +706 across 12 files. Reproducibility: yes. for the merge blocker: source inspection shows PR head calls Review metrics: 1 noteworthy metric.
Merge readiness Overall follows the weaker of proof and patch quality, so missing proof can cap an otherwise strong patch. Rank-up moves:
Proof path suggestion Risk before merge
Maintainer options:
Copy recommended automerge instructionNext step before merge
Security Review findings
Review detailsBest possible solution: Port only the Agents Overview hydration/loading behavior onto the current Do we have a high-confidence way to reproduce the issue? Yes for the merge blocker: source inspection shows PR head calls Is this the best way to solve the issue? No. The hydration idea is reasonable, but the best fix is to reuse or extend the current configured-view loader from the new Agents page structure instead of adding an old-path controller that changes request scope. Full review comments:
Overall correctness: patch is incorrect AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning high; reviewed against 70f2bef6b4cf. Label changesLabel justifications:
Evidence reviewedPR surface: Source +120, Tests +582, Other +4. Total +706 across 12 files. View PR surface stats
Acceptance criteria:
What I checked:
Likely related people:
What the crustacean ranks mean
Shiny media proof means a screenshot, video, or linked artifact directly shows the changed behavior. Runtime, network, CSP, and security claims still need visible diagnostics. How this review workflow works
Review history (1 earlier review cycle)
|
|
ClawSweeper PR egg 🔥 Warming up: real-behavior proof passed; findings, security review, or rank-up moves are still in progress. Hatch commandComment Hatchability rules:
What is this egg doing here?
|
|
This pull request has been automatically marked as stale due to inactivity. |
|
Thanks @wsyjh8 for the detailed investigation and tests. Closing this as superseded: the agent-switch repair landed in #72328, page-load selected-option handling landed in #74000, and reload-state handling landed in #72624. Since then #100024 replaced the Control UI architecture, so 11 of this PR's 12 touched paths no longer exist, and the remaining catalog helper changes the canonical configured-model request scope. If partial catalog hydration still reproduces, please open a fresh issue with current-version proof; the appropriate repair belongs under |
Summary
Change Type (select all)
Scope (select all touched areas)
Linked Issue/PR
Root Cause / Regression History (if applicable)
For bug fixes or regressions, explain why this happened, not just what changed. Otherwise write
N/A. If the cause is unclear, writeUnknown.git blame, prior PR, issue, or refactor if known):upstream/mainexposed a second, related lifecycle issue in Agents Overview model-catalog loading.Regression Test Plan (if applicable)
For bug fixes or regressions, name the smallest reliable test coverage that should have caught this. Otherwise write
N/A.ui/src/ui/views/agents.browser.test.tsui/src/ui/views/agents.test.tsui/src/ui/controllers/models.test.tsUser-visible / Behavior Changes
List user-visible changes (including defaults/config).
If none, write
None.Security Impact (required)
Yes/No) NoYes/No) NoYes/No) NoYes/No) NoYes/No) NoYes, explain risk + mitigation:Repro + Verification
Environment
Steps
Expected
Actual
Evidence
Attach at least one:
UI Evidence
Before
After refresh / first load, the Primary Model dropdown could show only fallback entries or appear blank.
After
After the fix, the Primary Model dropdown restores the full option list correctly after refresh / first load, without losing the selected value.
Human Verification (required)
What you personally verified (not just CI), and how:
AI Assistance
Review Conversations
If a bot review conversation is addressed by this PR, resolve that conversation yourself. Do not leave bot review conversation cleanup for maintainers.
Compatibility / Migration
Yes/No) YesYes/No) NoYes/No) NoFailure Recovery (if this breaks)
ui/src/ui/views/agents.tsui/src/ui/views/agents-panels-overview.tsui/src/ui/controllers/models.tsui/src/ui/app-render.tsui/src/ui/app-settings.tsui/src/ui/app-chat.tsRisks and Mitigations
List only real risks for this PR. Add/remove entries as needed. If none, write
None.Risk:
Risk: