Skip to content

feat: SDK multi instance support - #583

Merged
arifBurakDemiray merged 36 commits into
stagingfrom
multi-instance-support
Aug 27, 2026
Merged

feat: SDK multi instance support#583
arifBurakDemiray merged 36 commits into
stagingfrom
multi-instance-support

Conversation

@arifBurakDemiray

Copy link
Copy Markdown
Member

No description provided.

@arifBurakDemiray
arifBurakDemiray marked this pull request as draft July 22, 2026 10:23
@github-actions

github-actions Bot commented Jul 22, 2026

Copy link
Copy Markdown

Unit Test Results 🚀

1 046 tests  +49   1 046 ✅ +50   7m 28s ⏱️ +27s
   64 suites + 3       0 💤 ± 0 
    3 files   ± 0       0 ❌  -  1 

Results for commit 9cfb71e. ± Comparison against base commit 65e9824.

♻️ This comment has been updated with latest results.

@arifBurakDemiray
arifBurakDemiray marked this pull request as ready for review July 23, 2026 13:24
@github-actions

github-actions Bot commented Aug 25, 2026

Copy link
Copy Markdown

Dependency security scan

Scanned 519 resolved dependencies — 286 buildscript, 31 published, 202 sample.

Findings Count
Blocking (HIGH+ in published/sample) 0
Below HIGH, in dependencies we control 1
Waived via allowlist 2
Build tooling — not upgradeable from this repo 82
Below the HIGH threshold, but ours to upgrade (1)
Severity Dependency Advisory Fixed in Used by
MODERATE com.google.android.gms:play-services-basement:18.0.0 GHSA-cm6r-892j-jv2g — Google Play Services SDK leads to apps having incorrectly set mutability flag 18.0.2 :app
Waived via allowlist (2)
Advisory Dependency Expires Reason
GHSA-r937-wjx7-w2jp org.jetbrains.kotlin:kotlin-gradle-plugin:2.2.10 2026-11-30 Kotlin Gradle plugin build-cache deserialization. First fixed in 2.4.20-Beta1; no stable Kotlin release carries the fix yet. Build-machine only (CVSS AV:L/AC:H/PR:H), never shipped to integrators. Drop this entry once 2.4.20 is stable.
GHSA-r937-wjx7-w2jp org.jetbrains.kotlin:kotlin-gradle-plugin:2.4.10 2026-11-30 Kotlin Gradle plugin build-cache deserialization. First fixed in 2.4.20-Beta1; no stable Kotlin release carries the fix yet. Build-machine only (CVSS AV:L/AC:H/PR:H), never shipped to integrators. Drop this entry once 2.4.20 is stable.

82 further finding(s) in Gradle plugin internals are reported in the job summary and the resolved-dependencies artifact. They ship inside the build plugins and cannot be upgraded from this repository.

Result: passed

Full run log

arifBurakDemiray and others added 11 commits August 25, 2026 13:51
Reconciles two independent implementations of the lifecycle dispatcher:
upstream's CountlyLifecycleDispatcher (tearingDown gate + null-tolerant
module snapshots + no-await stopTimer) is kept as the architecture, and
this branch's unique semantics are re-applied on top of it: volatile
sdkIsInitialised, synchronized onSdkConfigurationChanged (the /o/sdk
callback is not routed through the dispatcher gate), onRegistrationId
local snapshots, the tamper-salt init freeze, unconditional
initialActivity clearing, the no-Application foreground-init warning,
the setInstanceName removal, and the exact started-activity count
(ported into CountlyLifecycleDispatcher, seeded atomically via
addInstance) that replaces the ProcessLifecycleOwner debounce for
foreground detection. This branch's LifecycleDispatcher is dropped in
favour of upstream's; its three tests are rewritten against the
upstream API. Verified: 1040 instrumented tests on emulator, single
failure is the pre-existing locale-dependent UtilsTimeTests.testInstant.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@arifBurakDemiray
arifBurakDemiray merged commit c58719e into staging Aug 27, 2026
6 of 7 checks passed
@arifBurakDemiray
arifBurakDemiray deleted the multi-instance-support branch August 27, 2026 10:34
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