Skip to content

Conversation

@transphorm
Copy link
Member

@transphorm transphorm commented Sep 28, 2025

Summary by CodeRabbit

  • Chores
    • Switched the Android passport module to the new NFC reader repository across project configuration, setup scripts, and ignore rules.
    • Updated CI, deployment, and end-to-end workflows to clone, verify, and use the new module consistently.
    • Adjusted automation to install and reference the new private module path during local and CI builds.
    • Standardized logs and messages to reflect the new module name.
    • No user-facing changes; functionality and build flow remain the same.

@coderabbitai
Copy link
Contributor

coderabbitai bot commented Sep 28, 2025

Walkthrough

Renames all references from android-passport-reader to android-passport-nfc-reader across ignore lists, GitHub workflows, a custom GitHub Action, Android Gradle settings, and setup/build scripts. Paths, clone URLs, environment checks, and messages are updated accordingly. No logic or behavior changes beyond pointing to the new repository/module location.

Changes

Cohort / File(s) Summary
Ignore lists
./.cursorignore, ./.gitignore
Updated ignored paths from app/android/android-passport-reader/... to app/android/android-passport-nfc-reader/....
GitHub Workflows
.github/workflows/mobile-ci.yml, .github/workflows/mobile-deploy.yml, .github/workflows/mobile-e2e.yml
Switched clone steps and references from android-passport-reader to android-passport-nfc-reader; adjusted step names, condition checks, and messages.
Android Gradle config
app/android/settings.gradle
Changed :passportreader module projectDir to ./android-passport-nfc-reader/app.
Build/setup scripts
app/scripts/mobile-ci-build-android.sh, app/scripts/setup-private-modules.cjs
Repointed repo names, paths, and clone URLs to android-passport-nfc-reader; updated logs and error messages.
Custom GitHub Action
.github/actions/clone-android-passport-nfc-reader/action.yml
Action configured to clone/check android-passport-nfc-reader; updated path checks, URLs, and output messages accordingly.

Sequence Diagram(s)

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~10 minutes

Possibly related PRs

Suggested labels

codex

Suggested reviewers

  • remicolin

Poem

We shifted paths where readers dwell,
From passport lanes to NFC’s new shell.
CI scripts hum, Gradle points true,
Actions clone the fresher view.
No logic stirred, just routes made neat—
A tidy map for builds to meet. ✨

Pre-merge checks and finishing touches

✅ Passed checks (3 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title Check ✅ Passed The title succinctly describes the primary change of renaming the android-passport-reader module to android-passport-nfc-reader and follows the conventional commit format with a clear “chore:” prefix. It directly reflects the modifications in file paths, workflows, and scripts without extraneous detail. This makes it easy for reviewers to understand the focus of the pull request at a glance.
Docstring Coverage ✅ Passed No functions found in the changes. Docstring coverage check skipped.
✨ Finishing touches
🧪 Generate unit tests
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch justin/chore-rename-android-passport-reader-repo

📜 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 8c9668d and 85434d5.

📒 Files selected for processing (1)
  • .github/actions/clone-android-passport-nfc-reader/action.yml (3 hunks)
⏰ Context from checks skipped due to timeout of 300000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (5)
  • GitHub Check: build-deps
  • GitHub Check: e2e-ios
  • GitHub Check: android-build-test
  • GitHub Check: analyze-android
  • GitHub Check: analyze-ios

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.

Copy link
Contributor

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actionable comments posted: 1

📜 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 bd8d425 and 8c9668d.

📒 Files selected for processing (9)
  • .cursorignore (2 hunks)
  • .github/actions/clone-android-passport-reader/action.yml (3 hunks)
  • .github/workflows/mobile-ci.yml (1 hunks)
  • .github/workflows/mobile-deploy.yml (1 hunks)
  • .github/workflows/mobile-e2e.yml (3 hunks)
  • .gitignore (1 hunks)
  • app/android/settings.gradle (1 hunks)
  • app/scripts/mobile-ci-build-android.sh (1 hunks)
  • app/scripts/setup-private-modules.cjs (2 hunks)
🧰 Additional context used
📓 Path-based instructions (2)
app/android/**/*

⚙️ CodeRabbit configuration file

app/android/**/*: Review Android-specific code for:

  • Platform-specific implementations
  • Performance considerations
  • Security best practices for mobile

Files:

  • app/android/settings.gradle
.github/workflows/**/*.{yml,yaml}

📄 CodeRabbit inference engine (AGENTS.md)

.github/workflows/**/*.{yml,yaml}: In GitHub Actions workflows, use shared composite caching actions from .github/actions (cache-yarn, cache-bundler, cache-gradle, cache-pods)
Do not call actions/cache directly; rely on the shared composite caching actions
When using cache actions, optionally pass cache-version (often with GH_CACHE_VERSION and tool version) for stable keys

Files:

  • .github/workflows/mobile-deploy.yml
  • .github/workflows/mobile-ci.yml
  • .github/workflows/mobile-e2e.yml
🧠 Learnings (5)
📓 Common learnings
Learnt from: CR
PR: selfxyz/self#0
File: app/AGENTS.md:0-0
Timestamp: 2025-09-22T11:10:57.879Z
Learning: Applies to app/android/**/*.{kt,java} : Document complex native Android module changes in the PR
📚 Learning: 2025-09-22T11:10:57.879Z
Learnt from: CR
PR: selfxyz/self#0
File: app/AGENTS.md:0-0
Timestamp: 2025-09-22T11:10:57.879Z
Learning: Applies to app/android/**/*.{kt,java} : Document complex native Android module changes in the PR

Applied to files:

  • .gitignore
  • app/android/settings.gradle
📚 Learning: 2025-08-29T15:31:15.924Z
Learnt from: CR
PR: selfxyz/self#0
File: packages/mobile-sdk-alpha/AGENTS.md:0-0
Timestamp: 2025-08-29T15:31:15.924Z
Learning: Applies to packages/mobile-sdk-alpha/{**/*.test.{ts,tsx},**/__tests__/**/*.{ts,tsx}} : Ensure parseNFCResponse() works with representative, synthetic NFC data

Applied to files:

  • .gitignore
  • .github/workflows/mobile-e2e.yml
📚 Learning: 2025-08-29T15:31:15.924Z
Learnt from: CR
PR: selfxyz/self#0
File: packages/mobile-sdk-alpha/AGENTS.md:0-0
Timestamp: 2025-08-29T15:31:15.924Z
Learning: Applies to packages/mobile-sdk-alpha/{**/*.test.{ts,tsx},**/__tests__/**/*.{ts,tsx}} : Test isPassportDataValid() with realistic synthetic passport data (never real user data)

Applied to files:

  • .gitignore
📚 Learning: 2025-08-24T18:54:04.809Z
Learnt from: CR
PR: selfxyz/self#0
File: .cursor/rules/mobile-sdk-migration.mdc:0-0
Timestamp: 2025-08-24T18:54:04.809Z
Learning: Applies to packages/mobile-sdk-alpha/demo/** : Provide an in-SDK lightweight React Native demo under packages/mobile-sdk-alpha/demo/

Applied to files:

  • .cursorignore
⏰ Context from checks skipped due to timeout of 300000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: e2e-ios
  • GitHub Check: analyze-android
  • GitHub Check: analyze-ios
  • GitHub Check: build-deps

@transphorm transphorm merged commit 1c2a59f into dev Sep 29, 2025
36 checks passed
@transphorm transphorm deleted the justin/chore-rename-android-passport-reader-repo branch September 29, 2025 00:12
This was referenced Sep 29, 2025
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