Skip to content

feat(mobile): adopt terminal WalletConnect lifecycle APIs - #1343

Merged
sidhujag merged 8 commits into
codex/mobile-parity-compose-1338from
codex/native-walletconnect-terminal-adoption
Nov 8, 2026
Merged

sidhujag merged 8 commits into
codex/mobile-parity-compose-1338from
codex/native-walletconnect-terminal-adoption

Conversation

@sidhujag

@sidhujag sidhujag commented Nov 8, 2026

Copy link
Copy Markdown
Member

Changes

  • Adopt the reviewed public Core.dispose() and SignClient.dispose() APIs. Close now retires admission immediately, joins SDK construction and initialization, drains both owners, and then checks the protected-storage barrier.
  • Apply a temporary, source-bound WalletConnect artifact patch. Original packages match npm lock integrities. Every affected file must contain either original bytes or the exact reviewed replacement before installation. Linked dependency roots, package folders and output files are refused.
  • Keep the existing Ledger patch and both qualification identities intact.
  • Add deterministic lifecycle tests and a native Release-loopback lane for established socket closure, cancelled handshakes and quiet post-disposal behavior. The host checks its own socket audit and the exact candidate identity.

Upstream work

The temporary patch covers Pali's CJS, ESM and declaration entry points. Package versions remain at the original npm versions, while qualification records both upstream revisions and the artifact-manifest digest. Remove the patch when the corresponding official releases are adopted. The qualification README records the build toolchain and Utils configuration adjustments.

Stack

This PR targets the reviewed integration candidate codex/mobile-parity-compose-1338, incorporating the work in #1332, #1333, #1334, #1335, #1336, #1337, #1338, #1339, #1340, #1341 and #1342. Retarget to master after those parents land. Integration explicitly preserves both install hooks, workflow path filters and qualification provenance checks.

Validation

  • 45 focused transport, real SDK, artifact-provenance and loopback protocol cases passed before parent integration.
  • 36 existing HTTP fixture/host regressions passed.
  • Mobile TypeScript and affected root/mobile lint passed.
  • Final composed Ledger/WalletConnect checks are recorded in the follow-up comment.

Qualification gates

This remains draft. Actual Android and iOS execution of the new Release-loopback lane and live relay lifecycle/reconnection evidence remain required. Node protocol execution demonstrates the harness and shared runtime path. Physical-device qualification follows the existing parity gates.

…tive-walletconnect-terminal-adoption

# Conflicts:
#	.github/workflows/mobile-native-qualification.yml
#	.github/workflows/mobile.yml
#	apps/mobile/package.json
#	apps/mobile/scripts/qualification-sdk.cjs
@vercel

vercel Bot commented Nov 8, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
pali-wallet Ready Ready Preview Nov 8, 2026 7:18am UTC

Request Review

@vercel

vercel Bot commented Nov 8, 2026

Copy link
Copy Markdown

Deployment failed for project pali-wallet with the following error:

Resource is limited - try again in 24 hours (more than 100, code: "api-deployments-free-per-day").

Learn More: https://vercel.com/sidhujags-projects?upgradeToPro=build-rate-limit

@sidhujag

sidhujag commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

Exact candidate head dbf34f97b2bcd1b6650c29e18737bf719ef54ea1 integrates the current reviewed parent candidate 9b8e1e819ccab4a876876fced59850a919ce05b0.

  • 63 composed Ledger/WalletConnect controller, actual SDK, artifact-provenance and loopback protocol cases pass.
  • 36 existing HTTP fixture/host regressions passed before parent integration.
  • Mobile TypeScript and affected root/mobile lint pass.
  • Independent reviews covered the disposal/startup/storage boundary, all 87 replacement files against built source artifacts, and the linked-installation confinement checks.
  • Both temporary patch hooks and their distinct qualification identities coexist. Package/lock versions remain unchanged except the lockfile's install-script marker.

Native Android/iOS execution of the added loopback lane and live relay qualification remain pending. This PR remains draft. The dependency list and integration-base/retarget requirement are in the description.

…mobile-parity-compose.20261107/source into codex/native-walletconnect-terminal-adoption
@sidhujag

sidhujag commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

@codex review

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 8, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-08T07:04:47.661536Z becdd33 Manual request
ℹ️ 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" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@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: e58835ff55

ℹ️ 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 apps/mobile/qualification/index.tsx Resolved
Comment thread apps/mobile/qualification/index.tsx Resolved
@sidhujag

sidhujag commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

@codex review

…' into codex/native-walletconnect-terminal-adoption
@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: becdd33b65

ℹ️ 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".

…mobile-parity-compose.20261107/source into codex/native-walletconnect-terminal-adoption
@sidhujag
sidhujag merged commit 43eda2e into codex/mobile-parity-compose-1338 Nov 8, 2026
14 of 19 checks passed
@sidhujag
sidhujag deleted the codex/native-walletconnect-terminal-adoption branch November 8, 2026 07:32
@sidhujag

sidhujag commented Nov 8, 2026

Copy link
Copy Markdown
Member Author

Review and native qualification continue in #1348. This PR was automatically marked merged when I advanced its development integration target before CI finished. That was a branch-management error. The replacement uses a fixed review base, with combined validation on a separate branch.

This branch was successfully deployed

1 active deployment
Preview – pali-wallet — bd021a92 Deployed Nov 8, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant