Repository navigation
docs(swift-example-app): add test plan rows for DashPay private contact requests - #6117
Conversation
…ct requests TEST_PLAN.md section 4.10 had no rows for the private contact request flows SwiftExampleApp already ships. Add DP-20..DP-30: send privately (type 29 paid from the shielded pool), the private store sync and its readiness reads, accept replying in kind, accept privately from the Add Contact collision alert, and the held states the views show (may have gone through, pair held for a private request (71), public request awaiting its outcome (76), private payments not restored (72), refusals with nothing sent (73, 74, 75, needs a private reply)), the journaled payment hold across a restart, and a two-wallet loop. Each row says it was not driven on a simulator and names the Rust and Swift unit tests covering its path. Also add a protocol version 15 / shielded balance / DashPay identities fixture, point DP-02 at the in-kind accept the Requests list now calls, and update the summary matrix and the category and tag index. Add the accessibility identifiers the rows rely on, identifiers only: dashpay.addContact.error, dashpay.addContact.collision.accept, dashpay.addContact.collision.continue, dashpay.addContact.submitted.done, dashpay.requests.list, dashpay.request.busy, dashpay.request.message and dashpay.request.outgoingPending. Co-Authored-By: Claude Opus 5.5 <[email protected]>
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 8 minutes. View limit details
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. |
|
|
|
Waiting for bot review — thepastaclaw not yet. Wait for the missing reviews, or a writer can post |
thepastaclaw
left a comment
There was a problem hiding this comment.
⚠️ DEGRADED — Final review — Phase 1 only (trivial change)
⚠️ DEGRADED review. The primary review models were unavailable (gpt-6.2-solunavailable: Request rejected (429) · All credentials for model gpt-6.2-sol are cooling down (last error: usage_limit_reached: The us), so this review ran on stand-in models:gpt-5.6-luna→muse-spark-1.3-contributor,gpt-5.6-sol→muse-spark-1.3-contributor,gpt-5.6-terra→muse-spark-1.3-contributor,gpt-6-astra→muse-spark-1.3-contributor,gpt-6.1-sol→muse-spark-1.3-contributor,gpt-6.2-astra→muse-spark-1.3-contributor,gpt-6.2-sol→muse-spark-1.3-contributor. Both review phases and the independent verifiers still ran, but on weaker models, with Phase 1 capped athigheffort. Treat the verdict as provisional; a full-strength re-review will run on the next push once the primary models are back.
Nothing blocks: no blocking finding stands on this head.
Docs-plus-test-hook PR: adds TEST_PLAN.md rows DP-20..DP-30 for private DashPay contact requests plus fixture/matrix updates, and adds accessibility identifiers in AddContactView and ContactRequestsView with no view-logic changes. CI shows no failures; Swift SDK build is still queued with the remaining jobs skipped or successful.
Review provenance
Source: reviewer 1: muse-spark-1.3-contributor (agent: phase1-reviewer, role: general); reviewer 2: muse-spark-1.3-contributor (agent: phase1-reviewer, role: architecture-layering); final verifier: muse-spark-1.3-contributor (standing in for gpt-6.2-sol) (agent: sol-gate-verifier, role: final-verifier)
- Degraded mode:
gpt-6.2-solunavailable: Request rejected (429) · All credentials for model gpt-6.2-sol are cooling down (last error: usage_limit_reached: The us (detected by probe, since 2026-11-23T09:07:27Z); stand-insgpt-5.6-luna→muse-spark-1.3-contributor,gpt-5.6-sol→muse-spark-1.3-contributor,gpt-5.6-terra→muse-spark-1.3-contributor,gpt-6-astra→muse-spark-1.3-contributor,gpt-6.1-sol→muse-spark-1.3-contributor,gpt-6.2-astra→muse-spark-1.3-contributor,gpt-6.2-sol→muse-spark-1.3-contributor; Phase 1 effort capped athigh - Triage:
trivialbymuse-spark-1.3-contributor(standing in forgpt-6.2-sol) (effort low) — Diff only adds TEST_PLAN.md rows and test-only accessibility identifiers with no app logic change. - Phase 1 reviewers:
muse-spark-1.3-contributor— general (completed, effort high); agentphase1-reviewer,muse-spark-1.3-contributor— architecture-layering (completed, effort high); agentphase1-reviewer - Phase 1 model:
muse-spark-1.3-contributor— not quota-gated; passed overgemini-3.8-flash-high(antigravity quota lookup failed),glm-5.3-flash(zai below 15% reserve: 5h 100% left, weekly 0% left) - Fresh verifier:
muse-spark-1.3-contributor(standing in forgpt-6.2-sol) — final-verifier; agentsol-gate-verifier - Phase 2 reviewers: not run (triage rated this change trivial); this review comments and never approves
|
Bots are done — your move: post |
Basic explanation
SwiftExampleApp can already send, accept and sync DashPay contact requests privately. These are paid from the shielded pool as a private document entry (state transition type 29), so nothing on chain names either identity. The QA test plan had no rows for any of it, so nobody had a script to check it. This PR adds those rows and the few accessibility identifiers they need. App behavior does not change.
Before:
TEST_PLAN.mdsection 4.10 (DashPay) covered only public contact requests. A search for "privately", "private request" or "in kind" found nothing.After: rows DP-20 to DP-30 cover:
DP-02 now points at the replying-in-kind accept that the Requests list calls. The PR also adds a fixture for a protocol version 15 network with shielded balance and DashPay identities, and updates the summary matrix and the category and tag index.
Issue being fixed or feature implemented
These are the test plan rows for the private contact request flows that already ship, needed so the app can exercise type 29 on a live network after the protocol version 14 to 15 upgrade rehearsal. The general "create an entry in any private type" screen is coming in a separate PR.
What was done?
packages/swift-sdk/SwiftExampleApp/TEST_PLAN.md: rows DP-20 to DP-30, a DP-02 update, the new fixture, and the matrix and index updates. Each row gives the navigation path, the identifiers it uses, the expected results and prerequisites, and names the Rust and Swift unit tests that cover the path.AddContactView.swift:dashpay.addContact.error,dashpay.addContact.collision.accept,dashpay.addContact.collision.continue,dashpay.addContact.submitted.doneContactRequestsView.swift:dashpay.requests.list,dashpay.request.busy,dashpay.request.message,dashpay.request.outgoingPendingHow Has This Been Tested?
./build_ios.sh --target sim(release xcframework, then the SwiftExampleApp simulator build) exited 0 with** BUILD SUCCEEDED **, compiling both edited views.rs-platform-wallet,rs-platform-wallet-ffiandSwiftExampleAppTests. They were not re-run for this PR, which changes no logic.PrivateContactRequests.swift, the FFI functions and the Rust doc comments. DP-02 was stale: the Requests list's Accept now callsplatform_wallet_manager_accept_contact_request_replying_in_kind, and the row says so now.Not yet verified
Breaking Changes
None.
Checklist:
structure.rs, regeneratedgrovedb-structure.json, and checked the structure viewer link posted on this pull requestFor repository code-owners and collaborators only
🤖 Generated with Claude Code
PR Hygiene ·
e775ffe/self-reviewedswift-sdk(packages/swift-sdk/SwiftExampleApp/SwiftExampleApp/Views/DashPay/AddContactView.swift,packages/swift-sdk/SwiftExampleApp/SwiftExampleApp/Views/DashPay/ContactRequestsView.swift,packages/swift-sdk/SwiftExampleApp/TEST_PLAN.md) — llbartekll or romchornyiWhen every merge requirement is met, the
PR Hygienecheck passes. Reviewer limits do not block merging; other required GitHub checks and protections still apply.