Skip to content

fix: coalesce background thread runtime work#63

Merged
huhuanming merged 2 commits into
mainfrom
codex/fix-background-thread-coalesced-drain
Jun 12, 2026
Merged

fix: coalesce background thread runtime work#63
huhuanming merged 2 commits into
mainfrom
codex/fix-background-thread-coalesced-drain

Conversation

@originalix

@originalix originalix commented Jun 12, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Coalesce Android cross-runtime SharedRPC executor work into per-runtime queues.
  • Return schedule failures from Kotlin so native pending work can be cleaned up instead of leaking.
  • Bump all native module/view package versions to 3.0.63, matching the existing app-modules full-package release convention.

Validation

  • PATH=/Users/leon/.nvm/versions/node/v22.20.0/bin:$PATH yarn workspace @onekeyfe/react-native-background-thread typecheck
  • PATH=/Users/leon/.nvm/versions/node/v22.20.0/bin:$PATH yarn workspace @onekeyfe/react-native-background-thread prepare
  • PATH=/Users/leon/.nvm/versions/node/v22.20.0/bin:$PATH yarn workspace @onekeyfe/react-native-background-thread lint
  • Confirmed all 33 native module/view packages are set to 3.0.63.
  • Confirmed npm has no existing 3.0.63 version for the 33 packages before publishing.
  • Built Android prod release APK in x-app-monorepo with the patched module.
  • Installed release APK on Pixel 5 and verified cold start -> Perps/合约 -> Swap/交易 no longer white-screens.

Notes

  • @onekeyfe/react-native-background-thread@3.0.62 was published by an earlier single-package attempt, but this PR now follows the repo convention and publishes the full package set as 3.0.63.
  • x-app dependency bump should consume 3.0.63 after this package-publish run succeeds.

@socket-security

socket-security Bot commented Jun 12, 2026

Copy link
Copy Markdown

No dependency changes detected. Learn more about Socket for GitHub.

👍 No dependency changes detected in pull request

@huhuanming huhuanming force-pushed the codex/fix-background-thread-coalesced-drain branch from 9cf264d to b248c15 Compare June 12, 2026 02:27
@huhuanming huhuanming force-pushed the codex/fix-background-thread-coalesced-drain branch from b248c15 to 09d8e34 Compare June 12, 2026 02:49
@huhuanming huhuanming merged commit 4dac84c into main Jun 12, 2026
2 checks passed
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.

2 participants