Skip to content

feat: Add One-Time Startup Remote Plugin Sync#15264

Merged
xl-openai merged 2 commits intomainfrom
xl/plugins3
Mar 20, 2026
Merged

feat: Add One-Time Startup Remote Plugin Sync#15264
xl-openai merged 2 commits intomainfrom
xl/plugins3

Conversation

@xl-openai
Copy link
Collaborator

For early users who have already enabled apps, we should enable plugins as part of the initial setup.

@xl-openai xl-openai requested a review from sayan-oai March 20, 2026 02:19
Copy link
Contributor

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 9d40b621e4

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment on lines +78 to +83
fn startup_remote_plugin_sync_prerequisites_ready(codex_home: &Path) -> bool {
codex_home
.join(".tmp/plugins/.agents/plugins/marketplace.json")
.is_file()
&& codex_home.join(".tmp/plugins.sha").is_file()
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P1 Badge Wait for fresh curated snapshot before startup remote sync

startup_remote_plugin_sync_prerequisites_ready only checks that marketplace/sha files exist. Those can be stale while start_curated_repo_sync is still updating in the background (manager.rs). In that window, remote sync runs against old marketplace data, may drop remote plugins that are not yet present locally, then writes the marker, so startup sync will not retry after the curated repo update completes.

Useful? React with 👍 / 👎.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It is OK.
Startup remote sync only needs a complete local curated snapshot, not necessarily the freshest one.

@xl-openai xl-openai force-pushed the xl/plugins3 branch 3 times, most recently from 5eda893 to a3cbbcf Compare March 20, 2026 04:17
@xl-openai xl-openai enabled auto-merge (squash) March 20, 2026 04:52
@xl-openai xl-openai merged commit b1570d6 into main Mar 20, 2026
36 checks passed
@xl-openai xl-openai deleted the xl/plugins3 branch March 20, 2026 05:01
@github-actions github-actions bot locked and limited conversation to collaborators Mar 20, 2026
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.

3 participants