Repository navigation
fix(gui): select Advisor model from the routed catalog - #7114
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info
📝 Walkthrough
Merge Risk: ⚪ Minimal · up to
|
|
✅ Deterministic PR hygiene checks passed. |
… evidence GUI files follow the reviewed union resolution 97d21b763 (lidge-jun#7114's selector inside the adaptive editor rows); structure docs keep both the adaptive budget contract and the dashboard model-selection section.
This reverts commit 60bf4c7.
Summary
namespacedidentifier, preventing display-name or case typos from becoming later consultation failures. Native, provider, account-qualified, custom, and combo selectors use the existing catalog contract.Verification
bun test --isolate ./gui/tests/advisor-save-feedback.test.tsx— 10 passed / 0 failed, 76 assertions. Covers exact identifier PUT payloads, legacy value retention, disabled/pending rows, clear, load failure/retry, malformed/empty catalog, and edits while the catalog is pending.lint:i18noxlint command arguments passed;tsc -b --forceand Vite build passed. Force typechecking avoids relying on shared incremental build metadata. Dependency lockfiles matched an already installed isolated worktree and were reused without changing dependencies.bun scripts/structure-ssot.tsandgit diff --checkpassed.bun run buildpassed: 577 pages and 81,200 internal links checked. The dependency installation was reused from an identical frozen lockfile after its first build completed.Advisor lane verification (2026-10-15)
Head:
f260787527234f849b09bb2c81f0990f3bdf2338; baseline:7640a942b35044c974e534b84d5a8049f4a8ae9a.bun test tests/advisor/ tests/server/advisor-routes.test.ts: 148 passed / 0 failed.(cd gui && bun test --isolate tests/advisor-save-feedback.test.tsx): 10 passed / 0 failed.bun run typecheck,bun run build:gui,(cd gui && bun run lint:i18n),bun run structure:check,bun run privacy:scan,bun scripts/file-size-ratchet.ts,git diff --check: exit 0.ci/pr-7114).All lane commands used fresh
OPENCODEX_HOME=$(mktemp -d) CODEX_HOME=$(mktemp -d)sandboxes. Focused local coverage was used because independent worktrees are testing concurrently; the standalone full suite was not run on this PR head. Live-provider consultations were not run. Cross-platform CI below is queued, not passing evidence.Real GUI builds served by sandboxed proxies on ports 18741/18742/18743. Screenshot capture used
node /tmp/shot-advisor/capture.mjswith scratch-installedplaywright-core. The installed/Applications/Google Chrome.apptimed out before browser initialization, so capture used Chromium headless shell 154. Synthetic model-catalog rows are used for the dropdown; no model calls or settings saves were made. No browser page errors or horizontal overflow at 1440×1200.BEFORE — origin/dev
7640a942bAFTER — PR head
f26078752Local interaction test: start at
origin/dev(7640a942b), merge #7114, then #7134, then #7124. The first two merge cleanly. Adding #7124 requires preserving both changes ingui/src/pages/Advisor.tsx,gui/tests/advisor-save-feedback.test.tsx,structure/advisor.md,structure/gui-and-management-api.md, andtests/advisor/advisor-responses-wiring.test.ts. The locally resolved union passes 248 backend/layout tests, 12 GUI tests, root typechecking and the GUI build. The earlier resolved union also completedbun run test:changed: 15,454 passed / 35 skipped / 0 failed across 628 files; the later refusal-reporting fixes were validated with focused tests. Recommended integration order: #7134 and #7114 first (either order), then resolve #7124 against the landed tree and rerun its exact-head CI. No PR was merged.#5955 is already integrated as
13212e6ef; #6617 ase2b6eef5c. These are the foundation/admission fixes, not open duplicate PRs.Checklist
Summary by CodeRabbit