Skip to content

sync: port upstream real-route app store screenshot harness (#4014) - #165

Merged
aaditagrawal merged 2 commits into
mainfrom
sync/20260717-mobile-showcase
Jul 17, 2026
Merged

sync: port upstream real-route app store screenshot harness (#4014)#165
aaditagrawal merged 2 commits into
mainfrom
sync/20260717-mobile-showcase

Conversation

@aaditagrawal

@aaditagrawal aaditagrawal commented Jul 17, 2026

Copy link
Copy Markdown
Owner

What changed

  • Ports upstream #4014: real-route app store screenshot harness (showcase coordinator, scripts, workflow, native autoFocus hooks, docs).
  • Preserves fork: IncomingShare provider + share linking filter (merged with showcase prepare), personal-team/share stack from sync: port upstream native mobile share target support (#4021) #164, sync:upstream-prs script, Android hardwareKeyRevision 3.

Validation

  • Showcase unit tests passed in port worktree; tip vp check + vp run typecheck passed after pnpm install (pngjs)
  • Ancestry merge of upstream/main is content-empty vs this tip (will record on trunk after stack merges)

Stack: 6 of 6; depends on #164.

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown

Warning

Review limit reached

@aaditagrawal, you've reached your PR review limit, so we couldn't start this review.

Next review available in: 9 minutes

Enable usage-based reviews in Billing to review now. Otherwise, wait until the next included review is available.
You're only billed for reviews past your plan's rate limits ($0.25/file).

How can I continue?

After more reviews become available, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

To avoid repeated limits, reduce automatic review volume by pausing incremental auto-reviews earlier, using label-based review opt-in, excluding WIP or generated PR titles, or requesting reviews manually when the PR is ready. If your team needs uninterrupted high-volume reviews, an organization admin can enable usage-based reviews.

How do review limits work?

CodeRabbit enforces per-developer PR review limits for each organization. Most developers receive the normal plan review availability.

For paid Pro and Pro+ PR reviews, CodeRabbit uses adaptive limits for sustained high-volume activity. When a developer's recent PR review activity reaches the 95th percentile or higher among CodeRabbit users, additional reviews become available more gradually as earlier reviews age out of the rolling window.

Please refer docs for additional details.

Review details
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro

Run ID: a8a4e76c-489c-459f-9e71-2f43e2386fdd

📥 Commits

Reviewing files that changed from the base of the PR and between 98b28e2 and 8a57e8b.

⛔ Files ignored due to path filters (1)
  • pnpm-lock.yaml is excluded by !**/pnpm-lock.yaml
📒 Files selected for processing (39)
  • .github/workflows/mobile-showcase-screenshots.yml
  • .gitignore
  • apps/mobile/index.ts
  • apps/mobile/modules/t3-native-controls/android/src/main/java/expo/modules/t3nativecontrols/T3NativeControlsModule.kt
  • apps/mobile/modules/t3-native-controls/ios/T3NativeControlsModule.swift
  • apps/mobile/modules/t3-terminal/android/src/main/java/expo/modules/t3terminal/T3TerminalModule.kt
  • apps/mobile/modules/t3-terminal/android/src/main/java/expo/modules/t3terminal/T3TerminalView.kt
  • apps/mobile/modules/t3-terminal/ios/T3TerminalModule.swift
  • apps/mobile/modules/t3-terminal/ios/T3TerminalView.swift
  • apps/mobile/package.json
  • apps/mobile/src/App.tsx
  • apps/mobile/src/Stack.tsx
  • apps/mobile/src/features/connection/CloudEnvironmentRows.tsx
  • apps/mobile/src/features/diffs/nativeReviewDiffSurface.test.ts
  • apps/mobile/src/features/diffs/nativeReviewDiffSurface.ts
  • apps/mobile/src/features/home/HomeScreen.tsx
  • apps/mobile/src/features/review/ReviewSheet.tsx
  • apps/mobile/src/features/settings/SettingsEnvironmentsRouteScreen.tsx
  • apps/mobile/src/features/showcase/ShowcaseCaptureCoordinator.tsx
  • apps/mobile/src/features/showcase/nativeShowcaseScene.ts
  • apps/mobile/src/features/showcase/showcaseEnvironmentRows.test.ts
  • apps/mobile/src/features/showcase/showcaseEnvironmentRows.ts
  • apps/mobile/src/features/showcase/showcasePendingTasks.test.ts
  • apps/mobile/src/features/showcase/showcasePendingTasks.ts
  • apps/mobile/src/features/showcase/showcaseRetry.test.ts
  • apps/mobile/src/features/showcase/showcaseRetry.ts
  • apps/mobile/src/features/terminal/NativeTerminalSurface.tsx
  • apps/mobile/src/features/terminal/ThreadTerminalRouteScreen.tsx
  • apps/mobile/src/features/terminal/nativeTerminalModule.ts
  • apps/mobile/src/state/thread-outbox-manager.ts
  • apps/mobile/src/state/thread-outbox.test.ts
  • docs/operations/mobile-app-store-screenshots.md
  • package.json
  • pnpm-workspace.yaml
  • scripts/mobile-showcase-environment.ts
  • scripts/mobile-showcase.config.ts
  • scripts/mobile-showcase.test.ts
  • scripts/mobile-showcase.ts
  • scripts/package.json
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch sync/20260717-mobile-showcase

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.

@github-actions github-actions Bot added vouch:trusted PR author is trusted by repo permissions or the VOUCHED list. size:XXL 1,000+ effective changed lines (test files excluded in mixed PRs). labels Jul 17, 2026
@aaditagrawal

Copy link
Copy Markdown
Owner Author

@coderabbitai review

@coderabbitai

coderabbitai Bot commented Jul 17, 2026

Copy link
Copy Markdown
✅ Action performed

Review finished.

Note: CodeRabbit is an incremental review system and does not re-review already reviewed commits. This command is applicable only when automatic reviews are paused.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: dee36cf808

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread scripts/mobile-showcase-environment.ts Outdated
Comment thread apps/mobile/src/features/showcase/ShowcaseCaptureCoordinator.tsx
Comment thread scripts/mobile-showcase.ts
Comment thread scripts/mobile-showcase.ts
@aaditagrawal
aaditagrawal force-pushed the sync/20260717-mobile-showcase branch from dee36cf to cc166ef Compare July 17, 2026 10:37
@aaditagrawal
aaditagrawal force-pushed the sync/20260717-mobile-share branch 2 times, most recently from 4fab015 to d854de6 Compare July 17, 2026 10:38
@aaditagrawal
aaditagrawal force-pushed the sync/20260717-mobile-showcase branch from cc166ef to 54f392d Compare July 17, 2026 10:38

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 54f392db00

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

host: string,
config: ShowcaseConfig,
): Promise<void> {
const url = `http://${host}:${config.metroPort}/apps/mobile/index.bundle?platform=${platform}&dev=true&minify=false`;

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Warm Metro from the actual mobile entry path

For every normal capture where --skip-metro is not passed, startMetro launches Expo with cwd: MOBILE_ROOT, and apps/mobile/metro.config.js keeps apps/mobile as Metro's project root. Requesting /apps/mobile/index.bundle therefore resolves an entry beneath apps/mobile/apps/mobile/ rather than the real apps/mobile/index.ts; curl --fail aborts the harness during bundle warming before any build or capture runs. Request /index.bundle here, or explicitly configure Metro with the repository root.

Useful? React with 👍 / 👎.

Comment on lines +62 to +65
export function resolveShowcaseAndroidAbi(
value: string | undefined,
): NonNullable<ShowcaseAndroidDevice["abi"]> {
if (!value) return "arm64-v8a";

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P2 Badge Derive the default Android ABI from the host

When an Intel Mac or local x86_64 Linux developer runs the documented Android command without setting T3_SHOWCASE_ANDROID_ABI, this always selects arm64-v8a; buildAndroid then passes that as the only reactNativeArchitectures value even when Pixel_10_Pro is an x86_64 AVD, leaving the APK without compatible native libraries. CI avoids the failure only because its workflow explicitly overrides the variable. Default according to process.arch (or inspect the configured AVD), while retaining the environment override.

Useful? React with 👍 / 👎.

aaditagrawal commented Jul 17, 2026

Copy link
Copy Markdown
Owner Author

Merge activity

  • Jul 17, 10:56 AM UTC: A user started a stack merge that includes this pull request via Graphite.
  • Jul 17, 11:06 AM UTC: Graphite rebased this pull request as part of a merge.
  • Jul 17, 11:06 AM UTC: @aaditagrawal merged this pull request with Graphite.

@aaditagrawal
aaditagrawal changed the base branch from sync/20260717-mobile-share to graphite-base/165 July 17, 2026 11:03
@aaditagrawal
aaditagrawal changed the base branch from graphite-base/165 to main July 17, 2026 11:04
aaditagrawal added 2 commits July 17, 2026 11:05
Gate ShowcaseCaptureCoordinator behind EXPO_PUBLIC_SHOWCASE, align terminal
history seeding with historyPath, fully decode PNGs during validate-only, and
reissue one-time pairing grants on iOS launch retries.
@aaditagrawal
aaditagrawal force-pushed the sync/20260717-mobile-showcase branch from 54f392d to 8a57e8b Compare July 17, 2026 11:05
@aaditagrawal
aaditagrawal merged commit 9dac0a4 into main Jul 17, 2026
12 checks passed
@aaditagrawal
aaditagrawal deleted the sync/20260717-mobile-showcase branch August 1, 2026 19:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

size:XXL 1,000+ effective changed lines (test files excluded in mixed PRs). vouch:trusted PR author is trusted by repo permissions or the VOUCHED list.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant