openai / openai/codex

Desktop: periodically auto-update plugin marketplaces without requiring a restart

Open
#38,401 0 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

app app-server enhancement skills
Dominant language
Rust
Stars
125k
Forks
19.5k
PR merge metrics
PR metrics pending

Description

Feature request

Codex Desktop currently starts the configured Git marketplace auto-upgrade as an app-server startup task. When the Desktop app stays open for days, marketplace and plugin updates are not checked again unless the app server is restarted or the user manually requests an upgrade.

Current implementation references:

Desired behavior

While Codex Desktop remains running:

  • Periodically check configured Git marketplaces for new revisions.
  • Refresh installed plugins when their marketplace source changes, without requiring a full Codex restart.
  • Coalesce concurrent checks and use reasonable backoff/idle scheduling so this does not add noticeable startup, network, or Git overhead.
  • Show the last check time, update result, and failures in the Plugins UI.
  • Provide a Check for updates action in addition to automatic checks.

Applying an update to existing threads must be safe and consistent. Either:

  1. atomically hot-reload all capabilities from the new plugin version, including skills, hooks, MCP servers, and apps; or
  2. keep existing threads on the complete previous version and apply the new version only to new threads.

A running thread should never silently mix capabilities from different plugin versions.

Why

Desktop is commonly kept open for long periods. Requiring a restart means users can remain on stale plugin code without any visible indication, even though startup auto-upgrade support already exists.

Related issues
  • #31383 documents the current startup marketplace auto-upgrade behavior and cache replacement.
  • #17636 requests hot-reloading hook configuration during a live session.
  • #36605 reports mixed skill/hook versions after updating a plugin in Desktop.

Those issues cover update side effects or hot-reload behavior, but not periodic marketplace/plugin update checks while Desktop remains running.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Read maybe_start_plugin_startup_tasks_for_config in codex-rs/core-plugins/src/manager.rs and the startup call in codex-rs/app-server/src/message_processor.rs. Trace the existing cache refresh path, then define the scheduling, Plugins UI status/action, and thread-version behavior needed for safe periodic updates. Done means checks can run while Desktop stays open without mixed plugin capabilities.

Written by the indexing model from the issue text.

Assessment

Tech stack
git, rust
Domain
desktop, devtools
Issue type
Feature
Difficulty
5/5
Estimated time
Over a week
Activity status
Quiet
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.