Repository navigation
RFC: define macOS and Windows shared artifact tags - #24
Conversation
PR Summary by QodoDefine macOS shared artifact compatibility tags
AI Description
Diagram
High-Level Assessment
Files changed (1)
|
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📜 Recent review details🧰 Additional context used🪛 LanguageTooltext/0007-shared-side-effects-cache.md[uncategorized] ~97-~97: The operating system from Apple is written “macOS”. (MAC_OS) 🔇 Additional comments (1)
📝 WalkthroughWalkthroughThe RFC adds a macOS v2 compatibility-tag schema. It defines version matching, publication floors, restoration behavior, and consumer fingerprinting. It also updates the remaining-work list for Windows and additional Linux libc families. ChangesmacOS compatibility boundaries
Estimated code review effort: 1 (Trivial) | ~5 minutes Merge Risk: ⚪ Minimal · up to This PR defines macOS compatibility tags in the RFC without changing shipped runtime behavior. No actionable merge-blocking risk remains beyond normal checks and review. Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
Full details: Docstring CoverageExplanation No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff. Analyzed 0 functions across 0 files. (1 skipped: 1 unsupported.) ✨ 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 |
5611ae0 to
e7350b7
Compare
Teach the shared-artifact protocol to recognize additive v1 Darwin and Windows tags that encode architecture, Node major, and a minimum operating-system version. Select exact supported tags before version floors, then choose the greatest compatible floor and keep universal artifacts as the final fallback. Detect macOS product versions with the absolute system `sw_vers` path and Windows NT kernel versions with the platform APIs. Enable restoration and publishing on Darwin and Windows x64 and arm64. Implement the same protocol, fingerprints, selection, and host-detection behavior in the TypeScript CLI and pacquet. Keep all existing Linux tags and fingerprints stable. Related to #13771 and pnpm/rfcs#24.
Defines the macOS and Windows compatibility vocabularies for the shared side-effects cache tracked by pnpm/pnpm#13771.
Both formats retain OS release precision because pnpm publishes the builder's current runtime as a conservative floor. Windows includes the kernel build because supported Windows releases commonly share the same
10.0major and minor version.Written by an agent (Codex, GPT-5).