[CI] Get the correct target branch on public interface validation#3832
[CI] Get the correct target branch on public interface validation#3832testableapple wants to merge 1 commit intodevelopfrom
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughUpdates the Fastlane pipeline by adding an XcodeProj dependency, removing two Cocoapods-related lanes, simplifying release/publish calls, and reworking validate_public_interface to auto-detect the target branch, run analyses on current and target branches, diff results, and restore the original branch. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
participant CI as CI
participant FL as Fastlane
participant GIT as Git
participant ANA as Public Interface Analyzer
Note over FL: validate_public_interface (updated flow)
CI->>FL: Invoke lane
FL->>FL: Determine target_branch (GITHUB_BASE_REF → main/develop)
FL->>ANA: Analyze current branch API surface
FL->>GIT: git checkout target_branch
FL->>ANA: Analyze target branch API surface
FL->>FL: Diff analyses and report
FL->>GIT: Restore original branch
FL-->>CI: Exit with status
Estimated code review effort🎯 3 (Moderate) | ⏱️ ~25 minutes Possibly related PRs
Suggested reviewers
Poem
✨ Finishing touches🧪 Generate unit tests (beta)
📜 Recent review detailsConfiguration used: CodeRabbit UI Review profile: CHILL Plan: Pro Disabled knowledge base sources:
📒 Files selected for processing (1)
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