Fix OSS npm package license metadata - #4792
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
|
+ci-status |
CI StatusHead SHA: Release-target policy already enables hosted CI for this same-repository PR. |
Greptile SummaryCorrects the OSS npm package’s license metadata.
Confidence Score: 5/5The PR appears safe to merge with no actionable defects identified. The package-local license matches the intended OSS MIT terms, is explicitly included in the artifact, and the regression check validates the same package structure used for publication. Important Files Changed
Reviews (1): Last reviewed commit: "Fix OSS npm package license metadata" | Re-trigger Greptile |
Review summaryFocused, well-scoped fix. Verified:
One non-blocking nit left as an inline comment: the expected MIT license text is hardcoded as a duplicate literal in the check script rather than read from the shipped No bugs, security issues, or blockers found. This looks safe to merge for the 17.0.1 patch. |
size-limit report 📦
|
Address-review summaryScan scope: default scan of the full PR history through 2026-07-26T00:26:24Z; no prior address-review cutoff existed. Mattered
Optional
Skipped
Deferred-work tracking: none. Next default scan starts after this comment. Say |
Why
The published open-source
react-on-rails@17.0.0npm artifact reportsSEE LICENSE IN LICENSE.md, even though React on Rails OSS is MIT-licensed.Its packed license was inherited from the monorepo root and also described the
separately licensed Pro code, making the OSS package metadata ambiguous.
This was reported in the
ShakaCode Slack thread
and reproduced from the real npm tarball. npm versions are immutable, so a new
17.x patch artifact is required.
What changed
MIT.LICENSE.md.pnpm packtarball and checks:package.jsonreportsMIT;package/LICENSE.mdexists and matches the approved MIT text;The private workspace metadata and both Pro package license contracts are
unchanged.
Release scope
This PR targets
release/17.0.1, cut from the immutablev17.0.0tag, so thepatch cannot pick up unrelated unreleased work from
main. After merge, therelease-train changelog flow will stamp
17.0.1.rc.0; the fix will also beforward-ported to
main.Verification
SEE LICENSE IN LICENSE.mdand had no package-local license.pnpm --filter react-on-rails run test:package-licensepnpm --filter react-on-rails run test— 26 suites / 361 testspnpm run lintpnpm start format.listDifferent(cd react_on_rails && BUNDLE_GEMFILE=../Gemfile bundle exec rubocop).agents/bin/validate --changedand Node 22, confirmed exact MIT metadata/content, clean lifecycle behavior,
unchanged root/Pro license files, and a clean worktree.
Process gap disposition
scriptinherit ambiguous monorepo license material.
passes against this exact head.
Churn
None. The change is limited to three OSS npm package files.