Skip to content

test(ui): await collaborator smooth follow - #166285

Merged
RomneyDa merged 1 commit into
release/2026.9.9from
fix/release-2026.9.9-scroll-proof-sync
Oct 6, 2026
Merged

RomneyDa merged 1 commit into
release/2026.9.9from
fix/release-2026.9.9-scroll-proof-sync

Conversation

@RomneyDa

@RomneyDa RomneyDa commented Oct 6, 2026

Copy link
Copy Markdown
Member

Problem

Full Release Validation's real-Gateway collaborator scroll test sampled smooth end-follow at the start of its animation. The browser evidence showed an unlocked follow policy and distance subsequently reaching zero, but the assertion could run before the animation began or before it settled.

Solution

Synchronize the fixture on the observable contract: when the transcript is away from the end, require distance to decrease within the existing poll bound, then use the existing idle detector and verify the final end position. This does not extend timeouts or weaken the follow assertion.

Evidence

  • Pre-fix exact release-head run reproduced 1125 <= 8 and 278 <= 8 failures.
  • Captured browser frames showed locked: false and the same smooth animation reaching distance 0.
  • Post-fix exact real-Gateway suite passed 1/1 in 58.76s across reading, tail, typed-reading, and typed-tail scenarios.
  • git diff --check
  • node scripts/check-changed.mjs is not a valid release-branch check: it compares the full frozen release delta against origin/main and reports unrelated line-cap growth in files this PR does not touch.
  • Codex autoreview through P1: scoped clean.

@clawsweeper

clawsweeper Bot commented Oct 6, 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 P3 Low-priority cleanup, docs, polish, ergonomics, or speculative work. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. status: 👀 ready for maintainer look ClawSweeper has no concrete contributor-facing blocker left for this PR. labels Oct 6, 2026
@clawsweeper

clawsweeper Bot commented Oct 6, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed October 6, 2026, 4:40 PM ET / 20:40 UTC.

ClawSweeper review

What this changes

The PR makes the real-Gateway collaborator chat test wait for scrolling to begin and settle before asserting that the transcript reached its end.

Merge readiness

✅ Ready for maintainer review

Keep open: this focused release-branch test repair remains useful, and current main retains the older synchronization. No introduced correctness defect was found; MEMBER-authored work is also protected from automatic closure.

Priority: P3
Reviewed head: c601fb4b19848e2f197a09884d0854c85ad966b1

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) A focused fixture repair preserves meaningful browser assertions and has relevant reported validation, with no actionable introduced defect found.
Proof confidence 🌊 off-meta tidepool Not applicable: The external-contributor proof gate does not apply to this MEMBER-authored test repair. Its reported real-browser run exercises the changed collaborator-scroll assertions through the real Gateway; no production owner or stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Not applicable Not applicable: The external-contributor proof gate does not apply to this MEMBER-authored test repair. Its reported real-browser run exercises the changed collaborator-scroll assertions through the real Gateway; no production owner or stored-data contract changes.
Evidence reviewed 8 items Introduced synchronization change: The pinned introduction delta adds movement-before-idle synchronization at two existing assertions. It preserves the final distance threshold of 8 pixels and does not change production code, authentication, dependencies, or stored state.
Existing idle detector: The reused detector observes scroll events and stable geometry over 180 milliseconds plus two animation frames, within its existing 10-second bound. Waiting for movement first addresses the documented risk of sampling before smooth scrolling starts.
Production scrolling contract: The production owner schedules scrolling after rendering and animation frames, supports smooth movement, and defines an 8-pixel settled-end threshold. The patch measures this existing contract rather than introducing another scrolling implementation.
Findings None None.
Security None None.

How this fits together

The Control UI receives streamed messages from the Gateway and follows them unless the reader has taken control of scrolling. This browser test exercises that behavior with two authenticated collaborators and a local inference fixture.

flowchart LR
  A[Two browser collaborators] --> B[Real Gateway]
  C[Local inference fixture] --> B
  B --> D[Streaming chat transcript]
  D --> E[Reader scroll policy]
  E --> F[Scroll movement and idle detection]
  F --> G[End position assertion]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Tests +2. Total +2 across 1 file.

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

Review metrics

Metric Value Why it matters
Reported boundary-test runtime 58.76 seconds for the after-fix suite The measured cost is documented, and this expensive real-browser contract is already routed to release-only coverage.

Technical review

Best possible solution:

Keep the fixture synchronized with observable scroll progress and settlement while preserving the reader-intent and final-position checks.

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

Yes, the existing real-Gateway collaborator suite is a concrete reproduction path, and the PR reports pre-fix failures there. This review inspected the timing mechanism but did not execute it.

Is this the best way to solve the issue?

Yes: waiting for observable movement before reusing the idle detector is a focused fixture repair that retains the final 8-pixel assertion.

AGENTS.md: found and applied where relevant.

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

Labels

Label changes:

  • add P3: This is a focused test-synchronization repair with no production behavior change.
  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The external-contributor proof gate does not apply to this MEMBER-authored test repair. Its reported real-browser run exercises the changed collaborator-scroll assertions through the real Gateway; no production owner or stored-data contract changes.

Label justifications:

  • P3: This is a focused test-synchronization repair with no production behavior change.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🌊 off-meta tidepool and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Not applicable: The external-contributor proof gate does not apply to this MEMBER-authored test repair. Its reported real-browser run exercises the changed collaborator-scroll assertions through the real Gateway; no production owner or stored-data contract changes.

Evidence

What I checked:

  • Introduced synchronization change: The pinned introduction delta adds movement-before-idle synchronization at two existing assertions. It preserves the final distance threshold of 8 pixels and does not change production code, authentication, dependencies, or stored state. (ui/src/e2e/chat-collaborator-scroll.real-gateway.e2e.test.ts:302, c601fb4b1984)
  • Existing idle detector: The reused detector observes scroll events and stable geometry over 180 milliseconds plus two animation frames, within its existing 10-second bound. Waiting for movement first addresses the documented risk of sampling before smooth scrolling starts. (ui/src/e2e/chat-flow.test-support.ts:145, c601fb4b1984)
  • Production scrolling contract: The production owner schedules scrolling after rendering and animation frames, supports smooth movement, and defines an 8-pixel settled-end threshold. The patch measures this existing contract rather than introducing another scrolling implementation. (ui/src/pages/chat/scroll.ts:8, c601fb4b1984)
  • Current-main necessity: Comparison with fetched main shows that main still uses the older idle-then-position assertions. Other endpoint differences, including profile imports and invitation storage keys, are base drift and are not attributed to this PR. (ui/src/e2e/chat-collaborator-scroll.real-gateway.e2e.test.ts:488, 660556970ac3)
  • Reported boundary validation: The captured PR body reports pre-fix distances of 1125 and 278 pixels, browser frames subsequently reaching zero with follow unlocked, and an after-fix real-Gateway suite passing in 58.76 seconds across four reader modes. These are author-reported observations; this read-only review did not rerun the suite. (c601fb4b1984)
  • Release-only test routing: The collaborator-scroll real-Gateway file is explicitly included in the release-only UI test set, supporting its role as expensive browser boundary coverage. (scripts/lib/ci-node-test-plan.mts:1586, c601fb4b1984)

Likely related people:

  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)

Rating scale

Score Internal tier Crab rank Meaning
6/6 S 🦀 challenger crab Exceptional readiness
5/6 A 🦞 diamond lobster Very strong readiness
4/6 B 🐚 platinum hermit Good normal PR; ordinary maintainer review
3/6 C 🦐 gold shrimp Useful, but confidence is limited
2/6 D 🦪 silver shellfish Proof or implementation needs work
1/6 F 🧂 unranked krab Not merge-ready
N/A NA 🌊 off-meta tidepool Rating does not apply

Overall follows the weaker of proof and patch quality.
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.

Workflow

  • ClawSweeper keeps one durable marker-backed review comment per issue or PR.
  • Re-runs edit this comment so the latest verdict, findings, and automation markers stay together instead of adding duplicate bot comments.
  • A fresh review can be triggered by eligible @clawsweeper re-review comments, exact-item GitHub events, scheduled/background review runs, or manual workflow dispatch.
  • PR/issue authors and users with repository write access can comment @clawsweeper re-review or @clawsweeper re-run on an open PR or issue to request a fresh review only.
  • Maintainers can also comment @clawsweeper review to request a fresh review only.
  • Fresh-review commands do not start repair, autofix, rebase, CI repair, or automerge.
  • Maintainer-only repair and merge flows require explicit commands such as @clawsweeper autofix, @clawsweeper automerge, @clawsweeper fix ci, or @clawsweeper address review.
  • Maintainers can comment @clawsweeper explain to ask for more context, or @clawsweeper stop to stop active automation.

@RomneyDa
RomneyDa merged commit 90abf6a into release/2026.9.9 Oct 6, 2026
55 of 80 checks passed
@RomneyDa
RomneyDa deleted the fix/release-2026.9.9-scroll-proof-sync branch October 6, 2026 20:42
NerQuiLes pushed a commit to Xtampa-AI/openclaw that referenced this pull request Oct 11, 2026
Audit all 253 September-only commits against da0cbcc. Port only
applicable fixes and final companions, preserving October owners and
shipped upgrade contracts. Exclude September-specific waivers, schema
rollback, dependency changes, and credential-absence pass conditions.

Adapt retained ACP archive receipts without reopening retired custody;
retain SDK1.30.1 issuer fencing and explicit re-registration; exclude
standalone worker copies from beta.2 updater compatibility bridges.
Report settled Doctor release failures before the no-config early return.

Sources below are whole backports or scoped repair selections:

fix(discord): keep health inspection from blocking Gateway connections (openclaw#166736)
Source-commit: dc26366

fix: avoid foreign-listener race in Gateway acquisition proof (openclaw#166883)
Source-commit: bd0b97d

fix(ci): admit workspace package tests in Windows replay (openclaw#166895)
Source-commit: 9bc88a6

fix(release): restore beta.2 updater inventory and Podman control (openclaw#166872)
Source-commit: e203c64

fix(copilot): plugin tool calls fail from the second turn of a session (openclaw#164598)
Source-commit: c6e5ae8

fix(test): await WhatsApp inbound drain (openclaw#165842)
Source-commit: 05170cd

fix(qa-lab): keep SUT CLI in isolated launcher
Source-commit: 6681bcd

test(qa-lab): assert resolved companion CLI cwd
Source-commit: a60b458

fix(release): accept candidate-owned child evidence (openclaw#165357)
Source-commit: 500c95a

fix(acp): migrate metadata from retained sessions
Source-commit: 16398dc

fix(release): isolate first-hop service containment (openclaw#164898)
Source-commit: 85124fe

fix(release): isolate upgrade survivor scenarios (openclaw#165007)
Source-commit: aad828f

test(release): expect isolated survivor scenarios (openclaw#165009)
Source-commit: 02e7f91

fix(release): split restart auth validation (openclaw#165048)
Source-commit: 6160d9f

test: serialize PowerShell completion process suites (openclaw#166229)
Source-commit: 320e52b

fix(update): settle only this Doctor's commands in managed custody (openclaw#164868)
Source-commit: bdb44e2

fix(claude-cli): replies hang until the run times out when a background agent runs Bash (openclaw#165596)
Source-commit: 889611b

fix(whatsapp): synchronize shutdown test with durable admission (openclaw#166531)
Source-commit: 1f576e4

fix: prevent heartbeat live replies from abbreviating markers (openclaw#166777)
Source-commit: c4ed37e

fix(ci): keep full release validation within measured budgets (openclaw#166774)
Source-commit: 471f950

improve(ci): reuse Watch cache and expose shared scan build progress (openclaw#166498)
Source-commit: 66d898f

fix(e2e): normalize registry helper image modes (openclaw#163188)
Source-commit: 1a09bec

fix: MiniMax live validation misses Code Mode file reads (openclaw#163619)
Source-commit: fc23bc8

fix(test): read canonical ACP upgrade metadata
Source-commit: 46c8dd2

fix(qa): remove unavailable Telegram emoji fixture (openclaw#164956)
Source-commit: e785c56

fix(release): reconcile full validation regressions (openclaw#166200)
Source-commit: a3e349e

fix(release): unblock stable validation evidence (openclaw#166315)
Source-commit: 5ac0f82

fix(release): unblock 2026.9.9 full qualification (openclaw#166341)
Source-commit: 8aa6d7c

test(irc): await owned monitor signals (openclaw#163180)
Source-commit: 429ea8c

fix(release): unblock 2026.9.9 full validation (round 4) (openclaw#166485)
Source-commit: ccb390b

fix(release): repair Doctor teardown and FRV evidence recovery
Source-commit: 5d7fa8e

fix(release): bound FRV job reads and normalize ghost evidence
Source-commit: 1854d41

test(release): align priority fixture with bounded job pages
Source-commit: 4fd4fcc

fix(test): keep MCP validation connected after automatic pairing approval (openclaw#166849)
Source-commit: 0979efd

fix(release): address 2026.9.9 validation failures and retain diagnostics (openclaw#166962)
Source-commit: a024875

fix(release): repair fleet and CLI validation fixtures (openclaw#166977)
Source-commit: b899f42

fix: keep 2026.9.9 upgrades on state schema 19 (openclaw#166959)
Source-commit: bcfc888

fix(ui): keep passive chat viewers following incoming turns
Source-commit: 6d9689d

fix(doctor): commit transcript archive migration progress per batch and honor interruption (openclaw#165837)
Source-commit: 3a085ea

fix(doctor): restore release repair settlement
Source-commit: fab3a66

fix(release): reconcile FRV backports
Source-commit: 0c01cc6

fix(ui): refresh end geometry during interaction (openclaw#166239)
Source-commit: 5b71763

fix(ui): preserve follow intent across content growth (openclaw#166258)
Source-commit: ffcdd4d

fix(ui): gate content follow on height changes (openclaw#166301)
Source-commit: 4964263

fix(release): preserve gateway fixture close callback (openclaw#166348)
Source-commit: 64ad20a

test(ui): await collaborator smooth follow (openclaw#166285)
Source-commit: 90abf6a

Co-authored-by: Eric Curtin <[email protected]>
Co-authored-by: Ayaan Zaidi <[email protected]>
Co-authored-by: Peter Steinberger <[email protected]>
Co-authored-by: Abdel Gomez-Perez <[email protected]>
Co-authored-by: Patrick Erichsen <[email protected]>
Co-authored-by: Vincent Koc <[email protected]>
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: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. size: XS 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