Repository navigation
docs(harness-ops): record why the plugins sync user sweep stays serial - #10358
Conversation
A probe on Claude Code 2.1.310 ran concurrent `claude plugin update` calls against a scratch CLAUDE_CONFIG_DIR: the registry lost 36 of 80 updates at 8 at a time and 11 of 40 at 4 at a time, every call exiting 0, and the serial control lost none. Concurrency is out, so the sweep stays serial and the gotcha says why. Co-Authored-By: Claude Opus 5.5 <[email protected]>
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
claude-security-review reviewed No security issues found. The change is documentation only:
critical-findings: 0 |
|
claude-review reviewed No blocking findings. This is a docs-only change: a new Closing issue #6309. Its criteria are met.
Unverified claims. I did not re-run the probe. The numbers (36 of 80, 11 of 40, serial control lost none) are author-claimed. They match the figures in the issue comment. Minor, not counted as a finding. In the new section, the sentence "Concurrent Manifest check. No Spend. None. There is no cost hold and no security-sensitive change. |
Closes #6309
Summary
The plugins sync user sweep runs one
claude plugin updateat a time, and #6309 asked whether a bounded-concurrency sweep was safe. A probe settled it: concurrentclaude plugin updatecalls lose registry writes while every call exits 0 and prints success. So the sweep stays serial, and the skill's gotchas now say why, so nobody tries to parallelize it again.Fix
plugins/harness-ops/skills/plugins/context/gotchas.md: new section "Never run plugin CLI writes concurrently: the sweep stays serial", with the probe's setup, results, CLI version, date and recheck trigger, and a contents entry.patch.sync-run.shalready runs the sweep serially.Verification
CLAUDE_CONFIG_DIR, confirmed to holdinstalled_plugins.json(the real registry has no trace of the probe). With 12 local plugins moved from 1.0.0 to 2.0.0, the registry lost 36 of 80 updates at 8 calls at once (10 of 10 repetitions), 11 of 40 at 4 at once (8 of 10), and none in the serial control. Full table on perf(harness-ops): plugins sync user sweep runs one serial CLI process per update (85s for 53 plugins) #6309.markdownlint-cli2on the changed file: 0 issues.Related
plugin uninstall -s project, measured in the same session)🤖 Generated with Claude Code