Repository navigation
ci: allocate only the requested iOS simulator family - #13863
teamleaderleo merged 3 commits into
Conversation
|
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: manaflow-ai/cmux/.coderabbit.yaml Review profile: ASSERTIVE Plan: Advanced Run ID: 📒 Files selected for processing (2)
Included review availability: Your plan provides up to 10 included reviews per hour; 0 remain after this review. 📝 WalkthroughWalkthroughThe workflow now resolves requested iOS simulator families before matrix expansion. It runs selected family entries without per-step family skip guards and labels runs with dispatch inputs. Tests cover family selection, matrix wiring, run-name content, and related workflow assertions. ChangesiOS simulator dispatch
Priority: ⬇️ Low Estimated code review effort: 2 (Simple) | ~10 minutes Change: Bug fix Sequence Diagram(s)sequenceDiagram
participant DispatchInput
participant FamiliesStep
participant SimulatorMatrix
DispatchInput->>FamiliesStep: device_family input
FamiliesStep->>SimulatorMatrix: device_families JSON output
SimulatorMatrix->>SimulatorMatrix: Expand selected family entries
Merge Risk: ⚪ Minimal · up to No actionable merge-blocking issue is established; the change is ready for normal merge checks. 🚥 Pre-merge checks | ✅ 24 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (24 passed)
Full details: Docstring CoverageExplanation Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Docstring coverage is scoped to functions touched by this diff. Analyzed 4 functions across 1 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 |
|
All contributors have signed the CLA ✍️ ✅ |
|
@coderabbitai review |
|
|
@coderabbitai review |
✅ Action performedReview finished.
|
An iPhone-only manual dispatch currently allocates both iPhone and iPad macOS jobs, then spends a runner on an iPad job whose steps only say “Skipping ipad.” Select and validate the requested family in the existing Linux routing job, then expand the macOS matrix from that output. Missing/default and
bothinputs retain both families; invalid inputs fail before Mac allocation.Run names now include the requested ref, package or simulator suite, test filter, family, and requested iOS version, so distinct manual iterations are visible in Actions.
This extracts only family selection from the broader draft #13600. Simulator build-once/product-transfer work remains there; this change does not reuse products across revisions or cancel legitimate manual runs.
Validation: four dispatch regression tests pass, including execution of the workflow's real matrix-selector script for missing, empty, both, iPhone, iPad, and invalid inputs. The runner-admission safety suite and
git diff --checkpass. The first commit demonstrates the missing selector and run-name regression; the second implements them.Summary by cubic
Manual iOS dispatches now select and validate simulator families in the Linux routing job before allocating macOS runners. Only requested families enter the matrix and execute tests, replacing the old behavior of allocating and then skipping unrequested jobs.
bothinputs select both families;iphoneandipadselect one; invalid values fail before Mac allocation.Written for commit 3a6a149. Summary will update on new commits.
Summary by CodeRabbit