Skip to content

plugins: Clean up stale curated plugin sync temp dirs and add sync metrics#16035

Merged
xl-openai merged 1 commit intomainfrom
xl/plugins2
Mar 27, 2026
Merged

plugins: Clean up stale curated plugin sync temp dirs and add sync metrics#16035
xl-openai merged 1 commit intomainfrom
xl/plugins2

Conversation

@xl-openai
Copy link
Copy Markdown
Collaborator

  1. Keep curated plugin staging directories under TempDir ownership until activation succeeds, so failed git/HTTP sync attempts do not leak plugins-clone-*.
  2. Best-effort clean up stale plugins-clone-* directories before creating a new staged repo, using a conservative age threshold.
  3. Emit OTEL counters for curated plugin startup sync transport attempts and final outcome across git and HTTP paths.

@xl-openai
Copy link
Copy Markdown
Collaborator Author

@codex review

@chatgpt-codex-connector
Copy link
Copy Markdown
Contributor

Codex Review: Didn't find any major issues. Chef's kiss.

ℹ️ 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".

@xl-openai xl-openai merged commit 81abb44 into main Mar 27, 2026
71 of 76 checks passed
@xl-openai xl-openai deleted the xl/plugins2 branch March 27, 2026 21:21
@github-actions github-actions bot locked and limited conversation to collaborators Mar 27, 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.

2 participants