Repository navigation
feat: .ios settings moved to labelle-ios; name the moved key (labelle-cli#471 I4) - #810
Conversation
…-cli#471 I4)
Codegen never read the .ios block. IosConfig only existed so the strict
parse would accept it. iOS now belongs to the labelle-ios provider, whose
settings live in providers/ios.json. A new pre-pass (ios_moved_keys.zig,
mirroring android_moved_keys.zig) names the first moved key:
project.labelle: `.ios.bundle_id` is no longer read from project.labelle:
move bundle_id to providers/ios.json (labelle-ios provider; see labelle-cli#471)
Moved keys: the six former IosConfig fields (app_name, bundle_id,
team_id, minimum_ios, orientation, device_family) plus the provider
schema's simulator and destination. IosConfig is now empty, so
`.ios = .{}` still parses. A real typo still gets the strict parser's
line:col error. The Orientation enum, used only by IosConfig, is removed.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
|
Navigate logical layers of code changes, visualize relationships, and explore their blast radius. No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Team Run ID: 📒 Files selected for processing (4)
Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour. 📝 WalkthroughWalkthroughThe ChangesiOS Configuration Migration
Priority: ➖ Normal Estimated code review effort: 3 (Moderate) | ~20 minutes Change: Feature Sequence Diagram(s)sequenceDiagram
participant parseTypedDiag
participant ios_moved_keys_check
participant findMovedKey
participant ZON_parser
participant diagnostic_logger
parseTypedDiag->>ios_moved_keys_check: check source
ios_moved_keys_check->>findMovedKey: find matching key
findMovedKey->>ZON_parser: parse source
ZON_parser-->>findMovedKey: parsed root .ios struct
findMovedKey-->>ios_moved_keys_check: first matching key
ios_moved_keys_check->>diagnostic_logger: write provider migration hint
ios_moved_keys_check-->>parseTypedDiag: return IosKeyMovedToProvider
Merge Risk: ⚪ Minimal · up to The iOS settings migration appears mergeable after normal checks. 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
A rabbit checks the Comment |
Part of labelle-cli#471, item I4.
Codegen never read the
.iosblock (there is nocfg.iosaccess anywhere).IosConfigonly existed so the strict parse would accept it. iOS now belongs to labelle-ios (v0.1.0), whose settings live inproviders/ios.json.What
src/ios_moved_keys.zig: a pre-pass mirroringandroid_moved_keys.zig. It names the first moved key in source order:IosConfigfields (app_name,bundle_id,team_id,minimum_ios,orientation,device_family) plus the provider schema'ssimulatoranddestination.plugin_params.parseTypedDiagruns it after the android check.IosConfigis now empty, so.ios = .{}still parses..ios.bundle_idd) still gets the strict parser'sline:colerror.Orientationenum, used only byIosConfig, and its root re-export. No toolkit repo imports it.Tests
plugin_paramstests: all 8 keys, the.paramspath, the empty block, a typo.zig build testpasses 94/94 steps (3827 tests).Need help on this PR? Tag
@codesmith-botwith what you need. Autofix is disabled.Summary by CodeRabbit
.iosblock..iosnow produces a migration hint identifying the setting to move..iosblock remains valid. Unknown keys continue to be reported as configuration errors.