Skip to content

fix(ui): repair model layout and CI assertions - #12587

Merged
mudler merged 2 commits into
masterfrom
fix/ci-model-page-1009
Oct 10, 2026
Merged

mudler merged 2 commits into
masterfrom
fix/ci-model-page-1009

Conversation

@localai-org-maint-bot

Copy link
Copy Markdown
Collaborator

Description

Fixes the UI E2E failures on master after #12526, including run 37836549755.

The model Variants table puts Install beyond a phone viewport. Give its wrapping rules precedence over the shared table CSS and limit the build description width on phones. Update the model documentation.

Make the related UI assertions follow asynchronous state: distinguish facet-count probes from gallery navigation, await cleanup size ordering and masonry initialization, and use a fixed date for chat-history fixtures. Match complete percentile labels so adjacent cells containing llama-cpp and 99 requests do not produce a false p99 match.

Notes for Reviewers

Validated locally with the production V8-coverage bundle and Chromium, using the existing Playwright API mocks through a temporary static server:

  • Model page, cleanup, and ledger: 126 passed.
  • Home, chat history, and studio: 86 passed; 13 date-sensitive checks passed again after the fixed-clock review correction.
  • Traffic models and host: 10 passed.
  • Reproduced phone overflow before the fix; phone and variant checks pass afterward.
  • npm run lint:inline-styles and git diff --check pass.

No coverage baseline or tolerance changed. Full GitHub CI remains to run. The same shared fixes were applied to the affected bot PRs #12319, #12307, #12145, and #12051; #12145 also needed its editor selector updated.

Signed commits

  • Human DCO sign-off required; commits include Assisted-by: Codex:gpt-6.
  • Documentation updated under docs/content/.

Let model descriptions wrap without losing the install action offscreen.
Give page table rules precedence over the shared table styles.

Separate background facet probes from navigation assertions and wait for
asynchronous size sorting and masonry layout. Fix the chat fixture clock
so runs near midnight keep the expected conversation groups and order.

Assisted-by: Codex:gpt-6
Playwright joins adjacent table-cell text. A llama-cpp backend followed
by 99 requests then matches p99, although no percentile is shown.
Require word boundaries while keeping the absence assertion.

Assisted-by: Codex:gpt-6
@mudler
mudler merged commit 40c51f7 into master Oct 10, 2026
71 of 72 checks passed
@mudler
mudler deleted the fix/ci-model-page-1009 branch October 10, 2026 06:30
@mudler-agent mudler-agent added the bug Something isn't working label Oct 22, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants