Skip to content

feat(libdatadog): add dedicated remote config WASM - #217

Merged
bengl merged 3 commits into
mainfrom
BridgeAR/2026-08-28-remote-config-wasm-only
Aug 31, 2026
Merged

feat(libdatadog): add dedicated remote config WASM#217
bengl merged 3 commits into
mainfrom
BridgeAR/2026-08-28-remote-config-wasm-only

Conversation

@BridgeAR

@BridgeAR BridgeAR commented Aug 28, 2026

Copy link
Copy Markdown
Member

This packages the existing crates/remote_config implementation as a dedicated inline WASM artifact. @datadog/libdatadog/remote-config loads it without changing the root or ./wasm entry points. Existing root and ./wasm imports do not expose or compile Remote Config.

The artifact ships inside the existing @datadog/libdatadog-wasm package, so the release workflow and npm workspace layout stay unchanged. All installs download the artifact, but only Remote Config users pay its load and compile cost. This does not add a native or N-API implementation.

The public subpaths target the canonical CommonJS artifacts directly. Node package export maps cannot target another package, so the metapackage keeps its required boundary adapter.

The dependency audit treats Remote Config as a separate artifact tree. It permits only the exact duplicate versions and Tokio paths in the current libdd-remote-config graph.

Refs: #214

@github-actions

github-actions Bot commented Aug 28, 2026

Copy link
Copy Markdown

Overall package size

Self size: 31.66 MB
Deduped: 31.66 MB
No deduping: 31.66 MB

Dependency sizes | name | version | self size | total size | |------|---------|-----------|------------|

🤖 This report was automatically generated by heaviest-objects-in-the-universe

@BridgeAR
BridgeAR marked this pull request as ready for review August 28, 2026 19:25
@BridgeAR
BridgeAR requested review from a team as code owners August 28, 2026 19:25
@BridgeAR
BridgeAR force-pushed the BridgeAR/2026-08-28-remote-config-wasm-only branch from aacbc2e to dd35542 Compare August 31, 2026 16:31
Remote Config pulls in TUF, cryptography, and HTTP dependencies that existing users do not need. Keeping its artifact separate preserves the existing universal WASM load and compile cost.
The lint job runs before generated Remote Config modules exist, so fresh checkouts reject both wrapper imports. The request test also verifies that the storage hook wraps the HTTP request.
Package export maps can target the canonical CommonJS artifacts directly, so forwarding files own no format or compatibility boundary.
@BridgeAR
BridgeAR force-pushed the BridgeAR/2026-08-28-remote-config-wasm-only branch from 64203ee to ce856bd Compare August 31, 2026 16:43
@bengl
bengl merged commit 392f98b into main Aug 31, 2026
52 checks passed
@bengl
bengl deleted the BridgeAR/2026-08-28-remote-config-wasm-only branch August 31, 2026 16:54
@bengl bengl mentioned this pull request Aug 31, 2026
bengl pushed a commit that referenced this pull request Aug 31, 2026
* feat(libdatadog): add dedicated remote config WASM

Remote Config pulls in TUF, cryptography, and HTTP dependencies that existing users do not need. Keeping its artifact separate preserves the existing universal WASM load and compile cost.

* ci(libdatadog): validate remote config entry point

The lint job runs before generated Remote Config modules exist, so fresh checkouts reject both wrapper imports. The request test also verifies that the storage hook wraps the HTTP request.

* refactor(libdatadog): simplify remote config packaging

Package export maps can target the canonical CommonJS artifacts directly, so forwarding files own no format or compatibility boundary.
bengl pushed a commit that referenced this pull request Aug 31, 2026
* feat(libdatadog): add dedicated remote config WASM

Remote Config pulls in TUF, cryptography, and HTTP dependencies that existing users do not need. Keeping its artifact separate preserves the existing universal WASM load and compile cost.

* ci(libdatadog): validate remote config entry point

The lint job runs before generated Remote Config modules exist, so fresh checkouts reject both wrapper imports. The request test also verifies that the storage hook wraps the HTTP request.

* refactor(libdatadog): simplify remote config packaging

Package export maps can target the canonical CommonJS artifacts directly, so forwarding files own no format or compatibility boundary.
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