Skip to content

ci(libdatadog): add artifact dependency and size reports - #208

Open
rochdev wants to merge 2 commits into
rochdev/apm-data-pipelinefrom
rochdev/libdatadog-artifact-reporting
Open

ci(libdatadog): add artifact dependency and size reports#208
rochdev wants to merge 2 commits into
rochdev/apm-data-pipelinefrom
rochdev/libdatadog-artifact-reporting

Conversation

@rochdev

@rochdev rochdev commented Aug 24, 2026

Copy link
Copy Markdown
Member

Summary

Adds artifact reporting and dependency guardrails on top of the universal
package and APM data pipeline. This PR does not change runtime or package
behavior.

Details

  • Reports N-API binary sections and per-crate contributions.
  • Reports raw, compressed, base64, glue, and final inlined WASM sizes plus
    per-crate contributions.
  • Validates duplicate dependency versions across all production native and
    WASM trees.
  • Prevents unwanted native runtime dependencies and WASM-linked zstd,
    zstd-sys, and full-regex implementations from returning unnoticed.
  • Publishes both reports in CI.

The latest local Darwin arm64 report measures the N-API artifact at 1,471,840
bytes (.text: 863,004 bytes). The final inlined WASM JavaScript is 151,134
bytes (raw WASM: 310,667 bytes; Brotli: 98,185 bytes).

Validation

  • Dependency validation across seven production artifact trees.
  • 4 dependency-validator regression tests.
  • 39 package and size-report tests locally.
  • Full package and published-content tests on Node.js 18 and 24 in CI.
  • ESLint, WASM profiling build, and both size reports, including crate-level
    WASM attribution and forbidden-code validation.

This PR was generated by Codex.

Stack created with GitHub Stacks CLIGive Feedback 💬

@rochdev
rochdev force-pushed the rochdev/libdatadog-artifact-reporting branch from 6676f59 to ce39240 Compare August 24, 2026 18:19
@github-actions

github-actions Bot commented Aug 24, 2026

Copy link
Copy Markdown

Overall package size

Self size: 53.72 MB
Deduped: 53.72 MB
No deduping: 53.72 MB

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

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

@rochdev
rochdev force-pushed the rochdev/libdatadog-artifact-reporting branch from ce39240 to d16852b Compare August 24, 2026 18:29
bengl
bengl previously approved these changes Aug 24, 2026
@rochdev
rochdev dismissed bengl’s stale review August 24, 2026 22:39

The merge-base changed after approval.

@rochdev
rochdev force-pushed the rochdev/libdatadog-artifact-reporting branch from d16852b to 67d45cd Compare August 24, 2026 22:39
@rochdev
rochdev force-pushed the rochdev/libdatadog-artifact-reporting branch from 67d45cd to 2f35d30 Compare August 25, 2026 00:19
@rochdev
rochdev force-pushed the rochdev/libdatadog-artifact-reporting branch from 2f35d30 to 2c1f0be Compare August 25, 2026 00:24
@rochdev
rochdev force-pushed the rochdev/libdatadog-artifact-reporting branch 2 times, most recently from d8864f2 to ae15338 Compare August 25, 2026 00:43
@rochdev
rochdev marked this pull request as ready for review August 25, 2026 01:59
@rochdev
rochdev requested review from a team as code owners August 25, 2026 01:59
@rochdev
rochdev force-pushed the rochdev/libdatadog-artifact-reporting branch 3 times, most recently from 8679251 to 4973749 Compare August 25, 2026 11:48
bengl
bengl previously approved these changes Aug 25, 2026
@rochdev
rochdev force-pushed the rochdev/libdatadog-artifact-reporting branch from 4973749 to 81e8983 Compare August 26, 2026 04:45
@rochdev
rochdev dismissed bengl’s stale review August 26, 2026 04:51

The merge-base changed after approval.

@rochdev
rochdev force-pushed the rochdev/libdatadog-artifact-reporting branch from 81e8983 to 1f902db Compare August 26, 2026 04:51
@rochdev
rochdev force-pushed the rochdev/libdatadog-artifact-reporting branch from 1f902db to 4d46a43 Compare August 26, 2026 05:16
Comment thread crates/libdatadog-data-pipeline/Cargo.toml Outdated
@rochdev
rochdev force-pushed the rochdev/libdatadog-artifact-reporting branch from 2d94b7e to 705d612 Compare August 26, 2026 14:48
@rochdev
rochdev force-pushed the rochdev/libdatadog-artifact-reporting branch from 705d612 to d105ac9 Compare August 26, 2026 23:26
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.

3 participants