fix: Prevent bundled dependency conflicts in consuming Unity projects#1364
Conversation
Rename the bundled Roslyn dependency DLLs with UnityCliLoop-private assembly identities and require explicit asmdef references so consuming Unity projects do not resolve this package's System.Runtime.CompilerServices.Unsafe assembly by accident. - Mark dependency plugins explicitly referenced only - Guard private identities and stale strong-name flags with EditMode tests
Keep the MIT license text next to the private renamed Microsoft .NET assemblies so the package carries the dependency license with the bundled binaries.
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (11)
📒 Files selected for processing (3)
📝 WalkthroughWalkthroughThe PR refactors ChangesPrivate Assembly Validation Tests and Notices
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 4 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (4 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 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 |
Summary
System.Runtime.CompilerServices.Unsafe.dllwhile preserving dynamic code support.User Impact
System.Runtime.CompilerServices.Unsafe.dlldependency without Unity CLI Loop bundled assemblies being selected accidentally.Changes
UnityCliLoop.System.*private names and update their managed assembly identities.Verification
cli/dist/darwin-arm64/uloop compile --project-path "$(git rev-parse --show-toplevel)"cli/dist/darwin-arm64/uloop run-tests --project-path "$(git rev-parse --show-toplevel)" --test-mode EditMode --filter-type regex --filter-value "CodeAnalysisPluginImporterTests"/Users/a12115/.codex/skills/codex-review/scripts/codex-review v3-beta