Skip to content

Prevent useOptInFlags from missing initial updates - #699

Merged
roncohen merged 1 commit into
mainfrom
fix/regular-provider-opt-in-flags
Aug 7, 2026
Merged

roncohen merged 1 commit into
mainfrom
fix/regular-provider-opt-in-flags

Conversation

@roncohen

@roncohen roncohen commented Aug 6, 2026

Copy link
Copy Markdown
Contributor

Summary

  • resynchronize useOptInFlags() after its event subscription is installed, closing the render-to-layout-effect window where a regular provider's initial flags response could be missed
  • keep flags as an empty array when regular-provider initialization fails
  • add regressions for both cases

@roncohen
roncohen force-pushed the fix/regular-provider-opt-in-flags branch from 6935911 to 85dfdf5 Compare August 6, 2026 16:51
@roncohen roncohen changed the title Refresh missing opt-in metadata for regular clients Prevent useOptInFlags from missing initial updates Aug 6, 2026
@roncohen
roncohen added this pull request to the merge queue Aug 6, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Aug 6, 2026
@roncohen
roncohen added this pull request to the merge queue Aug 6, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to no response for status checks Aug 6, 2026
@roncohen
roncohen enabled auto-merge August 6, 2026 19:33
@roncohen
roncohen added this pull request to the merge queue Aug 7, 2026
Merged via the queue into main with commit 127ac7f Aug 7, 2026
7 of 10 checks passed
@roncohen
roncohen deleted the fix/regular-provider-opt-in-flags branch August 7, 2026 06:48
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