Skip to content

Handle updates to plugin deps in same update#2243

Merged
stefanvanburen merged 3 commits intomainfrom
svanburen/fetcher-handle-deps-in-same-update
Feb 6, 2026
Merged

Handle updates to plugin deps in same update#2243
stefanvanburen merged 3 commits intomainfrom
svanburen/fetcher-handle-deps-in-same-update

Conversation

@stefanvanburen
Copy link
Member

In #2242, I mentioned:

I don't think this handles the case where the update to a dep is in the same PR as the update to the consuming plugin (I think the syncer can handle that case?), so we could maybe extend this further to detect that situation.

This attempts to handle that situation, by refactoring the fetcher a little bit: we first take a pass to grab all the pending updates, and then subsequently run the updates (in dependency order), updating the latestPluginVersions as we go so that consumers can be updated with the latest dependency.

This just needed a tiny bit of tweaking to have an "integration" test over run (making the fetcher an interface), so added that as well.

@stefanvanburen stefanvanburen merged commit c231465 into main Feb 6, 2026
3 checks passed
@stefanvanburen stefanvanburen deleted the svanburen/fetcher-handle-deps-in-same-update branch February 6, 2026 17:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants