Skip to content

fix: prevent concurrent setup initialization#313

Open
hardy-dev-infinilabs wants to merge 2 commits into
mainfrom
pr/setup-init-guard
Open

fix: prevent concurrent setup initialization#313
hardy-dev-infinilabs wants to merge 2 commits into
mainfrom
pr/setup-init-guard

Conversation

@hardy-dev-infinilabs
Copy link
Copy Markdown

Summary

  • ensure setup callbacks only run once even if setup completion is triggered repeatedly
  • reject concurrent /setup/_initialize requests while one initialization is already running
  • clear the initialization guard when setup exits so later retries can proceed normally

Testing

  • go test ./plugin/setup

hardy-dev-infinilabs and others added 2 commits May 6, 2026 14:52
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
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.

1 participant