Skip to content

chore: [SDK-4213] remove background-threading feature flag from threading core (part 1/3)#2672

Open
abdulraqeeb33 wants to merge 1 commit into
mainfrom
ar/sdk-4213-part1
Open

chore: [SDK-4213] remove background-threading feature flag from threading core (part 1/3)#2672
abdulraqeeb33 wants to merge 1 commit into
mainfrom
ar/sdk-4213-part1

Conversation

@abdulraqeeb33

Copy link
Copy Markdown
Contributor

Summary

Part 1 of 3 of the SDK-4213 background-threading feature-flag removal, split into a stack for easier review/merge.

This part is the foundation: it removes the background-threading feature flag and ThreadingMode so async dispatch is unconditional.

  • Strips the flag from ThreadUtils, FeatureFlag, FeatureManager, FeatureFlagsRefreshService.
  • Hardens OneSignalDispatchers (per-generation pools, prewarm).
  • Updates affected unit tests; adds ThreadUtilsDispatchTests + test project config; deletes ThreadUtilsFeatureFlagTests.

Stack (merge in order)

  1. part 1/3 — threading core (this PR) → base main
  2. part 2/3 — async init default → base ar/sdk-4213-part1
  3. part 3/3 — consumer call-sites → base ar/sdk-4213-part2

Note: this is a tightly-coupled shared-API refactor, so intermediate parts may not build/pass CI in isolation. The part 3 tip reproduces the original ar/sdk-4213 net diff exactly.

Test plan

  • CI green on the full stack (part 3)
  • :core threading unit tests pass

Made with Cursor

…ding core (part 1/3)

Foundation of the SDK-4213 stack. Removes the background-threading feature
flag and ThreadingMode so async dispatch is unconditional: strips the flag from
ThreadUtils, FeatureFlag, FeatureManager, and FeatureFlagsRefreshService, and
hardens OneSignalDispatchers (per-generation pools, prewarm). Updates the
affected unit tests and adds ThreadUtilsDispatchTests + test project config.

Part 1 of 3. Merge before part 2.

Co-authored-by: Cursor <cursoragent@cursor.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