Skip to content

feat(runtime): use plugg-2 in new libraries - #19

Merged
davfre merged 1 commit into
mainfrom
feat/default-runtime
Oct 31, 2026
Merged

davfre merged 1 commit into
mainfrom
feat/default-runtime

Conversation

@davfre

@davfre davfre commented Oct 31, 2026 •

Copy link
Copy Markdown
Contributor

What this changes

A new library now uses plugg-2, and Plugg downloads and assembles it the first time it needs a runtime. A first-time user no longer has to run plugg runtime assemble and plugg runtime select.

Before this, a new library ran on plain UMU-Proton 10.0-4, and only the command line could change that. Kontakt 8 reported success with nothing installed, editors could crash the host on close, and plugg ilok create refused.

Existing libraries keep what they have, whether that is a selected runtime or none. If the download fails, setup stops with an error, because falling back to plain Proton would hide the missing fixes.

Evidence

All of this ran in throwaway libraries, on a clean download cache unless noted.

  • Cold first install. Native Access installed with no runtime commands. Plugg downloaded 766 MB, checked the published runtime-plugg-2 archive, assembled the runtime and created the environment on it, in 80 seconds.
  • iLok. plugg ilok create ran in a new library with no runtime commands, installed PACE on plugg-2, and iLok sign-in and activation of Pulsar Audio W495 worked. The real iLok environment still matches its recorded identity with no drift.
  • No network. With the base runtime cached and no network, setup failed and created no environment. It did not fall back to plain Proton. That run predates the clearer error message, which a unit test covers.
  • Plug-in hosting. scripts/test-carla.py on plugg-2 passes load, crash, teardown and leftover hosts. The editor check fails on one click, the same click on plugg-1, which is the weston behaviour in docs/building.md.

For code:

  • python3 scripts/check-contribution.py
  • Something that exercises the change specifically. New tests cover the default, existing libraries staying as they are, assembly when the runtime is missing, no second download, a library with nothing selected, a failed download and its message.

Not tested

Nobody has played an iLok-activated plug-in on plugg-2, and I tested activation with one plug-in. docs/recipes/pace.md says so and shows how to choose plugg-1.

Safety

  • I did not include installers, licence files, account data, callback URLs, prefixes or downloaded runtimes.
  • I did not copy an activated prefix into a fixture.
  • If this adds an operation that writes inside a Windows environment, it is classified in plugg/licensing.py and calls licensing.guard. It adds no such operation. Assembling writes only to the library's runtimes folder.
  • If this adds a recipe, I have read its report. It adds no recipe.

A new library ran on plain UMU-Proton until someone ran `plugg runtime
select`, and only the command line could do that. Kontakt 8 then
reported success with nothing installed, and `plugg ilok create`
refused.

New libraries now select plugg-2. provision() assembles the selected
runtime when it is missing, downloading the pinned modules, so a first
install needs no runtime commands. A failed download stops setup and
says what to do, since falling back to the base would hide the missing
fixes. Existing libraries keep what they have.

The iLok setup no longer needs the runtime assembled before it starts.
iLok sign-in and activation work on plugg-2, tested with one plug-in, and
the docs show how to choose plugg-1, which has the longer record.
@davfre
davfre force-pushed the feat/default-runtime branch from 63bbd24 to fd04808 Compare October 31, 2026 15:10
@davfre
davfre merged commit 7c1b85f into main Oct 31, 2026
5 checks passed
@davfre
davfre deleted the feat/default-runtime branch October 31, 2026 15:11
@davfre davfre mentioned this pull request Oct 31, 2026
3 tasks done
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