Skip to content

fix(session-share): withdraw stale catalog rows during refresh - #182242

Merged
vincentkoc merged 2 commits into
mainfrom
fix/session-share-fresh-catalogs-20261024
Oct 24, 2026
Merged

vincentkoc merged 2 commits into
mainfrom
fix/session-share-fresh-catalogs-20261024

Conversation

@vincentkoc

@vincentkoc vincentkoc commented Oct 24, 2026 •

Copy link
Copy Markdown
Member

What Problem This Solves

Shared-session rows can remain visible while a refresh is checking changed permissions, or after that refresh fails.

User Impact

Session Share withdraws the old rows while it refreshes, including expanded pages. A failed refresh shows Retry, which fetches the current results again. Rows may briefly disappear during the check; no configuration changes are required.

Why This Change Was Made

Fresh-list catalogs now recheck their source before publishing a complete window. Superseded responses cannot restore withdrawn rows, and progressive updates retain each host’s expanded depth. Ordinary catalogs keep their existing paging behavior.

This is the freshness slice extracted from #156736. Person selection and Open original are separate follow-ups; the original PR remains preserved.

Evidence

  • 63 focused provider, Gateway, mounted-sidebar, and source/receiver integration tests passed, including cancellation, stale responses, concurrent host updates, expanded paging, and Retry.
  • Core, UI, and plugin typechecks; targeted lint and formatting; native protocol checks; full build and UI bundle budgets passed.
  • Independent review found no actionable P0–P2 defects.
  • Synthetic browser proof passed on the baseline and this change. Clicking Retry issued a fresh root request and displayed current sessions. Remote source transfer was unavailable, so validation used the qualified local checkout.

Before — failed refresh has no recovery action:

Before: shared-session error with no Retry action

After — Retry refreshes the shared sessions:

After: shared-session error with Retry action

Reauthorize fresh-list catalogs and expanded pages before publication, reject superseded responses, and expose Retry after a failed refresh. Preserve ordinary catalog paging and progressive host updates.

Extracted from the Session Share work in #156736; person selection and Open original remain separate slices.
@vincentkoc vincentkoc self-assigned this Oct 24, 2026
@clawsweeper

clawsweeper Bot commented Oct 24, 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 plugin: session-share size: L labels Oct 24, 2026
@vincentkoc
vincentkoc marked this pull request as ready for review October 24, 2026 05:05
@vincentkoc
vincentkoc enabled auto-merge (squash) October 24, 2026 05:21
@clawsweeper clawsweeper Bot added clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. labels Oct 24, 2026
@vincentkoc
vincentkoc merged commit ae2a9dd into main Oct 24, 2026
133 checks passed
@vincentkoc
vincentkoc deleted the fix/session-share-fresh-catalogs-20261024 branch October 24, 2026 05:25
github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Oct 25, 2026
…law#182242)

* fix(session-share): withdraw stale catalog rows during refresh

Reauthorize fresh-list catalogs and expanded pages before publication, reject superseded responses, and expose Retry after a failed refresh. Preserve ordinary catalog paging and progressive host updates.

Extracted from the Session Share work in openclaw#156736; person selection and Open original remain separate slices.

* test(session-share): align integration reads with fresh authorization
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 clawsweeper:intake:bug Preliminary submission classification; full source review pending. clawsweeper:intake:needs-repro Preliminary submission classification; full source review pending. docs Improvements or additions to documentation gateway Gateway runtime plugin: session-share size: L

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant