Skip to content

refactor(libdatadog): keep data pipeline on WASM - #216

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

bengl merged 3 commits into
mainfrom
BridgeAR/2026-08-28-data-pipeline-wasm-only

Conversation

@BridgeAR

Copy link
Copy Markdown
Member

The agentless exporter has no native consumer yet, so its N-API implementation duplicates the WASM exporter and its lifecycle.

createAgentlessExporter() now loads the WASM binding lazily. DDSketch and Zstandard still use the selected native or WASM backend.

Refs: #205

The agentless exporter has no native consumer yet, so its N-API implementation duplicates the WASM exporter and its lifecycle. The default entry point now loads the WASM binding only when it creates an exporter.

Refs: #205
@github-actions

github-actions Bot commented Aug 28, 2026 •

Copy link
Copy Markdown

Overall package size

Self size: 37.14 MB
Deduped: 37.14 MB
No deduping: 37.14 MB

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

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

The native facade exposed the agentless exporter even though every export used WASM, which kept a false backend-parity contract.
The shared exporter imported the WASM workspace package directly, which root lint cannot resolve. Keeping binding ownership in the WASM facade also defers agentless transport loading until exporter creation.
@BridgeAR
BridgeAR marked this pull request as ready for review August 28, 2026 17:53
@BridgeAR
BridgeAR requested review from a team as code owners August 28, 2026 17:53
@BridgeAR
BridgeAR force-pushed the BridgeAR/2026-08-28-data-pipeline-wasm-only branch from 2fb5932 to 2ac46c3 Compare August 28, 2026 19:51
@bengl
bengl merged commit 0eb7aa1 into main Aug 31, 2026
139 checks passed
@bengl
bengl deleted the BridgeAR/2026-08-28-data-pipeline-wasm-only branch August 31, 2026 16:15
@bengl bengl mentioned this pull request Aug 31, 2026
bengl pushed a commit that referenced this pull request Aug 31, 2026
* refactor(libdatadog): keep data pipeline on WASM

The agentless exporter has no native consumer yet, so its N-API implementation duplicates the WASM exporter and its lifecycle. The default entry point now loads the WASM binding only when it creates an exporter.

Refs: #205

* refactor(libdatadog): isolate native backend

The native facade exposed the agentless exporter even though every export used WASM, which kept a false backend-parity contract.

* fix(libdatadog): defer agentless implementation loading

The shared exporter imported the WASM workspace package directly, which root lint cannot resolve. Keeping binding ownership in the WASM facade also defers agentless transport loading until exporter creation.
bengl pushed a commit that referenced this pull request Aug 31, 2026
* refactor(libdatadog): keep data pipeline on WASM

The agentless exporter has no native consumer yet, so its N-API implementation duplicates the WASM exporter and its lifecycle. The default entry point now loads the WASM binding only when it creates an exporter.

Refs: #205

* refactor(libdatadog): isolate native backend

The native facade exposed the agentless exporter even though every export used WASM, which kept a false backend-parity contract.

* fix(libdatadog): defer agentless implementation loading

The shared exporter imported the WASM workspace package directly, which root lint cannot resolve. Keeping binding ownership in the WASM facade also defers agentless transport loading until exporter creation.
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