Repository navigation
chore: Suppress the old-user reference-like private attribute request tests - #89
Merged
keelerm84 merged 1 commit intoNov 25, 2026
Merged
Conversation
… tests The new sdk-test-harness tests (SDK-3741) check that an old-style user's privateAttributeNames are sent as literal attribute references in flag requests. This package predates contexts and sends the old user schema, so it can't pass them.
keelerm84
deleted the
mk/SDK-3741/suppress-reference-like-private-attrs
branch
November 25, 2026 14:37
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-3741.
Describe the solution you've provided
New sdk-test-harness tests check that an old-style user's
privateAttributeNamesare sent as literal attribute references (/aas/~1a) in the context of streaming and polling requests. This package predates contexts and sends the old user schema in those requests, so it can't pass them. This suppresses the four new request tests (streaming and polling, GET and REPORT).Ran locally against a v2 harness built with the new tests: 4 failures without the suppressions (exactly these four), none with them. The new event tests for the same case pass and aren't suppressed.
Describe alternatives you've considered
Changing the SDK.
@launchdarkly/node-client-sdkis the successor, so this package only gets suppressions.Additional context
This should merge before the harness release that ships the new tests.
Note
Overview
Adds four contract-test suppressions so CI skips new sdk-test-harness streaming/polling request cases for old-style users whose
privateAttributeNameslook like attribute references (/a→/~1a). This legacy SDK still sends the pre-context user schema on those requests, so it cannot satisfy the new expectations; related event coverage remains enabled and passing.This keeps the package green when the harness ships SDK-3741 request tests, without changing SDK behavior (suppressions are the chosen path for
@launchdarkly/node-client-sdk’s successor-only fixes).Reviewed by Cursor Bugbot for commit 62e388d. Bugbot is set up for automated code reviews on this repo. Configure here.