-
Notifications
You must be signed in to change notification settings - Fork 179
chore: address staging branch issues pr #1169 #1178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
chore: address staging branch issues pr #1169 #1178
Conversation
|
Caution Review failedThe pull request is closed. WalkthroughSwitches iOS run command to a Node script that auto-selects a simulator. Adds fetch timeouts and error-state resets across protocol store fetchers. Adjusts crypto polyfill to normalize key inputs. Updates Aadhaar mock utilities and circuit input/export naming. Tweaks Metro resolver for @noble/hashes. Minor logging, tests, exports, and version bump. Changes
Sequence Diagram(s)sequenceDiagram
autonumber
actor Dev as Developer
participant N as Node Script (run-ios-simulator.cjs)
participant X as xcrun simctl
participant RN as react-native CLI
Dev->>N: yarn ios
N->>X: simctl list devices available --json
X-->>N: JSON devices
N->>N: Select latest available iPhone simulator
alt Simulator found
N->>RN: run-ios --scheme OpenPassport --simulator="Name"
RN-->>Dev: Build/run output
else None found
N->>Dev: Log error and exit(1)
end
sequenceDiagram
autonumber
participant S as ProtocolStore
participant F as fetchWithTimeout
participant Net as Network/API
participant AC as AbortController
S->>F: fetch(url, opts, timeoutMs)
F->>AC: start timer
F->>Net: fetch(url, {signal})
alt Response before timeout
Net-->>F: Response
F->>AC: clear timer
F-->>S: Parsed data
S->>S: Update state with data
else Timeout or error
F->>AC: abort()
F-->>S: Throw error
S->>S: Log and set related state fields to null
end
Estimated code review effort🎯 4 (Complex) | ⏱️ ~55 minutes Possibly related PRs
Suggested labels
Suggested reviewers
Poem
✨ Finishing touches
🧪 Generate unit tests
📜 Recent review detailsConfiguration used: Path: .coderabbit.yaml Review profile: CHILL Plan: Pro ⛔ Files ignored due to path filters (2)
📒 Files selected for processing (16)
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 |
Summary by CodeRabbit
New Features
Bug Fixes
Chores
Tests