Skip to content

chore: Suppress the old-user reference-like private attribute request tests - #89

Merged
keelerm84 merged 1 commit into
mainfrom
mk/SDK-3741/suppress-reference-like-private-attrs
Nov 25, 2026
Merged

keelerm84 merged 1 commit into
mainfrom
mk/SDK-3741/suppress-reference-like-private-attrs

Conversation

@keelerm84

@keelerm84 keelerm84 commented Nov 25, 2026 •

Copy link
Copy Markdown
Member

Requirements

  • I have added test coverage for new or changed functionality
  • I have followed the repository's pull request submission guidelines
  • I have validated my changes against all supported platform versions

Related issues

SDK-3741.

Describe the solution you've provided

New sdk-test-harness tests check that an old-style user's privateAttributeNames are sent as literal attribute references (/a as /~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-sdk is 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 privateAttributeNames look 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.

… 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.

@cursor cursor Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Risk: low. Approved. Rule 1 does not skip this PR (not a release), rule 2 allows this author, and rule 3 is satisfied because no GitHub Actions workflow files changed.

Open in Web View Automation 

Sent by Cursor Approval Agent: SDK - Pull Request Router and Approver

@keelerm84
keelerm84 merged commit 3ce5050 into main Nov 25, 2026
10 checks passed
@keelerm84
keelerm84 deleted the mk/SDK-3741/suppress-reference-like-private-attrs branch November 25, 2026 14:37
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