Skip to content

fix: keep model pickers usable during provider sign-in - #158132

Merged
obviyus merged 3 commits into
mainfrom
fix/picker-keeps-rows-during-sign-in
Sep 25, 2026
Merged

obviyus merged 3 commits into
mainfrom
fix/picker-keeps-rows-during-sign-in

Conversation

@obviyus

@obviyus obviyus commented Sep 25, 2026 •

Copy link
Copy Markdown
Collaborator

What Problem This Solves

Fixes: signing in to a provider briefly empties an already-open model picker and replaces its choices with “Loading models…” or “Checking models...”.

User Impact

Existing choices stay visible and usable in Control UI chat, New Session, and the terminal picker while provider discovery refreshes. Changes to model restrictions, operator roles, or catalog mode still retire the previous choices. This does not change how soon a newly connected provider's models are discovered.

Why This Change Was Made

Every config commit previously retired model choices, including the auth/provider config written during sign-in. The Gateway now compares selection policies before sending the existing retirement signal. The web and terminal catalog caches treat ordinary config notifications as refreshes; explicit selection-policy changes still clear them.

The comparison reuses the model visibility and operator-policy preparation owners. No protocol, configuration, or persistence changes are required.

Evidence

Built baseline and candidate Gateways used isolated state and a task-owned provider whose HTTP model listing was held for eight seconds. The sign-in action was Settings → Connect provider → API key → Save, with chat and New Session pickers already open.

  • Baseline: the open chat picker lost its choices and displayed the blocking loading state; the captured transition began 309 ms after Save.
  • Candidate: neither web picker displayed “Loading models…”. The terminal PTY capture contained no “Checking models...” frame while sign-in and discovery ran. Existing choices remained visible, and discovered models appeared after publication.
  • The held-catalog web regression fails against the original invalidation behavior because its current model list becomes empty, and passes with the fix (four tests in that file; 3.52 s wall time).
  • Scoped lifecycle, terminal, and web suites: 65 tests passed; 34.50 s wall time. Permission-retirement assertions remain covered, including a real allowlist change after an auth-only config commit.
  • Review found older config-event expectations in chat, New Session, and command-palette tests. Those now expect retention; explicit policy-change and connection/identity retirement cases remain intact. All 110 tests in those three files passed (18.65 s wall time including the requested changed-lane dry run).
  • The existing operator-model-policy reload regression passed unchanged. The first CI run caught the obsolete UI expectations (UI shard: 230.38 s); they were corrected rather than rerun unchanged.
  • Catalog-mode coverage now verifies unrestricted merge-to-replace retirement while metadata is held. The added assertion failed before the comparison fix; all 65 lifecycle/web/terminal tests passed afterward (32.58 s). A built Gateway config.patch smoke observed modelSelectionChanged: true on that transition.
  • No real provider inference or paid API calls were made. This PR addresses retention of existing choices, not immediate publication of new provider rows.

Before (blocking state; dark theme):

Open picker replaced by Loading models during sign-in

After (existing provider choices remain available; light theme):

Open picker retains existing choices while discovery refreshes

@clawsweeper

clawsweeper Bot commented Sep 25, 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.

@openclaw-barnacle openclaw-barnacle Bot added docs Improvements or additions to documentation app: web-ui App: web-ui gateway Gateway runtime size: S labels Sep 25, 2026
@obviyus
obviyus marked this pull request as ready for review September 25, 2026 13:22
@clawsweeper clawsweeper Bot added P2 Normal backlog priority with limited blast radius. proof: sufficient ClawSweeper judged the real behavior proof convincing. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. 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. labels Sep 25, 2026
@clawsweeper

clawsweeper Bot commented Sep 25, 2026 •

Copy link
Copy Markdown
Contributor

Codex review: needs maintainer review before merge. Reviewed September 25, 2026, 10:27 AM ET / 14:27 UTC (Revision 3).

ClawSweeper review

What this changes

The branch changes Gateway model-selection notifications so Control UI and terminal pickers retain existing choices during provider sign-in refreshes, and updates documentation and regression tests.

Merge readiness

✅ Ready for maintainer review

Current main still clears an open model picker during provider sign-in. The latest branch addresses that behavior, and its catalog-mode, documentation, and test changes resolve the concrete findings from the prior review. No introduced blocking defect was established.

Priority: P2
Reviewed head: 9170d80a9f8606017da1a1143ec95d4130fe93c4

Review scores

Measure Result What it means
Overall readiness 🐚 platinum hermit (4/6) Direct visual proof and focused policy-retirement coverage support a good patch, including the previously missed catalog-mode transition.
Proof confidence 🦞 diamond lobster (5/6) ✨ media proof bonus Sufficient (screenshot): The changed Gateway notifier and web/terminal caches were assessed against the PR's built-Gateway sign-in scenario with delayed provider discovery. Inspected before/after images show the chat picker changing from a blocking loading state to retained choices with a refresh spinner; the PR also reports a terminal PTY observation. No stored-data contract changes.
Patch quality 🐚 platinum hermit (4/6) No actionable review findings were identified.

Verification

Check Result Evidence
Real behavior Verified Sufficient (screenshot): The changed Gateway notifier and web/terminal caches were assessed against the PR's built-Gateway sign-in scenario with delayed provider discovery. Inspected before/after images show the chat picker changing from a blocking loading state to retained choices with a refresh spinner; the PR also reports a terminal PTY observation. No stored-data contract changes.
Evidence reviewed 9 items Existing behavior contract: Current-main documentation says existing models stay usable while account-model discovery runs after sign-in.
Current-main defect: The Gateway sends a selection-retirement signal for every committed config change, and the web cache clears on every config.changed event.
Current-main web invalidation: A config.changed event currently clears the model catalog cache rather than refreshing it while retaining display rows.
Findings None None.
Security None None.

How this fits together

The Gateway publishes model catalogs and selection-policy changes after provider and configuration updates. Control UI and terminal clients cache those results to populate chat and New Session model pickers.

flowchart LR
A[Provider sign-in or config update] --> B[Gateway policy comparison]
B --> C[Selection change signal]
B --> D[Catalog refresh]
C --> E[Web and terminal caches]
D --> E
E --> F[Model pickers]
Loading

Before merge

None.

Agent review details

Security

None.

PR surface

Source +64, Tests +38, Docs +2. Total +104 across 11 files.

View PR surface stats
Area Files Added Removed Net
Source 4 70 6 +64
Tests 6 46 8 +38
Docs 1 4 2 +2
Config 0 0 0 0
Generated 0 0 0 0
Other 0 0 0 0
Total 11 120 16 +104

Review metrics

None.

Technical review

Best possible solution:

Keep selection-policy retirement owned by the Gateway and let each client refresh ordinary catalog changes while preserving its last usable choices.

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

Yes. The supplied baseline capture shows the loading state, and current-main Gateway and cache code provide a concrete path through Settings → Connect provider → API key → Save while discovery is delayed.

Is this the best way to solve the issue?

Yes. The Gateway determines whether selection policy changed, while web and terminal caches retain rows for ordinary refresh notices and clear them for an explicit retirement signal.

AGENTS.md: found and applied where relevant.

Codex review notes: model internal, reasoning high; reviewed against bdbe64d019ec.

Labels

Label changes:

  • add rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • add status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): The changed Gateway notifier and web/terminal caches were assessed against the PR's built-Gateway sign-in scenario with delayed provider discovery. Inspected before/after images show the chat picker changing from a blocking loading state to retained choices with a refresh spinner; the PR also reports a terminal PTY observation. No stored-data contract changes.
  • remove rating: 🦐 gold shrimp: Current PR rating is rating: 🐚 platinum hermit, so this older rating label is no longer current.
  • remove merge-risk: 🚨 compatibility: Current PR review selected no merge-risk labels.
  • remove status: ⏳ waiting on author: Current PR status label is status: 👀 ready for maintainer look.

Label justifications:

  • P2: Provider sign-in temporarily disrupts an existing model picker, but the user can continue after discovery completes.
  • rating: 🐚 platinum hermit: Overall readiness is 🐚 platinum hermit; proof is 🦞 diamond lobster and patch quality is 🐚 platinum hermit.
  • status: 👀 ready for maintainer look: ClawSweeper has no concrete contributor-facing blocker left for this PR. Sufficient (screenshot): The changed Gateway notifier and web/terminal caches were assessed against the PR's built-Gateway sign-in scenario with delayed provider discovery. Inspected before/after images show the chat picker changing from a blocking loading state to retained choices with a refresh spinner; the PR also reports a terminal PTY observation. No stored-data contract changes.
  • proof: sufficient: Contributor real behavior proof is sufficient. The changed Gateway notifier and web/terminal caches were assessed against the PR's built-Gateway sign-in scenario with delayed provider discovery. Inspected before/after images show the chat picker changing from a blocking loading state to retained choices with a refresh spinner; the PR also reports a terminal PTY observation. No stored-data contract changes.
  • proof: 📸 screenshot: Contributor real behavior proof includes screenshot evidence. The changed Gateway notifier and web/terminal caches were assessed against the PR's built-Gateway sign-in scenario with delayed provider discovery. Inspected before/after images show the chat picker changing from a blocking loading state to retained choices with a refresh spinner; the PR also reports a terminal PTY observation. No stored-data contract changes.

Evidence

What I checked:

  • Existing behavior contract: Current-main documentation says existing models stay usable while account-model discovery runs after sign-in. Public docs: docs/concepts/models.md. (docs/concepts/models.md:130, bdbe64d019ec)
  • Current-main defect: The Gateway sends a selection-retirement signal for every committed config change, and the web cache clears on every config.changed event. (src/gateway/server-chat-metadata-lifecycle.ts:161, bdbe64d019ec)
  • Current-main web invalidation: A config.changed event currently clears the model catalog cache rather than refreshing it while retaining display rows. (ui/src/lib/model-catalog-cache.ts:29, bdbe64d019ec)
  • Introduced policy distinction: The branch compares catalog mode, role definitions, role-model membership, and agent visibility before deciding whether cached choices must be retired. (src/gateway/operator-model-presentation.ts:31, 9170d80a9f86)
  • Prior findings addressed: The newest test covers unrestricted merge-to-replace retirement after an auth-only change; the docs now distinguish policy changes from ordinary sign-in refreshes. Earlier config-event expectations were also updated. (src/gateway/server-chat-metadata-lifecycle.test.ts:158, 9170d80a9f86)
  • Inspected visual proof: Both prepared PR images were inspected: the before image shows an open chat picker replaced by “Loading models…”, and the after image shows an existing Fixture choice alongside the refresh spinner. The PR body describes built baseline and candidate Gateways with an eight-second delayed provider listing; the terminal PTY result is reported there but has no separate linked capture.

Likely related people:

  • Peter Steinberger: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • Shakker: Suggested for follow-up; no historical authorship or introduction is verified. (role: unverified routing candidate; confidence: low)
  • obviyus: 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.

History

Review history (2 earlier review cycles)
  • reviewed 2026-09-25T13:29:47.947Z sha 5b4707c :: needs changes before merge. :: [P2] Update the existing config-event regression cases
  • reviewed 2026-09-25T13:47:18.136Z sha ce5b6d0 :: blocked before merge. :: [P2] Retire choices when catalog mode changes | [P3] Qualify the adjacent configuration-change guidance

@clawsweeper clawsweeper Bot added the merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. label Sep 25, 2026
@clawsweeper clawsweeper Bot added 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. and removed rating: 🦐 gold shrimp Decent PR readiness signal, but merge confidence is limited. merge-risk: 🚨 compatibility 🚨 May break existing users, config, migrations, defaults, or upgrade paths. status: ⏳ waiting on author ClawSweeper has contributor-facing work open and is waiting for author action. labels Sep 25, 2026
@obviyus
obviyus merged commit 9e5c2e2 into main Sep 25, 2026
232 of 234 checks passed
@obviyus
obviyus deleted the fix/picker-keeps-rows-during-sign-in branch September 25, 2026 14:39
@obviyus

obviyus commented Sep 25, 2026

Copy link
Copy Markdown
Collaborator Author

Landed as 9e5c2e2. Provider sign-in now retains existing choices in open web and terminal model pickers; restriction and catalog-mode changes still retire them. Built held-listing captures, the failing-before/passing-after regression, green CI, and exact-head review support the fix. Thanks for the clear reproduction.

vincentkoc added a commit that referenced this pull request Sep 25, 2026
* commit '54b5f23b006ae917c8bb7903f5ee7dad6108ec25': (194 commits)
  feat(ui): listen to managed desktop audio in the panel (#157724)
  fix(ci): resume partially published preparation receipts (#158174)
  feat(release): one approval per release via an attested parent approval receipt (#157911)
  feat(desktop): advertise current managed desktop audio (#157723)
  fix(ui): retain delayed progress scroll gestures (#158153)
  refactor(ui): share sidebar mutation error feedback (#158173)
  test: await database verifier process lifecycle events (#158171)
  perf(update): avoid repeated retained-copy parent creation
  feat(desktop): bind audio streaming to screen authorization (#157722)
  refactor(gateway): split companion prompts and metadata fixtures (#158050)
  feat(desktop): isolate managed Linux application audio (#157720)
  fix(test): prepare catalog fixture modules before startup (#158157)
  fix: keep model pickers usable during provider sign-in (#158132)
  refactor(test): remove unused prompt scenario metadata (#158151)
  fix(ci): unblock Control UI targeted Crabbox gates (#158149)
  refactor(agents): deslop subagents, sessions, worktrees, commands and auth (#158020)
  fix: bound stalled browser stream startup (#156323)
  fix(onnx): prevent worker fixture hangs after release (#158146)
  fix(models): preserve scoped provider discovery outcomes (#158139)
  fix(agents): report offline trash failures after agent delete (#158052)
  ...
vincentkoc added a commit that referenced this pull request Sep 25, 2026
* commit '54b5f23b006ae917c8bb7903f5ee7dad6108ec25': (175 commits)
  feat(ui): listen to managed desktop audio in the panel (#157724)
  fix(ci): resume partially published preparation receipts (#158174)
  feat(release): one approval per release via an attested parent approval receipt (#157911)
  feat(desktop): advertise current managed desktop audio (#157723)
  fix(ui): retain delayed progress scroll gestures (#158153)
  refactor(ui): share sidebar mutation error feedback (#158173)
  test: await database verifier process lifecycle events (#158171)
  perf(update): avoid repeated retained-copy parent creation
  feat(desktop): bind audio streaming to screen authorization (#157722)
  refactor(gateway): split companion prompts and metadata fixtures (#158050)
  feat(desktop): isolate managed Linux application audio (#157720)
  fix(test): prepare catalog fixture modules before startup (#158157)
  fix: keep model pickers usable during provider sign-in (#158132)
  refactor(test): remove unused prompt scenario metadata (#158151)
  fix(ci): unblock Control UI targeted Crabbox gates (#158149)
  refactor(agents): deslop subagents, sessions, worktrees, commands and auth (#158020)
  fix: bound stalled browser stream startup (#156323)
  fix(onnx): prevent worker fixture hangs after release (#158146)
  fix(models): preserve scoped provider discovery outcomes (#158139)
  fix(agents): report offline trash failures after agent delete (#158052)
  ...
vincentkoc added a commit that referenced this pull request Sep 25, 2026
* fix(qa-lab): retain tab focus and scroll during polling

* chore(qa-lab): merge main for tab navigation validation

* fix(qa-lab): keep focused tabs visible after layout changes

* fix(qa-lab): reconcile navigation retention with current app

* chore: refresh main for QA Lab navigation validation

* commit '54b5f23b006ae917c8bb7903f5ee7dad6108ec25': (194 commits)
  feat(ui): listen to managed desktop audio in the panel (#157724)
  fix(ci): resume partially published preparation receipts (#158174)
  feat(release): one approval per release via an attested parent approval receipt (#157911)
  feat(desktop): advertise current managed desktop audio (#157723)
  fix(ui): retain delayed progress scroll gestures (#158153)
  refactor(ui): share sidebar mutation error feedback (#158173)
  test: await database verifier process lifecycle events (#158171)
  perf(update): avoid repeated retained-copy parent creation
  feat(desktop): bind audio streaming to screen authorization (#157722)
  refactor(gateway): split companion prompts and metadata fixtures (#158050)
  feat(desktop): isolate managed Linux application audio (#157720)
  fix(test): prepare catalog fixture modules before startup (#158157)
  fix: keep model pickers usable during provider sign-in (#158132)
  refactor(test): remove unused prompt scenario metadata (#158151)
  fix(ci): unblock Control UI targeted Crabbox gates (#158149)
  refactor(agents): deslop subagents, sessions, worktrees, commands and auth (#158020)
  fix: bound stalled browser stream startup (#156323)
  fix(onnx): prevent worker fixture hangs after release (#158146)
  fix(models): preserve scoped provider discovery outcomes (#158139)
  fix(agents): report offline trash failures after agent delete (#158052)
  ...

Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 26, 2026
## What Problem This Solves

Fixes: signing in to a provider briefly empties an already-open model picker and replaces its choices with “Loading models…” or “Checking models...”.

## User Impact

Existing choices stay visible and usable in Control UI chat, New Session, and the terminal picker while provider discovery refreshes. Changes to model restrictions, operator roles, or catalog mode still retire the previous choices. This does not change how soon a newly connected provider's models are discovered.

## Why This Change Was Made

Every config commit previously retired model choices, including the auth/provider config written during sign-in. The Gateway now compares selection policies before sending the existing retirement signal. The web and terminal catalog caches treat ordinary config notifications as refreshes; explicit selection-policy changes still clear them.

The comparison reuses the model visibility and operator-policy preparation owners. No protocol, configuration, or persistence changes are required.

## Evidence

Built baseline and candidate Gateways used isolated state and a task-owned provider whose HTTP model listing was held for eight seconds. The sign-in action was Settings → Connect provider → API key → Save, with chat and New Session pickers already open.

- Baseline: the open chat picker lost its choices and displayed the blocking loading state; the captured transition began 309 ms after Save.
- Candidate: neither web picker displayed “Loading models…”. The terminal PTY capture contained no “Checking models...” frame while sign-in and discovery ran. Existing choices remained visible, and discovered models appeared after publication.
- The held-catalog web regression fails against the original invalidation behavior because its current model list becomes empty, and passes with the fix (four tests in that file; 3.52 s wall time).
- Scoped lifecycle, terminal, and web suites: 65 tests passed; 34.50 s wall time. Permission-retirement assertions remain covered, including a real allowlist change after an auth-only config commit.
- Review found older config-event expectations in chat, New Session, and command-palette tests. Those now expect retention; explicit policy-change and connection/identity retirement cases remain intact. All 110 tests in those three files passed (18.65 s wall time including the requested changed-lane dry run).
- The existing operator-model-policy reload regression passed unchanged. The first CI run caught the obsolete UI expectations (UI shard: 230.38 s); they were corrected rather than rerun unchanged.
- Catalog-mode coverage now verifies unrestricted merge-to-replace retirement while metadata is held. The added assertion failed before the comparison fix; all 65 lifecycle/web/terminal tests passed afterward (32.58 s). A built Gateway `config.patch` smoke observed `modelSelectionChanged: true` on that transition.
- No real provider inference or paid API calls were made. This PR addresses retention of existing choices, not immediate publication of new provider rows.

Before (blocking state; dark theme):

![Open picker replaced by Loading models during sign-in](https://github.com/user-attachments/assets/41fae691-3234-40f9-98fa-22c83ebf667e)

After (existing provider choices remain available; light theme):

![Open picker retains existing choices while discovery refreshes](https://github.com/user-attachments/assets/7f0000f6-6161-40f4-83fd-b7f148945da7)

Co-authored-by: Ayaan Zaidi <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Sep 26, 2026
)

* fix(qa-lab): retain tab focus and scroll during polling

* chore(qa-lab): merge main for tab navigation validation

* fix(qa-lab): keep focused tabs visible after layout changes

* fix(qa-lab): reconcile navigation retention with current app

* chore: refresh main for QA Lab navigation validation

* commit '0001f441f53712e44b2ca6edf2a6752b8abd6d1d': (194 commits)
  feat(ui): listen to managed desktop audio in the panel (openclaw#157724)
  fix(ci): resume partially published preparation receipts (openclaw#158174)
  feat(release): one approval per release via an attested parent approval receipt (openclaw#157911)
  feat(desktop): advertise current managed desktop audio (openclaw#157723)
  fix(ui): retain delayed progress scroll gestures (openclaw#158153)
  refactor(ui): share sidebar mutation error feedback (openclaw#158173)
  test: await database verifier process lifecycle events (openclaw#158171)
  perf(update): avoid repeated retained-copy parent creation
  feat(desktop): bind audio streaming to screen authorization (openclaw#157722)
  refactor(gateway): split companion prompts and metadata fixtures (openclaw#158050)
  feat(desktop): isolate managed Linux application audio (openclaw#157720)
  fix(test): prepare catalog fixture modules before startup (openclaw#158157)
  fix: keep model pickers usable during provider sign-in (openclaw#158132)
  refactor(test): remove unused prompt scenario metadata (openclaw#158151)
  fix(ci): unblock Control UI targeted Crabbox gates (openclaw#158149)
  refactor(agents): deslop subagents, sessions, worktrees, commands and auth (openclaw#158020)
  fix: bound stalled browser stream startup (openclaw#156323)
  fix(onnx): prevent worker fixture hangs after release (openclaw#158146)
  fix(models): preserve scoped provider discovery outcomes (openclaw#158139)
  fix(agents): report offline trash failures after agent delete (openclaw#158052)
  ...

Co-authored-by: Vincent Koc <[email protected]>
vincentkoc added a commit that referenced this pull request Oct 17, 2026
* fix(ui): release failed avatar response bodies

* test(ui): cover avatar response cancellation in Chromium

* test(ui): assert retained image after avatar failure

* test(ui): preserve window global type in avatar proof

* test(ui): avoid shadowed avatar proof bindings

* chore: refresh main for avatar lifecycle validation

* commit '54b5f23b006ae917c8bb7903f5ee7dad6108ec25': (175 commits)
  feat(ui): listen to managed desktop audio in the panel (#157724)
  fix(ci): resume partially published preparation receipts (#158174)
  feat(release): one approval per release via an attested parent approval receipt (#157911)
  feat(desktop): advertise current managed desktop audio (#157723)
  fix(ui): retain delayed progress scroll gestures (#158153)
  refactor(ui): share sidebar mutation error feedback (#158173)
  test: await database verifier process lifecycle events (#158171)
  perf(update): avoid repeated retained-copy parent creation
  feat(desktop): bind audio streaming to screen authorization (#157722)
  refactor(gateway): split companion prompts and metadata fixtures (#158050)
  feat(desktop): isolate managed Linux application audio (#157720)
  fix(test): prepare catalog fixture modules before startup (#158157)
  fix: keep model pickers usable during provider sign-in (#158132)
  refactor(test): remove unused prompt scenario metadata (#158151)
  fix(ci): unblock Control UI targeted Crabbox gates (#158149)
  refactor(agents): deslop subagents, sessions, worktrees, commands and auth (#158020)
  fix: bound stalled browser stream startup (#156323)
  fix(onnx): prevent worker fixture hangs after release (#158146)
  fix(models): preserve scoped provider discovery outcomes (#158139)
  fix(agents): report offline trash failures after agent delete (#158052)
  ...

* test(ui): wait for settled avatar fallback

* test(ui): wait for control UI before avatar handoff

* fix(ui): preserve avatar cleanup across retry lifecycle updates

Integrate current main while preserving retry exhaustion, auth restoration, and deferred response cleanup. Keep the real-stream test on real timers and drain loader cleanup before restoring shared test state.

* fix(ui): integrate avatar response cleanup with current main

* test(ui): align avatar cleanup proof with current harness

* test(ui): qualify avatar cleanup harness types and formatting

Co-authored-by: Vincent Koc <[email protected]>
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 17, 2026
* fix(ui): release failed avatar response bodies

* test(ui): cover avatar response cancellation in Chromium

* test(ui): assert retained image after avatar failure

* test(ui): preserve window global type in avatar proof

* test(ui): avoid shadowed avatar proof bindings

* chore: refresh main for avatar lifecycle validation

* commit '0001f441f53712e44b2ca6edf2a6752b8abd6d1d': (175 commits)
  feat(ui): listen to managed desktop audio in the panel (openclaw#157724)
  fix(ci): resume partially published preparation receipts (openclaw#158174)
  feat(release): one approval per release via an attested parent approval receipt (openclaw#157911)
  feat(desktop): advertise current managed desktop audio (openclaw#157723)
  fix(ui): retain delayed progress scroll gestures (openclaw#158153)
  refactor(ui): share sidebar mutation error feedback (openclaw#158173)
  test: await database verifier process lifecycle events (openclaw#158171)
  perf(update): avoid repeated retained-copy parent creation
  feat(desktop): bind audio streaming to screen authorization (openclaw#157722)
  refactor(gateway): split companion prompts and metadata fixtures (openclaw#158050)
  feat(desktop): isolate managed Linux application audio (openclaw#157720)
  fix(test): prepare catalog fixture modules before startup (openclaw#158157)
  fix: keep model pickers usable during provider sign-in (openclaw#158132)
  refactor(test): remove unused prompt scenario metadata (openclaw#158151)
  fix(ci): unblock Control UI targeted Crabbox gates (openclaw#158149)
  refactor(agents): deslop subagents, sessions, worktrees, commands and auth (openclaw#158020)
  fix: bound stalled browser stream startup (openclaw#156323)
  fix(onnx): prevent worker fixture hangs after release (openclaw#158146)
  fix(models): preserve scoped provider discovery outcomes (openclaw#158139)
  fix(agents): report offline trash failures after agent delete (openclaw#158052)
  ...

* test(ui): wait for settled avatar fallback

* test(ui): wait for control UI before avatar handoff

* fix(ui): preserve avatar cleanup across retry lifecycle updates

Integrate current main while preserving retry exhaustion, auth restoration, and deferred response cleanup. Keep the real-stream test on real timers and drain loader cleanup before restoring shared test state.

* fix(ui): integrate avatar response cleanup with current main

* test(ui): align avatar cleanup proof with current harness

* test(ui): qualify avatar cleanup harness types and formatting

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 docs Improvements or additions to documentation gateway Gateway runtime P2 Normal backlog priority with limited blast radius. proof: 📸 screenshot Contributor real behavior proof includes screenshot evidence. proof: sufficient ClawSweeper judged the real behavior proof convincing. rating: 🐚 platinum hermit Good normal PR readiness with ordinary maintainer review expected. 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