Repository navigation
chore: Suppress the old-user reference-like private attributes REPORT stream test - #2248
Merged
Merged
Conversation
… stream test Browser, React and Vue cannot send a REPORT stream request with the native EventSource, so they fail the new sdk-test-harness case `streaming/requests/context properties/old user with private attribute names that look like references/REPORT` with an empty body. Suppress it alongside the existing context properties REPORT cases. SDK-3754
Contributor
|
@launchdarkly/js-sdk-common size report |
Contributor
|
@launchdarkly/js-client-sdk-common size report |
Contributor
|
@launchdarkly/js-client-sdk size report |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.


Requirements
Related issues
SDK-3754. The case comes from the new sdk-test-harness tests in SDK-3741.
Describe the solution you've provided
With the native EventSource, Browser, React and Vue can't send a REPORT stream request. They fail the new case
streaming/requests/context properties/old user with private attribute names that look like references/REPORTwith an empty body. This PR suppresses it in the v2 native-mode suppression files, next to the existingcontext properties/.../REPORTcases. The v3 files list none of those cases, so they are unchanged.The SDK fix is in a separate PR, so its
fixchangelog entry stays off these packages.Describe alternatives you've considered
None.
Additional context
None.
Note
Overview
Adds a contract-test suppression for
streaming/requests/context properties/old user with private attribute names that look like references/REPORTin the Browser, React, and Vue native EventSource harness configs, alongside the existing REPORT context properties suppressions.Those SDKs cannot issue REPORT streaming requests with the browser’s native
EventSource(GET-only), so the new harness case would fail with an empty body until the SDK fix lands elsewhere. v3 suppression files are unchanged because they do not list these REPORT cases.Reviewed by Cursor Bugbot for commit bd40023. Bugbot is set up for automated code reviews on this repo. Configure here.