Skip to content

Track concurrent Call.join attempts in join analytics - #1783

Draft
rahul-lohra wants to merge 1 commit into
fix/join-single-flightfrom
fix/rahullohra/join-single-flight-analytics
Draft

Track concurrent Call.join attempts in join analytics#1783
rahul-lohra wants to merge 1 commit into
fix/join-single-flightfrom
fix/rahullohra/join-single-flight-analytics

Conversation

@rahul-lohra

Copy link
Copy Markdown
Contributor

Goal

Track whether each Call.join() invocation starts a new join or joins an existing in-flight attempt.

Implementation

Added active-flight detection and JoinAttempt models to distinguish between single and concurrent join attempts.

  1. A single attempt creates the initial join attempt ID.
  2. Concurrent attempts create their own ID and reference the initial attempt using: joinReason = "from_<initialAttemptId>"

🎨 UI Changes

None

Testing

Smoke test analytics

@rahul-lohra rahul-lohra self-assigned this Aug 25, 2026
@rahul-lohra rahul-lohra added the pr:improvement Enhances an existing feature or code label Aug 25, 2026
@github-actions

Copy link
Copy Markdown
Contributor

PR checklist ❌

The following issues were detected:

  • Linked issue missing. Add a Linear ticket reference (e.g. AND-123, Closes AND-123, or a https://linear.app/... link) or a GitHub issue (Closes #123) to the PR description.

What we check

  1. Title is concise (5–18 words) unless labeled pr:ignore-for-release.
  2. At least one pr: label exists (e.g., pr:bug, pr:new-feature).
  3. Sections ### Goal, ### Implementation, and ### Testing contain content. Bot-authored PRs are exempt.
  4. PR description references an issue (Linear ticket like AND-123, a Linear URL, or a GitHub Closes #N). Bot-authored PRs are exempt.

@rahul-lohra rahul-lohra changed the title [WIP] Track concurrent Call.join attempts [WIP] Track concurrent Call.join attempts in join analytics Aug 25, 2026
@rahul-lohra
rahul-lohra force-pushed the fix/rahullohra/join-single-flight-analytics branch from 851bbc8 to f7d7d6b Compare August 25, 2026 13:38
@github-actions

Copy link
Copy Markdown
Contributor

SDK Size Comparison 📏

SDK Before After Difference Status
stream-video-android-core 12.29 MB 12.30 MB 0.02 MB 🟢
stream-video-android-ui-xml 5.70 MB 5.70 MB 0.00 MB 🟢
stream-video-android-ui-compose 6.20 MB 6.20 MB 0.00 MB 🟢

@rahul-lohra
rahul-lohra force-pushed the fix/rahullohra/join-single-flight-analytics branch from f7d7d6b to 661d7a9 Compare August 26, 2026 07:00
@rahul-lohra
rahul-lohra force-pushed the fix/rahullohra/join-single-flight-analytics branch from 661d7a9 to 8b4ed56 Compare August 26, 2026 08:05
@rahul-lohra rahul-lohra changed the title [WIP] Track concurrent Call.join attempts in join analytics Track concurrent Call.join attempts in join analytics Aug 26, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

pr:improvement Enhances an existing feature or code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant