Skip to content

fix: restore sidebar browser coverage after pagination changes - #186772

Merged
shakkernerd merged 1 commit into
mainfrom
sidebar-pagination-e2e
Oct 28, 2026
Merged

shakkernerd merged 1 commit into
mainfrom
sidebar-pagination-e2e

Conversation

@shakkernerd

@shakkernerd shakkernerd commented Oct 28, 2026 •

Copy link
Copy Markdown
Contributor

Related: #186715, #186749

What Problem This Solves

The sidebar pagination change left several existing browser scenarios using ten-row assumptions. On current main, scroll and invite scenarios try to click Show more after the list is exhausted, while the pinned-session sorting scenario expects too few initial rows. These failures prevent the tests from reaching their resize, scrolling, dismissal, and ordering assertions. The created-sort fixture also no longer fills an initial page, so it has stopped exercising full-page retention when a newer session arrives.

User Impact

There is no product behavior change. This restores the existing browser coverage under the accepted fifteen-row grouped window and thirty-row ungrouped window. The separately landed category/group-management correction remains intact.

Why This Change Was Made

A shared fixture helper expands through the actual Show more control, checks each published fifteen-row increment using the virtualized list's accessible size, and verifies exhaustion. The scroll fixtures still reach their final task rows and keep every geometry, pointer, keyboard, and rail assertion. The invite fixture counts its thirty-one task rows separately from Home.

The sorting fixture now supplies sixteen ordinary sessions plus its pin, so paging is still required before asserting complete order. The external-new-session fixture starts with fifteen rows, preserving its full-page and retained-DOM-identity checks. No scenario is skipped, no timeout is extended, and the test-line ceiling is unchanged. The complete patch changes only tests: 35 added lines and 24 removed lines.

Evidence

  • The six remaining failures reproduced on main 70a9bd4740e1dae5bdf2e253ca7fbb8e7b98eb04 through the production Control UI browser harness. The already repaired group-management file passed.
  • All 36 browser cases across the six relevant full files now have passing proof, including LTR/RTL, desktop/mobile, dashboard/system scrolling, pinned order, category moves, and full-page retention. Unchanged file results were reused after the invite-only count correction. The initial five-file candidate batch took 82.29 seconds and exposed that count correction; the corrected invite file passed both cases in 30.41 seconds including setup and build.
  • The existing rendered-sidebar suite passed all 112 cases in 25.15 seconds, including grouped/ungrouped initial windows, increments, exhaustion, collapse, and remembered grouping limits. The corrected invite and component command took 59.79 seconds overall.
  • Changed-file formatting/lint, the two affected UI E2E type graphs, and the test-line ratchet passed. The ratchet is 6,301,963 / 6,302,000, with no ceiling change.

Exact-head CI passed, including all five changed browser files in the selected 10-file, 38-case E2E job (88.56 seconds). Independent engineering review found no actionable findings after inspecting the source and raw execution records. Browser proof uses synthetic Gateway fixtures; this PR introduces no visible UI change.

@clawsweeper

clawsweeper Bot commented Oct 28, 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.

@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: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. 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 28, 2026
@clawsweeper

clawsweeper Bot commented Oct 28, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

This PR updates sidebar browser fixtures and pagination waits to preserve existing coverage under the accepted fifteen-row grouped window.

Example: Run the Community card scenario with Home and 31 task sessions.

  • Before: The third Show more click targets an exhausted list, preventing dismissal and focus assertions.
  • After: The helper waits for 15, 30, and 31 task rows, verifies exhaustion, and continues to the existing assertions.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) A focused, useful repair with no actionable findings; validation is supported by reported browser runs and source inspection, with the final CI gate pending.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored test repair is outside the contributor proof gate; its body reports browser execution against the production renderer with synthetic Gateway fixtures, while the inspected images establish only the earlier pagination policy.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
User problem: Stale browser fixtures stop before exercising sidebar interactions and no longer fully cover retention at the initial page boundary.
Reason: The maintainer-authored repair preserves distinct existing coverage for an already accepted product change without expanding production scope.

Regression provenance

Regression provenance — verified: source commit fcfe9a652b81 by Vyctor H. Brzezowski; canonical PR #186715 (blame-to-merge-commit).

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR restores useful browser coverage without changing product behavior, and no actionable defects were found; the exact-head CI gate remains pending.

Priority: P3
Reviewed head: 5a4ddb1ab1190c0dcadfcd844105c41213ac659a

Before merge

None.

Findings

None.

Agent review details

How this fits together

The Control UI browser suites supply synthetic Gateway session data to the real renderer and inspect pagination, scrolling, sorting, dismissal, and retained row identity.

flowchart LR
  A[Synthetic Gateway fixtures] --> B[Control UI renderer]
  B --> C[Sidebar pagination owner]
  C --> D[Virtualized session rows]
  E[Browser test actions] --> C
  D --> F[Existing interaction assertions]
Loading

Technical review

Best possible solution:

Retain this focused fixture repair and its shared published-page wait while preserving the existing sidebar owners and interaction assertions.

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

Current-main source shows fixed extra clicks after exhaustion and a pinned-order expectation below the new initial window; the PR reports matching browser failures, but this review executed no target code.

Is this the best way to solve the issue?

The patch restores meaningful page boundaries, reuses the existing virtualized-row reveal helper, and consolidates repeated pagination setup without weakening the downstream assertions.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning medium; reviewed against a74f408db7fb.

Provenance checked

  • Published pagination waits and Community card coverage keeps the original intent (a25ddbb: Wait for asynchronously published page sizes and scroll virtualized rows before checking card geometry, dismissal, and focus.)
  • Scrollbar, resize, and route scrolling scenarios keeps the original intent (fix: keep shell dividers consistent and resize feedback off scrollbars #179212: Protect reachable scrollbars and independent resize controls; the Systems coverage also protects scrolling without moving fixed navigation controls.)
  • Pinned-session sorting coverage keeps the original intent (054ac7a: Keep personal pins in their own sidebar section without consuming ordinary-session pagination slots.)
  • Created-sort full-page retention keeps the original intent (386b12b: Ensure newly discovered sessions appear first under Created sorting; subsequent projection work retained prior visible membership and DOM identity.)

Testing

Proof path: in-process harness.

Security

None.

Evidence

What I checked:

Likely related people:

  • Vyctor H. Brzezowski: Raw commit f8a97fe adds ui/src/e2e/sidebar-customization.e2e.test.ts:57 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: f8a97fe87ce2; files: ui/src/e2e/sidebar-customization.e2e.test.ts)
  • Peter Steinberger: Raw commit a25ddbb adds ui/src/e2e/community-invite-showing.e2e.test.ts:56 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: high; commits: a25ddbbecd78; files: ui/src/e2e/community-invite-showing.e2e.test.ts)
  • Jason (Json): Raw commit 386b12b adds ui/src/e2e/session-management.created-sort.e2e.test.ts:2 relative to its recorded parents. This identifies author metadata, not feature responsibility or a PR merger. (role: source-line author; confidence: medium; commits: 386b12ba9c1c; files: ui/src/e2e/session-management.created-sort.e2e.test.ts)

PR surface

Tests +11. Total +11 across 6 files. Added test files: 1.

View PR surface stats
Area Files Added Removed Net
Source 0 0 0 0
Tests 6 35 24 +11
Docs 0 0 0 0
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 6 35 24 +11

Labels

Label changes:

  • add P3: This repairs browser coverage and fixture fidelity without changing shipped product behavior.
  • add rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

Label justifications:

  • P3: This repairs browser coverage and fixture fidelity without changing shipped product behavior.
  • rating: 🦐 gold shrimp: Overall readiness is 🦐 gold shrimp; proof is 🦐 gold shrimp and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR.

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 28, 2026, 9:34 AM ET / 13:34 UTC.

@shakkernerd
shakkernerd merged commit c3feca3 into main Oct 28, 2026
113 checks passed
@shakkernerd
shakkernerd deleted the sidebar-pagination-e2e branch October 28, 2026 14:05
@shakkernerd

Copy link
Copy Markdown
Contributor Author

Fixed: sidebar browser tests retain scrolling, resizing, dismissal, ordering, and full-page retention coverage with the current pagination windows.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 29, 2026
…law#186772)

Restore sidebar browser fixtures to the accepted pagination windows while retaining scrolling, resizing, dismissal, ordering, and full-page retention checks.

Refs openclaw#186715, openclaw#186749.
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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. size: S status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant