Repository navigation
build(Felt): migrate tasks and prereleases to Nx - #12687
Draft
gabipodolnikova wants to merge 2 commits into
Draft
gabipodolnikova wants to merge 2 commits into
gabipodolnikova wants to merge 2 commits into
Conversation
|
Important Draft PR not reviewedDraft PRs are not automatically reviewed by default.
To automatically review draft PRs, update your CodeRabbit configuration: reviews:
auto_review:
drafts: true
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
This branch has not been deployed
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.
What: Migrates Felt React task execution and the prerelease CI workflow from Lerna to Nx for FELT-144.
Draft: commit-type policy is still being aligned with the Core migration. The settings below describe the current implementation, not a final team agreement.
Implementation
@nx/jsto 24.0.0 and replace root Lerna task commands with Nx.prereleasebumps, preserving each selected package’s existing counter (for example,.3→.4).{projectName}@{version}Git tags and release commit subject,chore(release): releasing packages [ci skip]..release/bundle, including hidden files, before publishing through Nx using the existing npm trusted-publishing/OIDC setup. A missing expected artifact fails the upload step.Behavior changes and discussion points
fixandfeatuse the native Nx defaults. This branch also explicitly enableschore,docs,refactor,perf,test,style,build, andcito trigger release discovery and appear in changelogs. Should React adopt the Core policy for chores and other maintenance types? These overrides remain unchanged pending agreement. Once selected, packages receive a prerelease counter increment rather than a stable patch/minor release.__INVALID__should appear under “Uncategorized changes” without triggering a bump. Valid but unconfigured types such asmisc:are separate from__INVALID__.demo-app-tsis intentionally excluded from release version bumps.origin; local fork rehearsals can pass--git-remote=upstream.felt-v1concurrency group. New merges no longer automatically cancel an active publication. GitHub may replace pending runs; this does not promise a separate release for every merge. Manual cancellation during publishing can still leave a partial release.Publishing-only recovery
A manual run of the same
release.ymlworkflow onfelt-v1takes the failed workflow run ID, downloads itsnx-release-packagesartifact, and checks out the recorded release commit. It installs dependencies without rebuilding packages, then publishes the prepared versions.felt-v1. Older releases are rejected before publication to prevent moving the npmprereleasetag backward.felt-v1, for example:gh workflow run release.yml --repo patternfly/patternfly-react --ref felt-v1 -f publish-only-run-id=RUN_ID. The Actions UI dispatch button depends on the default-branch workflow definition; GitHub-hosted invocation still needs verification.Testing
.2to.3.Before merging / follow-up: