Skip to content

fix(ilok): accept plugg-2 for the iLok environment - #15

Merged
davfre merged 1 commit into
mainfrom
fix/ilok-plugg-2
Oct 31, 2026
Merged

davfre merged 1 commit into
mainfrom
fix/ilok-plugg-2

Conversation

@davfre

@davfre davfre commented Oct 31, 2026

Copy link
Copy Markdown
Contributor

What this changes

plugg ilok create now accepts plugg-1 or plugg-2, and records the one it used. It used to refuse anything except plugg-1, so a library that selected plugg-2 had to switch back first.

docs/runtime.md also said every new environment runs on plugg-1. It runs on the runtime chosen with plugg runtime select, or plain UMU-Proton 10.0-4 with none chosen.

Evidence

I ran the real ilok_setup.create with the unmodified PACE 6.0.1 MSI in a fresh library on plugg-2. That library assembled the runtime from the published runtime-plugg-2 release, and its hash matched.

  • Installation completed. The MSI ended with Return value 1 and no failed actions.
  • Authorization completed. Not tested. Nobody has signed in to iLok on plugg-2.
  • Audio processes correctly. Not tested.

PaceLicenseDServices has the same start type, account and failure actions size as in a working plugg-1 iLok environment, and sc query reports it RUNNING. The test overrode the pin from a scratch script and did not touch a real iLok environment.

The refusal message still names plugg-1, because activation has only been tested there. runtime-overlays.json records the untested part under not_yet_tested.

For code:

  • python3 scripts/check-contribution.py
  • Something that exercises the change specifically. New tests cover both accepted runtimes and the recorded runtime, and the existing test still refuses a library with none selected.

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.
  • If this adds a recipe, I have read its report. It adds no recipe.

`ilok create` refused anything except plugg-1, so a library that selected
plugg-2 could not create an iLok environment. The pin named a runtime
when PACE needs its fixes, and plugg-2 has those modules byte for byte.

Accept both, and record the runtime actually used. PACE 6.0.1 installs on
plugg-2 and its service runs with the same configuration as on plugg-1.
Sign-in and activation are untested there, so the refusal message still
names plugg-1.

Also correct docs/runtime.md, which said every new environment runs on
plugg-1. It runs on the selected runtime, or plain UMU-Proton without one.
@davfre davfre mentioned this pull request Oct 31, 2026
3 tasks done
@davfre
davfre merged commit b133fe9 into main Oct 31, 2026
5 checks passed
@davfre
davfre deleted the fix/ilok-plugg-2 branch October 31, 2026 13:50
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