Skip to content

Conversation

@transphorm
Copy link
Member

@transphorm transphorm commented Oct 1, 2025

Summary by CodeRabbit

  • Chores

    • Streamlined mobile deployment workflow with an automated PR creation process, improving reliability and transparency in version updates.
    • Process now skips PRs when no version changes are detected.
  • Versioning

    • Incremented iOS build number to 175.
    • Updated Android last deployed timestamp.
  • Notes

    • No user-facing changes included in this release.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 1, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Replaces the workflow’s create-pull-request action with a custom Git/GitHub CLI script that branches, cherry-picks, and opens a PR targeting dev, skipping when no version changes exist. Also updates app/version.json, incrementing iOS build and updating Android lastDeployed.

Changes

Cohort / File(s) Summary
CI workflow: PR creation via Git/GH CLI
\.github/workflows/mobile-deploy.yml
Replaces peter-evans/create-pull-request with a shell script that: configures Git, stages version files, exits if no changes, commits on a temp branch, cherry-picks onto a dev-prefixed branch from origin/dev, pushes, and creates a PR using gh; requires GH_TOKEN.
Version metadata
app/version.json
Increments ios.build 174→175; updates android.lastDeployed timestamp; no changes to ios.lastDeployed.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  actor Dev as Developer
  participant GA as GitHub Actions Runner
  participant Git as Local Git
  participant Origin as origin (GitHub)
  participant GH as GitHub CLI (gh)
  participant PR as GitHub PR

  Dev->>GA: Trigger mobile-deploy workflow
  GA->>Git: Configure user, derive branch from run ID
  GA->>Git: Stage version files
  alt No changes detected
    GA-->>Dev: Exit early (no PR)
  else Changes detected
    GA->>Git: Commit on temp branch
    GA->>Origin: Fetch origin/dev
    GA->>Git: Create dev branch from origin/dev
    GA->>Git: Cherry-pick temp commit onto dev branch
    GA->>Git: Delete temp branch (cleanup)
    GA->>Origin: Push dev branch
    GA->>GH: gh pr create --base dev --title/--body
    GH->>PR: Open PR targeting dev
    PR-->>Dev: PR available for review
  end
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested labels

codex

Suggested reviewers

  • remicolin

Poem

Branches sprout from scripts that sing,
A cherry-pick’s swift, precise swing.
Tokens unlock the PR gate,
Dev to dev, we iterate.
Numbers climb, builds take flight—
Version stars wink in the night.
Onward, CI, deploy just right.

✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch justin/chore-last-build-bump-for-v268

📜 Recent review details

Configuration used: Path: .coderabbit.yaml

Review profile: CHILL

Plan: Pro

📥 Commits

Reviewing files that changed from the base of the PR and between 2bcb9f4 and 2e20ad1.

📒 Files selected for processing (2)
  • .github/workflows/mobile-deploy.yml (1 hunks)
  • app/version.json (1 hunks)

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@transphorm transphorm merged commit 3907a04 into dev Oct 1, 2025
16 of 17 checks passed
@transphorm transphorm deleted the justin/chore-last-build-bump-for-v268 branch October 1, 2025 01:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants