fix: add platform and build_mode to top-level request payload#531
Conversation
The capgo proxy expects platform at the root level of the request body to validate the build request. Without this, the API returns "platform is required". Also bumps version to 7.83.0.
|
Caution Review failedThe pull request is closed. ℹ️ Recent review infoConfiguration used: defaults Review profile: CHILL Plan: Pro 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThis PR augments the native build request payload in Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~3 minutes Possibly related PRs
Poem
✨ 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 |
|



Summary
platformandbuild_modeto the top-level request payload sent toPOST /build/requestplatformat the root level before forwarding to the builder — without this the API returns"platform is required"Test plan
npx @capgo/cli build --platform androidand confirm the request includes top-levelplatformSummary by CodeRabbit