Skip to content

fix(ui): restore Incognito update recovery settings coverage - #192005

Closed
roboclaw-bot wants to merge 1 commit into
mainfrom
main-ci/l281-update-settings-heading
Closed

roboclaw-bot wants to merge 1 commit into
mainfrom
main-ci/l281-update-settings-heading

Conversation

@roboclaw-bot

@roboclaw-bot roboclaw-bot commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

The Incognito draft update-recovery E2E scenario times out in Settings after #191303 renamed the Appearance section.

Related: #191303. CI failure: https://github.com/openclaw/openclaw/actions/runs/41653621604/job/125978618796

User Impact

Restores coverage of private-draft protection during updates. No product behavior changes.

Why This Change Was Made

Wait for the current “Language and text” heading. All update-recovery and draft-protection assertions remain intact. Production delta: zero; test delta: one replaced line, zero net lines; no new machinery or baseline changes.

Evidence

  • Exact failed check-run annotation and improve(ui): reorganize the Appearance page #191303 source identify the stale selector.
  • Focused oxlint, oxfmt, git diff --check and the local diff baseline audit pass (unchanged suppression, timeout-race and mock-factory counts; zero test-line growth).
  • Autoreview (Codex), base 9d542b5, one-line local snapshot later committed unchanged: scoped-clean P0–P2.
  • Exact-head PR CI run 41662082701: browser job 126008798572 and full checks-fast-baseline-ratchets job 126008799579 passed. This production Gateway host forbids browser execution and broad checks; queued Testbox allocation was stopped before execution. No workflow rerun, timeout change, skip or weakened assertion.

Current CI blockers: unchanged unit tests in sessions-page.route-retirement.test.tsx (stale About hero selector after #191289) and chat-view.test.ts (missing thinking slider). Browser shard 126008798572 passed. These unit modules and their production paths are outside this one-line E2E diff; no admin bypass or rerun requested.

Upstream ownership update: Vincent Koc fixed the About route selector on main in f13464d. This completed PR run remains red; the chat thinking-slider failure is separately recorded. No duplicate About repair or check rerun requested.

Follow the Language and text heading introduced by #191303 while preserving the private-draft update recovery assertions.

Co-authored-by: steipete <[email protected]>
@clawsweeper

clawsweeper Bot commented Nov 3, 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.

@roboclaw-bot
roboclaw-bot enabled auto-merge (squash) November 3, 2026 15:25
@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 Nov 3, 2026
@clawsweeper

clawsweeper Bot commented Nov 3, 2026

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge.

What this changes

Updates the Incognito recovery test to wait for the renamed “Language and text” Settings heading.

Example: The Incognito New Session update-recovery test navigates to Settings → Appearance.

  • Before: Waiting for “Typography” times out before draft recovery is exercised.
  • After: The test waits for “Language and text” and proceeds to the existing recovery assertions.

Review scores

Measure Result What it means
Overall readiness 🦐 gold shrimp (3/6) The narrow repair is source-verified and matches a recorded CI failure, but a passing execution of the specific repaired scenario was not verified.
Proof confidence 🦐 gold shrimp (3/6) This maintainer-authored, test-only repair changes no production behavior; the inspected linked screenshots establish the heading rename but do not demonstrate update recovery.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Product

Kind: Test only · Worth it: Yes · Fix scope: Complete
User problem: A stale Settings selector prevents automated verification of private-draft recovery during updates.
Reason: Maintainer authorship establishes direction, and the focused correction restores meaningful existing coverage without production changes.

Regression provenance

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

Merge readiness

✅ Ready for maintainer review

Keep open: this maintainer-authored PR makes the smallest correct repair to a confirmed stale test selector, without weakening draft-protection assertions.

Priority: P3
Reviewed head: a195b06a476d2935f3f904c94743163d0c56399c

Before merge

None.

Findings

None.

Tests

  • Missing end-to-end proof: A passing run of the repaired Settings variant was not independently verified; the linked CI failure establishes the pre-fix failure.
Agent review details

How this fits together

The browser E2E suite drives the Control UI with a mock Gateway, stages private text and an attachment, and checks their recovery during an update.

flowchart TD
  A[Browser E2E scenario] --> B[Incognito New Session draft]
  B --> C[Settings Appearance navigation]
  C --> D[Language and text heading]
  D --> E[Injected stale build response]
  E --> F[Draft recovery assertions]
Loading

Technical review

Best possible solution:

Retain this selector correction and land it after the required checks pass.

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

The failed CI annotation and the renamed renderer establish the exact selector failure; no target code was executed during this read-only review.

Is this the best way to solve the issue?

This is the smallest complete fix: update the existing navigation wait while preserving every recovery assertion and the existing test owner.

AGENTS.md: found and applied where relevant.

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

Provenance checked

  • Settings-retained Incognito recovery test keeps the original intent (62ec66d: Exercise private-draft protection after navigating away from New Session into Settings.)

Testing

Proof path: none.

Security

None.

Evidence

What I checked:

PR surface

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

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

Labels

Label changes:

  • add P3: This restores existing automated coverage without changing shipped 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 restores existing automated coverage without changing shipped 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 November 3, 2026, 10:29 AM ET / 15:29 UTC.

steipete added a commit that referenced this pull request Nov 3, 2026
Reconcile 516 inherited test lines on main 92a9b67 and exactly 25 lines required to restore existing browser proof. Scalar 6323285 plus unchanged allocations 114888 equals 6438173 with zero headroom. Preserve the separate 49-line retirement allocation.

Repair stale dialog, build-facts, heading and explicit credential-save flows without changing runtime behavior or dropping assertions. Incognito readiness matches the existing correction proposed in #192005.
steipete added a commit that referenced this pull request Nov 3, 2026
Reconcile 516 inherited test lines on main 92a9b67 and exactly 25 lines required to restore existing browser proof. Scalar 6323285 plus unchanged allocations 114888 equals 6438173 with zero headroom. Preserve the separate 49-line retirement allocation.

Repair stale dialog, build-facts, heading and explicit credential-save flows without changing runtime behavior or dropping assertions. Incognito readiness matches the existing correction proposed in #192005.
steipete added a commit that referenced this pull request Nov 3, 2026
Reconcile 516 inherited test lines on main 92a9b67 and exactly 25 lines required to restore existing browser proof. Scalar 6323285 plus unchanged allocations 114888 equals 6438173 with zero headroom. Preserve the separate 49-line retirement allocation.

Repair stale dialog, build-facts, heading and explicit credential-save flows without changing runtime behavior or dropping assertions. Incognito readiness matches the existing correction proposed in #192005.
steipete added a commit that referenced this pull request Nov 3, 2026
Reconcile 516 inherited test lines on main 92a9b67 and exactly 25 lines required to restore existing browser proof. Scalar 6323285 plus unchanged allocations 114888 equals 6438173 with zero headroom. Preserve the separate 49-line retirement allocation.

Repair stale dialog, build-facts, heading and explicit credential-save flows without changing runtime behavior or dropping assertions. Incognito readiness matches the existing correction proposed in #192005.
steipete added a commit that referenced this pull request Nov 3, 2026
Reconcile 516 inherited test lines on main 92a9b67 and exactly 25 lines required to restore existing browser proof. Scalar 6323285 plus unchanged allocations 114888 equals 6438173 with zero headroom. Preserve the separate 49-line retirement allocation.

Repair stale dialog, build-facts, heading and explicit credential-save flows without changing runtime behavior or dropping assertions. Incognito readiness matches the existing correction proposed in #192005.
steipete added a commit that referenced this pull request Nov 3, 2026
…92026)

* fix(ci): reconcile exact test budget and browser fixtures

Reconcile 516 inherited test lines on main 92a9b67 and exactly 25 lines required to restore existing browser proof. Scalar 6323285 plus unchanged allocations 114888 equals 6438173 with zero headroom. Preserve the separate 49-line retirement allocation.

Repair stale dialog, build-facts, heading and explicit credential-save flows without changing runtime behavior or dropping assertions. Incognito readiness matches the existing correction proposed in #192005.

* fix(ci): reconcile exact test ceiling after main consolidation

Main 4b3a25c has 6439550 test LF lines and a 6440213 ceiling after upstream reconciliation and consolidation. Lower the shared scalar by exactly 663 to 6324566; allocate the browser fixture repair 25 lines separately. Final effective ceiling is exactly 6439575 with zero spare capacity. Retirement attribution retains its separate 49-line allocation.

* fix(ci): keep exact budget after upstream browser repairs

Retain upstream Unicode, credential, Incognito and secrets fixes; only the skill dialog geometry and update-triage selectors remain. Main 72b1c6d has 6440384 test LF and 481 spare ceiling lines. Lower scalar to 6324748 and allocate exactly eight remaining test lines. Final total and ceiling are both 6440392, zero slack.

* test(ui): follow sentence-case labels in save coverage

Repair six inherited failures introduced by #191352. Keep stored configuration values and every save, conflict, reconnect, and sentinel assertion unchanged. No test-line growth.

* test(ui): follow native channel selects after main integration

Retain upstream dialog repairs and exact test budget: scalar6324840 plus115707 allocations equals6440547 tracked test lines. Nine fixture lines are separately allocated; retirement attribution remains separately funded.

* fix(ci): reconcile exact ceiling against current main

Current main37f6f4ec has6440886 test lines and129 spare ceiling lines. Scalar6325100 plus115795 allocated lines equals6440895 with the separately funded nine fixture lines; zero slack.

* test(ui): await lazy modules before DOM assertions

* fix(ci): pin test ceiling to fresh main total
@roboclaw-bot

Copy link
Copy Markdown
Collaborator Author

Superseded on main by ba05b16, which contains the identical Appearance heading change to Language and text. Closing this duplicate and deleting its branch.

auto-merge was automatically disabled November 3, 2026 20:54

Pull request was closed

@roboclaw-bot
roboclaw-bot deleted the main-ci/l281-update-settings-heading branch November 3, 2026 20:55
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Nov 4, 2026
…enclaw#192026)

* fix(ci): reconcile exact test budget and browser fixtures

Reconcile 516 inherited test lines on main 73cd9ae and exactly 25 lines required to restore existing browser proof. Scalar 6323285 plus unchanged allocations 114888 equals 6438173 with zero headroom. Preserve the separate 49-line retirement allocation.

Repair stale dialog, build-facts, heading and explicit credential-save flows without changing runtime behavior or dropping assertions. Incognito readiness matches the existing correction proposed in openclaw#192005.

* fix(ci): reconcile exact test ceiling after main consolidation

Main 315fcc7 has 6439550 test LF lines and a 6440213 ceiling after upstream reconciliation and consolidation. Lower the shared scalar by exactly 663 to 6324566; allocate the browser fixture repair 25 lines separately. Final effective ceiling is exactly 6439575 with zero spare capacity. Retirement attribution retains its separate 49-line allocation.

* fix(ci): keep exact budget after upstream browser repairs

Retain upstream Unicode, credential, Incognito and secrets fixes; only the skill dialog geometry and update-triage selectors remain. Main 0238481 has 6440384 test LF and 481 spare ceiling lines. Lower scalar to 6324748 and allocate exactly eight remaining test lines. Final total and ceiling are both 6440392, zero slack.

* test(ui): follow sentence-case labels in save coverage

Repair six inherited failures introduced by openclaw#191352. Keep stored configuration values and every save, conflict, reconnect, and sentinel assertion unchanged. No test-line growth.

* test(ui): follow native channel selects after main integration

Retain upstream dialog repairs and exact test budget: scalar6324840 plus115707 allocations equals6440547 tracked test lines. Nine fixture lines are separately allocated; retirement attribution remains separately funded.

* fix(ci): reconcile exact ceiling against current main

Current main37f6f4ec has6440886 test lines and129 spare ceiling lines. Scalar6325100 plus115795 allocated lines equals6440895 with the separately funded nine fixture lines; zero slack.

* test(ui): await lazy modules before DOM assertions

* fix(ci): pin test ceiling to fresh main total
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: 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