Skip to content

feat(session): gate background session work PR 6 - #5163

Open
MohamadJaara wants to merge 2 commits into
mo/async-db-migration/05-secondary-activitiesfrom
mo/async-db-migration/06-background-work
Open

feat(session): gate background session work PR 6#5163
MohamadJaara wants to merge 2 commits into
mo/async-db-migration/05-secondary-activitiesfrom
mo/async-db-migration/06-background-work

Conversation

@MohamadJaara

Copy link
Copy Markdown
Member

Goal

Apply the same session preparation boundary to background entry points before they access user data.

Changes

  • gate notifications, receivers, services, workers, FCM, and sync entry points
  • move push token registration into prepared-session worker execution
  • skip or retry background work when preparation cannot complete safely
  • cover notification, logout, and call service behavior with focused tests

Stack

Merge the stack bottom-up into the epic branch.

@MohamadJaara
MohamadJaara marked this pull request as ready for review August 11, 2026 16:27
@MohamadJaara
MohamadJaara force-pushed the mo/async-db-migration/06-background-work branch 2 times, most recently from 2511197 to 6e5dcd6 Compare August 18, 2026 12:45
@github-actions

github-actions Bot commented Aug 18, 2026

Copy link
Copy Markdown
Contributor

Test Results

439 tests  ±0   439 ✅ ±0   28s ⏱️ -6s
 45 suites ±0     0 💤 ±0 
 45 files   ±0     0 ❌ ±0 

Results for commit cfb26f4. ± Comparison against base commit 789bf1e.

♻️ This comment has been updated with latest results.

@MohamadJaara
MohamadJaara force-pushed the mo/async-db-migration/06-background-work branch from 6e5dcd6 to 9931fab Compare August 19, 2026 11:49
@MohamadJaara
MohamadJaara force-pushed the mo/async-db-migration/06-background-work branch from 9931fab to ec64ea1 Compare August 21, 2026 09:55
@MohamadJaara
MohamadJaara force-pushed the mo/async-db-migration/06-background-work branch from ec64ea1 to f2eeb44 Compare August 21, 2026 10:13
@MohamadJaara
MohamadJaara force-pushed the mo/async-db-migration/06-background-work branch 2 times, most recently from 14f51fe to a7e096a Compare August 21, 2026 10:53
@MohamadJaara
MohamadJaara force-pushed the mo/async-db-migration/06-background-work branch from a7e096a to cfb26f4 Compare August 21, 2026 11:01
@MohamadJaara
MohamadJaara force-pushed the mo/async-db-migration/06-background-work branch from cfb26f4 to 441e2f9 Compare August 21, 2026 13:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants