Repository navigation
fix: keep Files results stable when replies finish - #196949
Conversation
Keep empty, no-match, and browser-unavailable presentations visible while a same-scope listing refresh is pending. Preserve initial and scope-replacement loading, force retry, and rejected-read handling. Co-authored-by: vyctorbrzezowski <[email protected]>
Keep accepted empty and populated transcript attachment results stable while same-scope history refreshes. Preserve initial loading, errors and scope retirement across desktop and mobile Files. Co-authored-by: vyctorbrzezowski <[email protected]>
Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: d076f3e3-bccb-40b6-a7e6-349a7ac2d6b4
|
🦞👀 Pull request received. I will update this pull request when review starts. |
|
@clawsweeper re-review |
|
🦞👀 Re-review progress:
|
|
Codex review: needs maintainer review before merge. What this changesThis PR preserves accepted Files listings and attachment results while same-scope refreshes are pending. Example: Search mobile Files for absent-proof-file, then let a reply finish.
Review scores
ProductKind: Bug fix · Worth it: Yes · Fix scope: Complete Merge readiness✅ Ready for maintainer review Keep open: this maintainer-authored draft fixes current Files refresh flicker with a focused patch; no actionable defect was found. Priority: P2 Before mergeNone. FindingsNone. Agent review detailsHow this fits togetherReply completion refreshes workspace listings and transcript history; their existing owners publish scoped results that desktop and mobile Files render. flowchart TD
A[Reply finishes] --> B[Workspace listing owner]
A --> C[Chat history owner]
B --> D[Scoped loading boundary]
C --> E[Attachment projection]
D --> F[Files panel]
E --> F
Technical reviewBest possible solution: Retain accepted same-scope results through the existing owners and loading boundary while preserving scope replacement, explicit retry, and error behavior. Do we have a high-confidence way to reproduce the issue? Current-main source directly explains both loading substitutions, and supplied before screenshots show them; this read-only review ran no target code. Is this the best way to solve the issue? The patch fixes both presentation causes using existing accepted-history facts and the existing loading boundary, without adding state or another request path. AGENTS.md: found and applied where relevant. Codex review notes: model internal, reasoning medium; reviewed against fc04eab8d559. Provenance checked
TestingProof path: shipped entry point. SecurityNone. EvidenceWhat I checked:
Likely related people:
PR surfaceSource -7, Tests +355, Other +2. Total +350 across 6 files. Added test files: 2. View PR surface stats
Preflight sourceSource unknown. Source comparison at the observed PR snapshot only. Completion is self-reported; body, policy, tests, execution, and report bytes are not verified. Review metrics
LabelsLabel changes:
Label justifications:
Rating scale6/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. WorkflowClawSweeper edits this one comment on every review. Comment Reviewed November 10, 2026, 8:14 PM ET / November 11, 2026, 01:14 UTC. |
|
Merged via squash.
|
* fix(ci): route Files refresh through its private server lane Register the source-server fixture added by #196949 in the existing private-server inventory. Preserve automatic serial routing and all ownership and browser assertions. Co-authored-by: steipete <[email protected]> Co-authored-by: obviyus <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]> * fix(ci): route Files refresh through its private server lane Worked on by: - @obviyus - @steipete Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 9eb6e348-babe-86f3-83ec-03e4ec242b18 --------- Co-authored-by: steipete <[email protected]> Co-authored-by: obviyus <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
* fix(ui): retain accepted mobile Files views during refresh Keep empty, no-match, and browser-unavailable presentations visible while a same-scope listing refresh is pending. Preserve initial and scope-replacement loading, force retry, and rejected-read handling. Co-authored-by: vyctorbrzezowski <[email protected]> * fix(ui): retain accepted attachment coverage during refresh Keep accepted empty and populated transcript attachment results stable while same-scope history refreshes. Preserve initial loading, errors and scope retirement across desktop and mobile Files. Co-authored-by: vyctorbrzezowski <[email protected]> * fix: keep Files results stable when replies finish Worked on by: - @vyctorbrzezowski Co-authored-by: vyctorbrzezowski <[email protected]> OpenClaw-Publication: d076f3e3-bccb-40b6-a7e6-349a7ac2d6b4 * test(ui): initialize complete Files navigation state --------- Co-authored-by: vyctorbrzezowski <[email protected]> Co-authored-by: Vyctor H. Brzezowski <[email protected]>
…w#197100) * fix(ci): route Files refresh through its private server lane Register the source-server fixture added by openclaw#196949 in the existing private-server inventory. Preserve automatic serial routing and all ownership and browser assertions. Co-authored-by: steipete <[email protected]> Co-authored-by: obviyus <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]> * fix(ci): route Files refresh through its private server lane Worked on by: - @obviyus - @steipete Co-authored-by: obviyus <[email protected]> Co-authored-by: steipete <[email protected]> OpenClaw-Publication: 9eb6e348-babe-86f3-83ec-03e4ec242b18 --------- Co-authored-by: steipete <[email protected]> Co-authored-by: obviyus <[email protected]> Co-authored-by: vyctorbrzezowski <[email protected]>
Integrate the landed canonical Files renderer and its download lifetime regressions. Retain accepted Mobile and attachment views during same-scope refresh while preserving newer-history coverage. Adopts #197464 and the minimal owner fixes and regression coverage from #196949. Co-authored-by: vyctorbrzezowski <[email protected]>
What Problem This Solves
Fixes: Files replaces accepted empty and no-match results with loading content when a reply finishes and refreshes the current session.
User Impact
User impact: mobile Files keeps its accepted empty, no-match, unavailable, or populated view during refresh, without disturbing search focus or scrolling. Desktop and mobile no-match views also remain stable while accepted attachment history refreshes. Initial loading, changed scopes, explicit retry, and real errors retain their existing behavior. No configuration change or migration is required.
Why This Change Was Made
Use the existing loading boundary for every accepted mobile listing, not only populated results. The attachment projection now distinguishes unknown history from refreshing accepted history, so an empty attachment result does not become loading content again. No new cache, timer, polling, or recovery suppression.
Evidence
Typecheck follow-up on
972276ada6320b99d92968b2a5f8bd3c5cdf858a: the new test now builds complete navigation with the existing initializer and preserves the intended search. All 29 touched cases, the UI-chat test typecheck, lint and formatting pass. Production code and the real-Gateway proof above are unchanged; the five added fixture lines are funded by the exact allocation.Maintainer verification on
cf2e83ab3c3be8421ffdb9902174b756ee5e6202: 35 touched tests, 36 workspace-owner tests and four mocked-browser scenarios passed. An additional isolated real Gateway run executedchat.sendthrough a local synthetic Responses provider and reached the actual final event. While the original successfulchat.historyandsessions.files.listreplies were held, the same no-match result, search focus and selection stayed in place with no skeleton. Releasing the unchanged replies preserved it; a newly created matching file appeared afterward. Restoring the previous production behavior failed at the return of "Loading attachments…". The provider response was synthetic; no external-model inference or new live revocation result is claimed.ecaefd29e7f1a23657de41a7eb217ba083c477be: P0–P2 scoped-clean, no actionable findings. Candidate committed as6bf93d2918285c555b1f44e98fd1b60c3a064b62after mechanical test braces/allocation adjustment. Source review and execution evidence were independent.Before and after
Actual Control UI with synthetic data, captured while refresh responses remain pending.
Mobile empty listing (mocked Gateway transport)
No-match listing plus history recovery (real isolated Gateway)
Validation limits: Chromium only; no WebKit, broad CI, model inference, or live Team testing. The real Gateway proof does not claim live permission-revocation coverage; focused tests cover denied reads and scope retirement.
Reported and guided by @vyctorbrzezowski.
Work sessions
Linked for team reference; these sessions aren’t public.
Worked on by