Skip to content

fix(ui): include utility fallback in Models layout checks - #174188

Closed
steipete wants to merge 1 commit into
mainfrom
solid2/hf-model-layout-utility-fallback
Closed

steipete wants to merge 1 commit into
mainfrom
solid2/hf-model-layout-utility-fallback

Conversation

@steipete

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes five Models settings layout E2E failures after independent utility-model fallback chains added a new settings row.

User Impact

No user-visible behavior changes. The layout test once again reaches its geometry and live-discovery assertions at all five viewport widths.

Why This Change Was Made

The exact expected row order omitted “Utility Fallback Model”, added by #173906. Include it immediately after “Utility Model”, matching the intended settings order. All existing layout, non-overlap, passive-picker, and discovery assertions remain intact.

Evidence

Check Result
CI failure Run 38894766364, job 116952955525: this file's cases at 1440, 1100, 768, 640, and 390px all failed the same exact row-list assertion; 433 other cases passed
Source contract default-models-view.tsx renders utility fallback between utility and decision model controls
UI typecheck pnpm tsgo:ui passed
Targeted lint/format and diff check Passed
Independent review Clean through P2; exact order and retained assertions verified
Browser proof PR CI; no local E2E/build under the campaign compute budget

Test LOC: 196 → 197 (+1); production LOC unchanged. No visual or startup changes, so no screenshots or startup rebuild required.

@steipete steipete added the ci:full Keep ordinary native-locale CI selection on the next PR run. label Oct 16, 2026
@clawsweeper

clawsweeper Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

🦞👀
ClawSweeper picked this up.

Pull request received. I will update this pull request when review starts.

ClawSweeper review complete

ClawSweeper finished reviewing this revision. The review result is being finalized.

View the workflow run.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 16, 2026 •

Copy link
Copy Markdown
Contributor

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-10-16T11:57:03.907348Z d200f73 PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. and removed clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-environment Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 16, 2026
@clawsweeper

clawsweeper Bot commented Oct 16, 2026

Copy link
Copy Markdown
Contributor

Codex review: blocked before merge.

What this changes

The PR adds “Utility Fallback Model” to the expected Models settings row order.

Example: The Models layout test runs at a 390px viewport.

  • Before: Its expected rows omit the rendered Utility Fallback Model row, stopping later assertions.
  • After: The expected order includes that row between Utility Model and Decision Model.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The patch is focused and correct, but its complete implementation already exists on main.
Proof confidence 🌊 off-meta tidepool Not applicable: This maintainer-authored, test-only expectation repair changes no shipped behavior; source verifies the row order, while CI provides supporting validation.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: No · Fix scope: Complete
User problem: The layout suite stops at an outdated row-order assertion before checking responsive geometry and discovery.
Reason: The original repair is useful, but merging this PR now adds no distinct contribution because main already contains it.

Merge readiness

⛔ Blocked before merge - 2 items remain

This PR is correct but redundant: current main contains the identical repair; the maintainer-authored keep-open guard reserves closure for a maintainer.

Priority: P3
Reviewed head: d200f7307368ff3fb66d23bce30c1f523b576851

Before merge

  • Complete next step - Have the maintainer decide whether to close this PR as already implemented by commit a817b82.
  • Product: not worth merging - The original repair is useful, but merging this PR now adds no distinct contribution because main already contains it.

Findings

None.

Tests

  • Missing end-to-end proof: The supplied material does not establish a completed before-and-after browser run, although this test-only maintainer repair needs no separate production demonstration.
Agent review details

How this fits together

The browser layout suite loads Models settings with a mocked Gateway, reads rendered settings rows, and checks responsive geometry and catalog discovery.

flowchart LR
  A[Mock Gateway fixtures] --> B[Models settings page]
  B --> C[Default model controls]
  C --> D[Rendered settings rows]
  D --> E[Order and geometry assertions]
  E --> F[Discovery assertions]
Loading

Technical review

Best possible solution:

Retain the identical repair already on main and let the maintainer retire this redundant PR.

Do we have a high-confidence way to reproduce the issue?

Source confirms the old expectation omitted a rendered row, but current main already corrects it; no tests were executed during this read-only review.

Is this the best way to solve the issue?

Adding the missing expected label is the smallest complete repair and preserves the independent layout and discovery checks.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against d3c8f283d418; fix evidence: commit a817b82014ac, main fix timestamp 2026-10-16T11:58:01Z.

Provenance checked

  • Models settings row-order assertion keeps the original intent (cde6bbd: Decision-model support made row ordering explicit and added separate decision-picker catalog checks.)

Testing

Proof path: none.

Security

None.

Evidence

What I checked:

Likely related people:

  • Peter Steinberger: Raw commit 56b3d23 adds ui/src/e2e/model-providers-layout.e2e.test.ts:120 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: 56b3d2374cf8; files: ui/src/e2e/model-providers-layout.e2e.test.ts)
  • Josh Lehman: Raw commit cde6bbd adds ui/src/e2e/model-providers-layout.e2e.test.ts:114 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: cde6bbdcfe84; files: ui/src/e2e/model-providers-layout.e2e.test.ts)

PR surface

Tests +1. Total +1 across 1 file. Added test files: 0.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 1 1 0 +1
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 1 1 0 +1

Labels

Label changes:

  • add P3: This is a test expectation repair with no production behavior change, already present on main.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Label justifications:

  • P3: This is a test expectation repair with no production behavior change, already present on main.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: ⏳ waiting on author: ClawSweeper has contributor-facing work open and is waiting for author action.

Rating scale

6/6 🦀 challenger crab · 5/6 🦞 diamond lobster · 4/6 🐚 platinum hermit · 3/6 🦐 gold shrimp · 2/6 🦪 silver shellfish · 1/6 🧂 unranked krab. Overall follows the weaker of proof and patch quality; ✨ marks media proof (a screenshot, video, or linked artifact) that directly shows the changed behavior.

Workflow

ClawSweeper edits this one comment on every review. Comment @clawsweeper re-review for a fresh review only. Repair and merge execution lanes are retired.

Reviewed October 16, 2026, 8:08 AM ET / 12:08 UTC.

@steipete

Copy link
Copy Markdown
Contributor Author

Superseded by Vincent Koc’s identical fix on main: a817b82. Verified that commit is an ancestor of current origin/main, and this test file has the same blob (d4289782ca3110c20545a3f8b133a2a3eb253148) in that commit, current main, and this PR.

The matching patch passed full CI in https://github.com/openclaw/openclaw/actions/runs/38896953926: all five Models layout cases (1440, 1100, 768, 640, and 390px) passed, and the affected shard passed all 438 tests across 96 files. Local UI types, targeted lint/format, and independent review also passed.

Native landing stopped with NO NET CHANGE; no merge or auto-merge intent was created. Closing this duplicate; the fix is already on main.

@steipete steipete closed this Oct 16, 2026
@RomneyDa
RomneyDa deleted the solid2/hf-model-layout-utility-fallback branch October 22, 2026 05:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

app: web-ui App: web-ui ci:full Keep ordinary native-locale CI selection on the next PR run. P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: XS status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant