Skip to content

Fix packed lifecycle offline upgrade after rebuild - #66

Merged
PlasticLizard merged 2 commits into
devfrom
nathan/fix-lifecycle-offline-upgrade
Aug 18, 2026
Merged

Fix packed lifecycle offline upgrade after rebuild#66
PlasticLizard merged 2 commits into
devfrom
nathan/fix-lifecycle-offline-upgrade

Conversation

@PlasticLizard

Copy link
Copy Markdown
Contributor

Summary

  • Install the current package into a sibling consumer prefix during the packed lifecycle proof.
  • Keep both installs pointed at the same retained state directory so schema migration and answer preservation still hold.
  • Document the pnpm offline-upgrade limitation that forced the change.

Why

Release qualification failed at package-lifecycle with ERR_PNPM_NO_OFFLINE_META for react@19.2.8 when upgrading in-place after pnpm rebuild better-sqlite3. That path worked before Ink/React were added as runtime dependencies.

Test plan

  • node scripts/check-package-lifecycle.mjs on Node 22.23.1 / darwin arm64
  • CI on this PR
  • Re-run Release candidate qualification and promote to main

PlasticLizard and others added 2 commits August 18, 2026 07:46
After rebuilding better-sqlite3, pnpm cannot offline-add a newer version of
the same package in one consumer. Install current into a sibling prefix that
reuses the retained state directory instead.

Co-authored-by: Cursor <cursoragent@cursor.com>
Co-authored-by: Cursor <cursoragent@cursor.com>
@PlasticLizard
PlasticLizard merged commit a9bed25 into dev Aug 18, 2026
8 checks passed
@PlasticLizard
PlasticLizard deleted the nathan/fix-lifecycle-offline-upgrade branch August 18, 2026 13:52
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