Skip to content

docs: Mark the flag override API with the experimental tag - #2106

Merged
kinyoklion merged 1 commit into
feat/overridesfrom
rlamb/overrides-node-experimental-tags
Oct 16, 2026
Merged

kinyoklion merged 1 commit into
feat/overridesfrom
rlamb/overrides-node-experimental-tags

Conversation

@kinyoklion

@kinyoklion kinyoklion commented Oct 15, 2026 •

Copy link
Copy Markdown
Member

Summary

Marks the public flag override API with the @experimental TSDoc tag: the overrides property of the data system options, FileOverrideSourceOptions, LDOverrideSourceOptions, LDOverrideSource, LDOverrideSink, and overrideAffected on LDEvaluationReason. Each already said "Flag overrides are currently experimental and subject to change." in prose; that sentence is kept and now follows the tag, which is the form the client-side debug override API uses.

TypeDoc renders the tag as an Experimental badge on the declaration, and editors show it as a separate tag line in hover, so the status is visible without reading the comment body.

Verification

typedoc for @launchdarkly/js-server-sdk-common and @launchdarkly/js-sdk-common renders the badge on all six pages (LDDataSystemOptions, FileOverrideSourceOptions, LDOverrideSourceOptions, LDOverrideSource, LDOverrideSink, LDEvaluationReason) with no new warnings. Comments only; no code changes.


Note

Overview
Adds the @experimental TSDoc tag to the public flag override surface so TypeDoc and IDE hovers show an Experimental badge, matching how other experimental APIs are documented.

The tag is applied to overrides on data system options, FileOverrideSourceOptions, LDOverrideSourceOptions, LDOverrideSource, LDOverrideSink, and overrideAffected on LDEvaluationReason. Existing prose (“Flag overrides are currently experimental…”) is unchanged and now follows the tag instead of sitting inline in the main comment text.

Reviewed by Cursor Bugbot for commit 348c292. Bugbot is set up for automated code reviews on this repo. Configure here.

The public override surface already said in prose that flag overrides are experimental and
subject to change. The sentence now carries the @experimental tag, the TSDoc modifier that
TypeDoc renders as a badge on the declaration and that editors show as a separate tag line, so
the status is visible without reading the comment body. The prose stays as the tag's text. This
is the form the client-side debug override API already uses.
@kinyoklion

Copy link
Copy Markdown
Member Author

bugbot review

@kinyoklion
kinyoklion marked this pull request as ready for review October 15, 2026 21:17
@kinyoklion
kinyoklion requested a review from a team as a code owner October 15, 2026 21:17
@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/js-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 29840 bytes
Compressed size limit: 30000
Uncompressed size: 143075 bytes

@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/js-client-sdk-common size report
This is the brotli compressed size of the ESM build.
Compressed size: 25437 bytes
Compressed size limit: 44000
Uncompressed size: 165420 bytes

@github-actions

Copy link
Copy Markdown
Contributor

@launchdarkly/js-client-sdk size report
This is the brotli compressed size of the ESM build.
Compressed size: 32739 bytes
Compressed size limit: 34000
Uncompressed size: 117281 bytes

@kinyoklion
kinyoklion merged commit 1ea41b8 into feat/overrides Oct 16, 2026
62 checks passed
@kinyoklion
kinyoklion deleted the rlamb/overrides-node-experimental-tags branch October 16, 2026 15:41
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.

2 participants