1 remove need for extension backup#5
Conversation
Move the CLI->ENV->default source-precedence resolution that downstream
consumers hand-wrote as `extension ConfigReader { read(_:) }` into the
Foundation-only core behind a `ConfigValueReading` protocol. An associated
`Key` type mirrors swift-configuration's ConfigReader read surface so a
consumer conforms in one line (`makeConfigKey`), and the read(_:) overloads
(String/Bool/Double required; String/Int/Double/Date optional) are shared
and unit-tested via a mock conformer.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
…n_per_file) Split MockConfigValueReader into its own file and replace force-unwraps with try #require, so swift-format + SwiftLint --strict pass. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
* "Update Claude PR Assistant workflow" * "Update Claude Code Review workflow"
|
Caution Review failedPull request was closed or merged during review 📝 WalkthroughWalkthroughIntroduces a new ChangesConfigValueReading Protocol and Tests
GitHub Actions Workflow Updates
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~20 minutes Possibly related PRs
Poem
🚥 Pre-merge checks | ✅ 3 | ❌ 2❌ Failed checks (2 warnings)
✅ Passed checks (3 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
⚔️ Resolve merge conflicts
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 by CodeRabbit
Release Notes
New Features
Chores