shared-plugin pool: heal empty slots after auto-update swap#3
Open
dywongcloud wants to merge 1 commit into
Open
shared-plugin pool: heal empty slots after auto-update swap#3dywongcloud wants to merge 1 commit into
dywongcloud wants to merge 1 commit into
Conversation
The plugin auto-update idle swap (modules.remove + release_shared_plugin) emptied the whole shared pool with no recovery path: dispatch hard-errors 'plugin X not loaded' on an empty slot; a re-registering project hit the 'not yet compiled' skip (module gone) or the any_instantiated is_loaded shortcut (partial pool reads as loaded); only killing the daemon healed it. Live-witnessed for hours as intermittent per-dispatch 'plugin gm not loaded' where exactly 1 of N concurrent verbs succeeded. - load_plugin fills EVERY empty slot (try_lock; busy slot = instantiated) - is_loaded requires ALL slots for shared pools so registration re-heals - the swap recompiles + refills the pool immediately (refill_shared_plugin; root is non-binding, dispatch_on re-roots per call) Verified live: rebuilt runner installed locally; 4/4 concurrent verbs succeed where the prior daemon dropped 2 of 3. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01WjfHAjYisCpP5Tc2DpHra8
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The plugin auto-update idle swap (
modules.remove+release_shared_plugin) emptied the whole shared pool with no recovery path:dispatchhard-errorsplugin X not loadedon an empty slot; a re-registering project hit the 'not yet compiled' skip (module gone) or theany_instantiatedis_loadedshortcut (partial pool reads as loaded); only killing the daemon healed it. Live-witnessed for hours as intermittent per-dispatchplugin gm not loadedwhere exactly 1 of N concurrent verbs succeeded.load_pluginfills EVERY empty slot (try_lock; a busy slot is by definition instantiated)is_loadedrequires ALL slots for shared pools so registration re-heals partial poolsrefill_shared_plugin; the root is non-binding —dispatch_onre-roots per call)Verified live: rebuilt runner installed locally; 4/4 concurrent verbs succeed where the prior daemon dropped 2 of 3.
🤖 Generated with Claude Code
https://claude.ai/code/session_01WjfHAjYisCpP5Tc2DpHra8