Skip to content

Evict WordPress clients during account and site removal - #25852

Open
crazytonyli wants to merge 3 commits into
trunkfrom
feature/wp-client-eviction
Open

Evict WordPress clients during account and site removal#25852
crazytonyli wants to merge 3 commits into
trunkfrom
feature/wp-client-eviction

Conversation

@crazytonyli

@crazytonyli crazytonyli commented Jul 30, 2026

Copy link
Copy Markdown
Contributor

WordPressClientFactory caches clients by blog ID. Removing an account or site currently leaves its client cached for the rest of the app session.

This PR evicts clients when removing the default WordPress.com account, explicitly removing a site, or deleting a site that is no longer returned during account sync.

@wpmobilebot

wpmobilebot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor
App Icon📲 You can test the changes from this Pull Request in WordPress by scanning the QR code below to install the corresponding build.
App NameWordPress
ConfigurationRelease-Alpha
Build Number33728
VersionPR #25852
Bundle IDorg.wordpress.alpha
Commitd0f2aba
Installation URL2a08gl47816l0
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot

wpmobilebot commented Jul 30, 2026

Copy link
Copy Markdown
Contributor
App Icon📲 You can test the changes from this Pull Request in Jetpack by scanning the QR code below to install the corresponding build.
App NameJetpack
ConfigurationRelease-Alpha
Build Number33728
VersionPR #25852
Bundle IDcom.jetpack.alpha
Commitd0f2aba
Installation URL54jjvgb61jqk8
Automatticians: You can use our internal self-serve MC tool to give yourself access to those builds if needed.

@wpmobilebot

Copy link
Copy Markdown
Contributor

🤖 Build Failure Analysis

This build has failures. Claude has analyzed them - check the build annotations for details.

@crazytonyli
crazytonyli force-pushed the feature/wp-client-eviction branch from 11a7eff to d0f2aba Compare August 11, 2026 22:48
@crazytonyli
crazytonyli marked this pull request as ready for review August 11, 2026 22:48
@crazytonyli
crazytonyli requested a review from jkmassel August 11, 2026 22:48
@crazytonyli crazytonyli modified the milestones: 27.2, 27.3 Aug 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants