Repository navigation
devcloud: a host's plugin installs follow its marketplace copy (0.15.2) - #458
Merged
Merged
Conversation
The copy was refreshed every 30 minutes, but nothing installed from it: the engine installs new versions only at a session's start, and the reload mod's fetch covers git marketplaces only. A host whose one session ran on kept the versions it started with (dc-linux171: doperpowers 7.210.0, to-human 0.7.1, a week behind main). After each refresh, step 10 and the pull now run claude plugin update, as the user, for every install of a copy's plugin at user or managed scope whose version is not the copy's, dependencies first; a running session's reload mod loads it. Sminos-Session: devcloud setup#639ca648 (macbook on macbook)
Keep both install scopes, use validated catalog names and manifest metadata, and normalize same-marketplace dependencies. Share a five-minute deadline across updates and report process failures without aborting the host job. Sminos-Session: devcloud setup#639ca648 (macbook on macbook)
9 of 12 tasks
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.
A devcloud host refreshes its marketplace copy (
/var/lib/devcloud/marketplaces/doperpowers) every 30 minutes, but nothing installed from it. The engine installs new versions only at a session's start, and the reload mod's fetch, which keeps running sessions current on the Macs, only covers git marketplaces. A host whose one session kept running therefore stayed on old versions. Example: one VM was still on doperpowers 7.210.0 and to-human 0.7.1 a week after main moved to 7.216.0 and 0.7.2.After each refresh (step 10, and a pull-config with no new configuration commit),
plugins.updatenow runsclaude plugin update <key> --scope <its scope>as the user. It does this for every install of a plugin the copy carries in its own tree, at user or managed scope, whose version is not the copy's, dependencies first. A running interactive session's reload mod then seesinstalled_plugins.jsonchange and reloads, as on a Mac.managed, so each update keeps its record's scope.Tests: unit tests for the version reading, dependency order, scopes, failures, and both call sites. Also checked against the real CLI (2.1.318) in an isolated config: a directory marketplace whose checkout moved from e540389 to 1794493, one record at user scope and one at managed. Both updated and kept their scope.
Spec: Decision Log entry dated 2026-11-04 in
docs/doperpowers/specs/2026-10-21-devcloud-vm-driver-design.md. devcloud 0.15.2.Sminos-Session: devcloud setup#639ca648 (macbook on macbook)