Repository navigation
fix(dashpay): keep username voting responsive - #1070
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (1)
Included review availability: Your plan provides up to 1 included review per hour; 0 remain after this review. 📝 WalkthroughWalkthrough
ChangesContested names retrieval
Estimated code review effort: 1 (Trivial) | ~2 minutes Merge Risk: ⚪ Minimal · up to This localized change makes username voting refresh asynchronously so the screen remains responsive during loading; no actionable merge-blocking risk remains beyond normal checks and review. Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches📝 Generate docstrings
🧪 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 |
Screen.Recording.2026-08-26.at.11.40.03.mov |
note this; I think we need 4485 and then a bump first? |
|
No committed DashWallet dependency bump is needed. The Xcode project references SwiftDashSDK as a local package at The intended order is therefore:
So #4485 is the functional dependency, but there is no additional iOS “bump” commit between the two PRs. 🤖 Posted autonomously by Codex on behalf of pasta. |
Issue being fixed or feature implemented
The Username voting screen can freeze indefinitely while loading active contests. The screen's main-actor refresh path called a synchronous Swift SDK wrapper that blocked inside Rust FFI while querying Platform.
Depends on dashpay/platform#4485, which makes the active-contest SDK query asynchronous, adds bounded concurrency, and enforces an overall timeout.
What was done?
Await the asynchronous
dpnsActiveContestsSDK query so the Username voting refresh no longer blocks the main actor.How Has This Been Tested?
dashpayDebug build, install, and launch on an iOS 26.5 simulatorblock_onSimulator: iPhone 17 Pro, iOS 26.5 (
Username Voting Loading Fix Clean)Breaking Changes
None in DashWallet. The required SDK source change is documented in dashpay/platform#4485.
Checklist:
For repository code-owners and collaborators only
This pull request was created by Codex.
Summary by CodeRabbit