fix(ci): replace lerna with nx release in canary workflow#1196
Merged
tokio-on-jupiter merged 1 commit intomainfrom Mar 4, 2026
Merged
fix(ci): replace lerna with nx release in canary workflow#1196tokio-on-jupiter merged 1 commit intomainfrom
tokio-on-jupiter merged 1 commit intomainfrom
Conversation
lerna v7.4.2 bundles nx 16.10.0 internally, which cannot parse the workspace project graph after pinning root nx to 22.5.3. This causes GenericFailure in getNxWorkspaceFilesFromContext on every canary run. Replace all lerna commands with nx equivalents: - Detection: nx show projects --affected - Version bump: single-pass Node script (handles cross-deps) - Build: nx run-many -t build:dist - Publish: nx release publish --tag canary (matches production)
287678d to
efdf425
Compare
ryanmcafee
approved these changes
Mar 3, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
GenericFailureingetNxWorkspaceFilesFromContext)nx show projects --affectedfor detection, a single-pass Node script for canary version bumping,nx run-many -t build:distfor builds, andnx release publish --tag canaryfor publishing (matching the production release flow in build.yml)Context
This unblocks canary releases for PR #1188 (PLATENG-800). The root cause is lerna's bundled nx 16 vs the workspace's nx 22 — they're incompatible. Since the repo is migrating off lerna anyway, this just accelerates that for the canary workflow.
Test plan
/canary-releaseon PR refactor(PLATENG-800): replace platform-sdk-fetch with integration-sdk-http-client #1188