Skip to content

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

Merged
rochdev merged 2 commits into
mainfrom
rochdev/libdatadog-artifact-reporting
Aug 27, 2026
Merged

rochdev merged 2 commits into
mainfrom
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 CLI • Give 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.8 MB
Deduped: 53.8 MB
No deduping: 53.8 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 3 times, most recently from d105ac9 to 0ea8cc1 Compare August 27, 2026 17:02
stack merge was automatically disabled August 27, 2026 17:37

Pull Request is not mergeable

stack merge was automatically disabled August 27, 2026 17:40

Pull Request is not mergeable

@rochdev
rochdev force-pushed the rochdev/libdatadog-artifact-reporting branch from 0ea8cc1 to 93a1976 Compare August 27, 2026 17:41
Base automatically changed from rochdev/apm-data-pipeline to main August 27, 2026 18:04
@rochdev
rochdev force-pushed the rochdev/libdatadog-artifact-reporting branch from 93a1976 to 1fa777e Compare August 27, 2026 18:04
@rochdev
rochdev merged commit 98baf40 into main Aug 27, 2026
70 checks passed
@rochdev
rochdev deleted the rochdev/libdatadog-artifact-reporting branch August 27, 2026 18:17
bengl pushed a commit that referenced this pull request Aug 31, 2026
* ci(libdatadog): add artifact dependency and size reports

* ci(libdatadog): fix wasm report artifact path
@bengl bengl mentioned this pull request Aug 31, 2026
bengl pushed a commit that referenced this pull request Aug 31, 2026
* ci(libdatadog): add artifact dependency and size reports

* ci(libdatadog): fix wasm report artifact path
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