Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correct ClientReady hook in Auto Poll mode #79

Merged
merged 2 commits into from
Nov 9, 2023
Merged

Conversation

adams85
Copy link
Contributor

@adams85 adams85 commented Oct 9, 2023

Describe the purpose of your pull request

So far the ClientReady event has fired in Auto Poll mode only when receiving 200, 304, 403 or 404 status code. In other cases (including the case of network errors) maxInitWaitTime has been waited before firing ClientReady.

Breaking changes:

  • Change the behavior of the ClientReady hook to fire after the completion of the first fetch operation in Auto Poll mode - regardless of success or failure - to make the behavior consistent with other SDKs.

Requirement checklist (only if applicable)

  • I have covered the applied changes with automated tests.
  • I have executed the full automated test set against my changes.
  • I have validated my changes against all supported platform versions.
  • I have read and accepted the contribution agreement.

@adams85 adams85 requested a review from a team as a code owner October 9, 2023 18:07
@adams85 adams85 changed the title Fix/clientready hook Correct clientReady hook in Auto Poll mode Oct 9, 2023
@adams85 adams85 changed the title Correct clientReady hook in Auto Poll mode Correct ClientReady hook in Auto Poll mode Oct 9, 2023
@sonarcloud
Copy link

sonarcloud bot commented Oct 9, 2023

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

100.0% 100.0% Coverage
0.0% 0.0% Duplication

warning The version of Java (11.0.20) you have used to run this analysis is deprecated and we will stop accepting it soon. Please update to at least Java 17.
Read more here

@adams85 adams85 merged commit f550e69 into master Nov 9, 2023
4 checks passed
@adams85 adams85 deleted the fix/clientready-hook branch November 9, 2023 15:11
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.

3 participants