Skip to content

feat(ios): run Node WebAssembly, add sponsor purchases and privacy si… - #3129

Merged
deadlyjack merged 7 commits into
mainfrom
ajit/ios-node-sponsorship
Dec 1, 2026
Merged

deadlyjack merged 7 commits into
mainfrom
ajit/ios-node-sponsorship

Conversation

@deadlyjack

Copy link
Copy Markdown
Member

…gnals

  • run Node with per-version V8 flags and WebAssembly support, and add read-only NETLINK_ROUTE dumps for os.networkInterfaces()/Vite
  • expose UMP IAB consent signals and ATT progress, and harden App Store origin/cookie handling
  • add sponsor purchases and restart recovery on iOS and Android, including StoreKit products and rejected-detail repair
  • open terminal loopback links in an isolated in-app preview and supply iOS npm defaults
  • follow the System theme for dialog dimming and bump the release to 1.13.7

…gnals

- run Node with per-version V8 flags and WebAssembly support, and add read-only NETLINK_ROUTE dumps for os.networkInterfaces()/Vite
- expose UMP IAB consent signals and ATT progress, and harden App Store origin/cookie handling
- add sponsor purchases and restart recovery on iOS and Android, including StoreKit products and rejected-detail repair
- open terminal loopback links in an isolated in-app preview and supply iOS npm defaults
- follow the System theme for dialog dimming and bump the release to 1.13.7
@greptile-apps

greptile-apps Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Confidence Score: 5/5 · The changes since the previous review appear safe to merge.RetriggerView in GreptileConfidence Score: 5/5

[High impact] The changes since the previous review appear safe to merge.

Summary

The PR adds Node WebAssembly support, sponsor purchase recovery, privacy signals, and isolated terminal previews.

Since the previous review:

  • iOS Node keeps WebAssembly available with flags chosen for its V8 version.
  • iOS Alpine programs can read network interfaces through route dumps.
  • Sponsor purchases can finish registration after a restart or rejected details.
  • Credentialed API calls use the same sign-in token across Acode subdomains.
  • iOS exposes current consent signals and tracks ATT permission progress.
  • Local terminal links open in an isolated in-app preview on iOS.
  • Prompt dialogs clean up their own inputs and actions when they close.
  • Dialog dimming follows the device's System theme setting.
  • iOS Alpine installs show npm activity and run build scripts in the foreground.
  • The file browser stops cleanly when adding a storage path is canceled or fails.
  • Native test workflows gain opt-in suites and the release version moves to 1.13.7.

The earlier sponsor recovery issue is fixed: Back now calls cancel(), which settles multiPrompt before hiding it. The supplied thread is unnumbered, so it has no previousFindings entry.

Reviews (7) · Last reviewed commit: "test(ios): make the preview cache-evicti..." · Reviewed by Greptile

Comment thread src/pages/sponsor/purchases.js Resolved
- reject multi-prompts and resolve single prompts to null when dismissed by the Back gesture
- use unique action ids so nested prompts remove only their own entry
- run optional onClear cleanup when actionStack.clearFromMark removes marked entries
- restore the keyboard input mode only when no visible prompt remains
- add shared prompt dialog and action-stack cleanup tests
@deadlyjack

This comment was marked as outdated.

Any acode.app subdomain is now trusted with the Keychain account token on
HTTPS API calls, so dev, academy and future services share one sign-in.
Only acode.app and dev.acode.app remain sign-in hosts and may set
parent-domain cookies.

Host validation now mirrors a single rule in src/lib/acodeApi.js so the
JavaScript and native transports agree on lookalikes, malformed hosts,
ports and non-API paths. Stored cookies can no longer override the
Keychain token, and legacy dev tokens are not adopted silently.
@deadlyjack

This comment was marked as outdated.

Comment thread src/pages/sponsor/details.js Resolved
- multiPrompt: validate on both click and Enter, include textareas in
  validation, value collection, sensitive clearing and autofocus, and add
  an optional description shown above the inputs
- file browser: ignore a cancelled add-path prompt instead of raising an
  unhandled rejection or showing an empty error
- sponsorship: map billing codes to localized messages, report a confirmed
  registration whose store finalization failed as pending instead of an
  error, and keep only the receipt fields needed for recovery
- iap: claim asynchronous purchase errors only after the native store
  accepts the launch, so a failed launch cannot take over an active purchase
- android: serialize purchase attempts in a synchronized state machine and
  reconcile a lost outcome after returning to the app
- ios: open sign-in and account pages on https://acode.app only, so a
  legacy development session cannot replace the production account
- ios: clear preview caches from an epoch cutoff and await shadow editor
  navigation instead of polling
- add the new strings to every language file and cover the fixes with unit,
  UI and store-flavor tests
@deadlyjack

Copy link
Copy Markdown
Member Author

@greptile

Ajit Kumar added 2 commits December 1, 2026 14:28
- close only the sponsor page when the product catalog fails, so an open
  recovery prompt is no longer cancelled
- report a friendly store error when native billing rejects without a
  value, and guard helpers.error against null
- reject an overlong netlink message before the bounds subtraction
- give the cache-eviction preview test its own data store, an uncached
  page and assertions that cookies and localStorage survive cache clearing
@deadlyjack

Copy link
Copy Markdown
Member Author

@greptile

Serve the cached resource as a script with an ETag so reuse and revalidation
can be asserted directly instead of polling for a disk-cache record.

Evict and reload from origin only after the earlier navigations complete,
which avoids the WebKit write-back race that made the old assertion flaky.
Omit Content-Length on 304 responses and clear onPageFinished on failure.
@deadlyjack

Copy link
Copy Markdown
Member Author

@greptile

@deadlyjack
deadlyjack added this pull request to the merge queue Dec 1, 2026
Merged via the queue into main with commit 50399b7 Dec 1, 2026
18 checks passed
@github-project-automation github-project-automation Bot moved this from Backlog to Done in The Code Board - Acode Dec 1, 2026
@deadlyjack
deadlyjack deleted the ajit/ios-node-sponsorship branch December 1, 2026 14:43
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

3 participants