Refresh same-account Iroh discovery on iOS startup - #9430
Conversation
📝 WalkthroughWalkthroughChangesReview-Mac Discovery and Setup
Estimated code review effort: 2 (Simple) | ~10 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 24 | ❌ 1❌ Failed checks (1 warning)
✅ Passed checks (24 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
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 |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@ios/AppStoreReview/metadata-screenshots-checklist.md`:
- Around line 18-23: Establish one canonical App Store Connect notes template
and ensure fallback pairing details are included whenever automatic discovery
may fail. In ios/AppStoreReview/metadata-screenshots-checklist.md:18-23,
reference only the canonical pasteable block; in
ios/AppStoreReview/README.md:87-88, identify that template and mark other
documentation reference-only; in ios/AppStoreReview/reviewer-setup.md:63-67,
label the Pasteable notes block canonical and define the fallback rule; in
ios/AppStoreReview/review-notes.md:13-31, remove the competing pasteable flow or
convert the file into the finalized canonical template without unresolved
placeholders.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: e3904f52-46e2-4bba-8e12-af7fa0b3cded
📒 Files selected for processing (4)
ios/AppStoreReview/README.mdios/AppStoreReview/metadata-screenshots-checklist.mdios/AppStoreReview/review-notes.mdios/AppStoreReview/reviewer-setup.md
b7b4dc3 to
8389509
Compare
There was a problem hiding this comment.
Caution
Some comments are outside the diff and can’t be posted inline due to platform limitations.
⚠️ Outside diff range comments (1)
Packages/iOS/CmuxMobileShell/Sources/CmuxMobileShell/MobileShellComposite.swift (1)
10907-10910: 🚀 Performance & Scalability | 🟡 Minor | ⚡ Quick winMove the probe response parsing off the main actor.
sendRequestreturns raw JSON data, and the current transport limit is on total frame-buffer size, not a small probe response. KeepJSONSerialization.jsonObject(with:)offTask {@mainactor... }to avoid blocking input/rendering on one probe result.🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the rest with a brief reason, keep changes minimal, and validate. In `@Packages/iOS/CmuxMobileShell/Sources/CmuxMobileShell/MobileShellComposite.swift` around lines 10907 - 10910, Move the JSONSerialization.jsonObject(with:) call out of the Task { `@MainActor` ... } closure in the probe response handling near the guard, parsing the raw data before entering the main-actor task. Pass the parsed [String: Any] result into the actor-isolated logic while preserving the existing stream_id and subscribed validation behavior.Source: Coding guidelines
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Outside diff comments:
In
`@Packages/iOS/CmuxMobileShell/Sources/CmuxMobileShell/MobileShellComposite.swift`:
- Around line 10907-10910: Move the JSONSerialization.jsonObject(with:) call out
of the Task { `@MainActor` ... } closure in the probe response handling near the
guard, parsing the raw data before entering the main-actor task. Pass the parsed
[String: Any] result into the actor-isolated logic while preserving the existing
stream_id and subscribed validation behavior.
ℹ️ Review info
⚙️ Run configuration
Configuration used: Path: .coderabbit.yaml
Review profile: ASSERTIVE
Plan: Pro Plus
Run ID: adc50f31-36fa-4a28-84f4-96ddde10bdc0
📒 Files selected for processing (3)
Packages/iOS/CmuxMobileShell/Sources/CmuxMobileShell/MobileShellComposite+ConnectionRecovery.swiftPackages/iOS/CmuxMobileShell/Sources/CmuxMobileShell/MobileShellComposite.swiftPackages/iOS/CmuxMobileShell/Tests/CmuxMobileShellTests/IrohConnectionRecoveryOwnerTests.swift
8389509 to
1a6cf89
Compare
Bugbot is paused — on-demand spend limit reachedBugbot uses usage-based billing for this team and has hit its on-demand spend limit. A team admin can raise the spend limit in the Cursor dashboard, or wait for the next billing cycle to continue. |
This reverts commit 1a6cf89.
CodeRabbit flagged conflicting instructions: the checklist said to paste all of review-notes.md into App Store Connect while reviewer-setup.md had its own pasteable block with the manual pairing fallback. The reviewer-setup.md block is now the single canonical template and review-notes.md is marked reference-only. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Summary
Why
Verification
Pending or blocked verification
Notes
Summary by CodeRabbit
New Features
Bug Fixes
Documentation
reviewer-setup.mdas the canonical App Store Connect notes template.review-notes.mdis reference-only.