Latest Changes from Bushel v3.0.0-alpha.2#156
Conversation
…failures. (#155) The tests were making real HTTP requests to httpbin.org and apple.com, which caused DNS resolution failures on GitHub Actions Ubuntu runners. Removed four integration tests and kept only unit tests that validate error handling without requiring network access. Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
|
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: defaults Review profile: CHILL Plan: Pro 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 |
Review SummaryThis PR ports recent BushelKit changes from the 🔴 Must fix1. New 2. Package-wide minimum macOS version silently dropped from 15 → 12 🟡 Worth addressing3. Zero test coverage for 4. - internal import FelinePineSwift
+ @_exported import FelinePineSwiftThis changes 5. 🟢 Minor / nits
Nice touches worth calling out
Automated review via Claude Code. |
Register and repair the BushelHarvestCore test target and harden the framing layer surfaced by PR #156's review. - Register BushelHarvestCoreTests as a test target (Package/Sources + regenerated Package.swift); the ~900 lines of tests were never compiled or run before. Fixing the wiring exposed latent breakage, now resolved: tests referenced a removed `HarvestCommand(category:)` API and omitted `import Foundation`. Added a test-only convenience initializer and the missing imports. - HarvestMessageFraming: retry read/write on EINTR instead of failing. - HarvestFramingError: conform to Equatable for testable assertions. - HarvestAuthToken: add isExpired(asOf:) so receivers can validate expiry. - HarvestConfiguration: document the channel as virtio-only / unencrypted. - Add framing (socketpair round-trip, oversize, EOF) and configuration tests; cover the previously-untested .security command category. - Replace no-op "Sendable" tests (detached, un-awaited Tasks) with real cross-actor round-trips; drop meaningless `id != nil` checks on non-optional UUIDs. - Remove unused `public import Foundation` from pure value types; add missing doc comments; normalize the short license headers to the canonical MIT block. - swift-format the module/tests and fix the broken URLSessionTests reindentation. Full package builds and the full test suite passes on the lowered macOS v12 deployment floor. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Review: BushelHarvestCore module + supporting changesReviewed the diff (base Strengths
Findings
Minor nits
Test coverageGood — the new OverallThis is a well-scoped, carefully hardened addition for a new host↔guest control-channel module, and the self-review commit already addressed the substantive security gaps (unbounded allocation, EINTR handling, timeouts). Only real ask is confirming the global macOS 12 floor drop is intentional and doesn't silently break other Virtualization-framework-dependent targets; the force-unwrap in 🤖 Automated review generated with Claude Code |
No description provided.