Skip to content

fix(client-loader): recognize early local signals#25778

Merged
jason-ha merged 2 commits intomicrosoft:mainfrom
jason-ha:loader/recognize-early-local-signals
Oct 30, 2025
Merged

fix(client-loader): recognize early local signals#25778
jason-ha merged 2 commits intomicrosoft:mainfrom
jason-ha:loader/recognize-early-local-signals

Conversation

@jason-ha
Copy link
Contributor

@jason-ha jason-ha commented Oct 30, 2025

Use signal audience to correctly classify pre-Connected, local signals as local.

Use signal audience when available to correctly classify pre-Connected, local signals as local.
@github-actions github-actions bot added area: loader Loader related issues base: main PRs targeted against main branch labels Oct 30, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR updates the signal processing logic to more accurately determine whether a signal is "local" (sent by the current client). The change addresses early signal detection during the connection lifecycle.

Key Changes

  • Modified the processSignal method to check against signalAudience for detecting current signals, including those arriving before the container reaches "Connected" state
  • Retained the original check against this.clientId as a fallback for detecting signals from past connections

@WillieHabi WillieHabi self-requested a review October 30, 2025 21:39
@jason-ha jason-ha enabled auto-merge (squash) October 30, 2025 21:49
@jason-ha jason-ha merged commit eb99bcd into microsoft:main Oct 30, 2025
35 checks passed
@jason-ha jason-ha deleted the loader/recognize-early-local-signals branch October 30, 2025 22:59
anthony-murphy-agent pushed a commit to anthony-murphy-agent/FluidFramework that referenced this pull request Jan 14, 2026
Use signal audience to correctly classify pre-Connected, local signals
as local.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area: loader Loader related issues base: main PRs targeted against main branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants