Skip to content

Wait for local plugin cache refreshes in plugin/list - #34877

Merged
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c1b59f3be6cc19dac8db39aaea548ddf8e342f1d
Jul 23, 2026
Merged

Wait for local plugin cache refreshes in plugin/list#34877
copyberry[bot] merged 1 commit into
mainfrom
copyberry/codex-internal-to-codex-oss/c1b59f3be6cc19dac8db39aaea548ddf8e342f1d

Conversation

@copyberry

@copyberry copyberry Bot commented Jul 23, 2026

Copy link
Copy Markdown

Wait for local plugin cache refreshes in plugin/list

What changed

  • Make plugin/list requests with forceRefetch: true wait for configured
    local plugin caches to finish reconciling before building the response.
  • Track marketplace plugin sources when deduplicating refreshes so source
    changes can trigger a reinstall even when the plugin version is unchanged.
  • Notify effective-plugin consumers when the awaited refresh changes the cache.

Testing

Added coverage showing that a forced local plugin listing returns an upgraded
plugin from the same marketplace path only after the new version is installed
and the superseded cache entry is removed.

## What changed

- Make `plugin/list` requests with `forceRefetch: true` wait for configured
  local plugin caches to finish reconciling before building the response.
- Track marketplace plugin sources when deduplicating refreshes so source
  changes can trigger a reinstall even when the plugin version is unchanged.
- Notify effective-plugin consumers when the awaited refresh changes the cache.

## Testing

Added coverage showing that a forced local plugin listing returns an upgraded
plugin from the same marketplace path only after the new version is installed
and the superseded cache entry is removed.

GitOrigin-RevId: c1b59f3be6cc19dac8db39aaea548ddf8e342f1d
@github-actions

Copy link
Copy Markdown
Contributor


Thank you for your submission, we really appreciate it. Like many open-source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution. You can sign the CLA by just posting a Pull Request Comment same as the below format.


I have read the CLA Document and I hereby sign the CLA


You can retrigger this bot by commenting recheck in this Pull Request. Posted by the CLA Assistant Lite bot.

@copyberry
copyberry Bot force-pushed the copyberry/codex-internal-to-codex-oss/c1b59f3be6cc19dac8db39aaea548ddf8e342f1d branch from 08696e2 to 4e0cee8 Compare July 23, 2026 05:39
@copyberry
copyberry Bot merged commit 4e0cee8 into main Jul 23, 2026
31 of 32 checks passed
@copyberry
copyberry Bot deleted the copyberry/codex-internal-to-codex-oss/c1b59f3be6cc19dac8db39aaea548ddf8e342f1d branch July 23, 2026 05:40
@github-actions github-actions Bot locked and limited conversation to collaborators Jul 23, 2026
@J-H99
J-H99 temporarily deployed to issue-triage July 23, 2026 06:13 — with GitHub Actions Inactive
@J-H99
J-H99 temporarily deployed to issue-triage July 23, 2026 06:13 — with GitHub Actions Inactive
@J-H99
J-H99 temporarily deployed to issue-triage July 23, 2026 06:13 — with GitHub Actions Inactive
@J-H99
J-H99 temporarily deployed to issue-triage July 23, 2026 06:14 — with GitHub Actions Inactive
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants