Skip to content

fix: pin platform package versions to exact release version#67

Merged
rhuanbarreto merged 3 commits into
mainfrom
fix/pin-platform-package-versions
Mar 17, 2026
Merged

fix: pin platform package versions to exact release version#67
rhuanbarreto merged 3 commits into
mainfrom
fix/pin-platform-package-versions

Conversation

@rhuanbarreto

Copy link
Copy Markdown
Contributor

Summary

  • Pins optionalDependencies for platform binary packages to the exact current version (0.11.0) instead of >=0.1.1
  • Adds a release workflow step that syncs optional dependency versions on the release branch when a new version is bumped

Problem

Users running archgate upgrade were getting stale platform binaries because >=0.1.1 allowed package managers to resolve any cached/older version. For example, a user on archgate@0.11.0 could still have archgate-win32-x64@0.10.0 because it satisfies >=0.1.1.

Test plan

  • Verify bun run validate passes
  • Verify the release workflow sync step works by triggering a test release

rhuanbarreto and others added 2 commits March 17, 2026 13:58
Users were getting stale platform binaries after upgrade because the
optional dependencies used >=0.1.1 which allowed package managers to
resolve any cached older version. Pin to exact version and add a
release workflow step to keep them in sync.
@cloudflare-workers-and-pages

cloudflare-workers-and-pages Bot commented Mar 17, 2026

Copy link
Copy Markdown

Deploying archgate-cli with  Cloudflare Pages  Cloudflare Pages

Latest commit: ee58e3b
Status: ✅  Deploy successful!
Preview URL: https://f2bb2115.archgate-cli.pages.dev
Branch Preview URL: https://fix-pin-platform-package-ver.archgate-cli.pages.dev

View logs

Override NpmProject.bump() to sync optionalDependencies after version
bump, removing the need for a separate workflow step.
@rhuanbarreto rhuanbarreto merged commit 939964a into main Mar 17, 2026
8 checks passed
@rhuanbarreto rhuanbarreto deleted the fix/pin-platform-package-versions branch March 17, 2026 13:13
This was referenced Mar 17, 2026
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