Skip to content

chore(sync): merge mobile-main into dev - #5095

Merged
DIYgod merged 5 commits into
devfrom
mobile-main
Sep 26, 2026
Merged

DIYgod merged 5 commits into
devfrom
mobile-main

Conversation

@github-actions

Copy link
Copy Markdown
Contributor

This pull request was created automatically after a release branch update.

  • Source branch: mobile-main
  • Target branch: dev

DIYgod and others added 5 commits September 3, 2026 18:55
Signing out (and the other runtime reloads) crashed the app with SIGSEGV on
the expo.modules.fetch.RequestQueue thread. Expo's native fetch keeps a
closure that owns the JS promise until the response reaches a terminal state;
reloading while a request was pending destroyed that closure against the
torn-down runtime. Sign-out always had requests pending: clearing the cookie
refetches the session queries and popping to the root loads the guest timeline.

Expo also installs its fetch as the global `fetch`, so every request in the app
goes through it. `network-activity.ts` wraps the global fetch (from the
polyfill entry) and the explicit `expo/fetch` imports, tracks each request
until the native response reports `readyForJSFinalization`, and can abort them
all. `reloadApp` cancels the queries, aborts the in-flight requests, waits for
the network to go idle (three seconds at most) and only then reloads. Every
`reloadAppAsync` call site goes through it.

Verified with the Maestro iOS auth journey against production: register, sign
out and log in pass with no crash report.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
A local simulator build raised CFBundleVersion in Info.plist and the change
slipped into the previous commit; the bump had set it to 13.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
@github-actions
github-actions Bot enabled auto-merge September 18, 2026 11:54
@DIYgod DIYgod closed this Sep 26, 2026
auto-merge was automatically disabled September 26, 2026 12:55

Pull request was closed

@DIYgod DIYgod reopened this Sep 26, 2026
@DIYgod
DIYgod merged commit 0336138 into dev Sep 26, 2026
21 checks passed
DIYgod added a commit that referenced this pull request Oct 2, 2026
The sync PR that merges a release branch back into dev is opened with
GITHUB_TOKEN, so it starts no pull_request workflows. Its auto-merge waits
for dev's required checks, "Format, Lint and Typecheck (lts/*)" and "Build
web and SSR server (lts/*)". Pushes to main run both on the merge commit, so
the desktop sync PR merges by itself, but pushes to mobile-main ran neither,
and mobile sync PRs sat until someone merged them by hand (#5095 waited eight
days).

Run both workflows on mobile-main pushes too, without cancelling runs in
progress there, and guard the triggers with a test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
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