Repository navigation
fix(cli): make plugg prepare set up the runtime environments use - #20
Merged
Merged
Conversation
`plugg prepare` downloaded a plain Wine 11 build that no environment has used since they moved to Proton in September. On an empty cache it failed, because that URL is not an allowed runtime source, and adding it would only trust another source for something nothing runs. Run recipes.provision instead, the same setup an install uses, and remove provision_wine. Environments already on that Wine keep their unpacked runtime. scripts/test-integration.py patched provision_wine, which core.work had stopped calling, so it now goes through the real runtime and stops the session it starts.
davfre
force-pushed
the
fix/prepare-runtime
branch
from
October 31, 2026 15:14
5e86a6a to
9ef6c7c
Compare
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.
What this changes
plugg preparenow sets up the runtime that environments use. It used to download a plain Wine 11 build that no environment has run since the move to Proton in September, and on an empty cache it failed with "Runtime downloads must start at a supported project release path".I did not add that URL to the allowed sources, because that would trust another download source for something nothing uses.
provision_wineis gone. Environments already on that Wine keep their unpacked runtime, and they could not download it again before this change either.scripts/test-integration.pycalledprovision_wineand patched a functioncore.workno longer calls. It now runs through the real runtime.Evidence
plugg prepareon an empty cache finished in 28 seconds and set up the Proton runtime. It failed before this change.scripts/test-integration.pypasses on the updated path: two instances at once, 1,000 blocks of audio each, and a rescan that changes nothing.For code:
python3 scripts/check-contribution.pyprepare, and I ran both checks above.Safety
plugg/licensing.pyand callslicensing.guard. It adds no such operation.