You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: pack-addons core tarball ships the build's development addons.json (absolute file: links); init --with needs URLCODE_ADDONS and a skew round #1002
On another machine those paths do not exist. Step 3 installs the packed add-ons, but init pins core from the registry and the add-ons refuse to load:
{"event":"error","message":"Could not import @jimhoyd/urlcode-auth/extension: SyntaxError: The requested module '@jimhoyd/urlcode/extensions' does not provide an export named 'joinHostLease'. Version skew: the add-on catalog (URLCODE_ADDONS=...) points at local add-on tarballs (file: pins) built for core 0.6.5, but this site installed @jimhoyd/urlcode 0.6.5 from the npm registry, ... Point the site's core at the build the catalog came from (for example `npm install --save-exact --ignore-scripts <path to the jimhoyd-urlcode-0.6.5.tgz packed beside it>` ...","code":"addon-load"}
The refusal names its fix (urlcode init, npm install the packed core, extensions add), which works.
Expected: a core tarball packed by pack-addons.ts carries the addons.json it writes beside it (tarball URLs and sha512), so init --with from that core installs the packed add-ons pinned, and pins the site's core to the same tarball, with no URLCODE_ADDONS and no skew round. At least, the development manifest's absolute builder paths should not ship in a tarball meant to be installed elsewhere.
Not verified: whether the release workflow's packed core has the same property; it writes its own manifest before packing, so it is probably unaffected.
Activity
fix: plan-feature before init, packed core ships its pinned catalog, …