Skip to content

Conversation

@transphorm
Copy link
Member

@transphorm transphorm commented Oct 1, 2025

Summary by CodeRabbit

  • Chores

    • Improved mobile deployment workflow to create version bump PRs directly within the pipeline, with better handling when no changes are detected.
    • Increased internal build numbers for iOS and Android to support the next release cycle.
    • Updated deployment metadata timestamps.
  • Note

    • No user-facing changes or feature updates in this release.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Oct 1, 2025

Caution

Review failed

The pull request is closed.

Walkthrough

Replaces the mobile deploy workflow’s PR-creation action with an in-workflow git/gh script that creates a branch, commits version file changes, cherry-picks onto origin/dev, and opens a PR only when changes exist. Also bumps app/version.json build numbers and updates the Android lastDeployed timestamp.

Changes

Cohort / File(s) Summary
Workflow PR creation overhaul
.github/workflows/mobile-deploy.yml
Replaces prior action with scripted git + gh flow: config user, stage version files, skip on no changes, temp commit/branch, fetch dev, branch from origin/dev, cherry-pick, push, and gh pr create targeting dev using GH_TOKEN.
Version metadata bump
app/version.json
iOS build 174→175; Android build 104→105; android.lastDeployed timestamp updated; ios.lastDeployed unchanged.

Sequence Diagram(s)

sequenceDiagram
  autonumber
  participant GA as GitHub Actions Job
  participant Git as Local Git (runner)
  participant Origin as origin (GitHub)
  participant GH as gh CLI (PR API)

  Note over GA: Start "Create PR with version files"
  GA->>Git: Configure user.name/email
  GA->>Git: Stage version files (version.json, package.json, yarn.lock)
  Git-->>GA: Detect changes?
  alt No changes
    GA->>GA: Exit early (skip PR)
  else Changes present
    GA->>Git: Commit on temp local branch
    GA->>Origin: Fetch dev
    GA->>Git: Create branch from origin/dev
    GA->>Git: Cherry-pick temp commit
    GA->>Git: Delete temp branch
    GA->>Origin: Push new branch ci/update-version-${run_id}
    GA->>GH: gh pr create --base dev --head ci/update-version-...
    GH-->>GA: PR URL/confirmation
  end
Loading

Estimated code review effort

🎯 3 (Moderate) | ⏱️ ~25 minutes

Possibly related PRs

Suggested labels

codex

Suggested reviewers

  • remicolin
  • aaronmgdr

Poem

A branch takes shape from runner’s hand,
Cherry-picks dance to meet dev’s land.
If nothing changed, we bow and pass—
But builds step up, a ticking glass.
GH opens gates with one swift key—
Version winds set mobile free.

✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch dev

📜 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 4f80aa5 and 3907a04.

📒 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 86b1589 into staging Oct 1, 2025
21 of 22 checks passed
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