Closed
Conversation
* Handle wasm-pack's dash-to-underscore filename transformation * Add a crate for wasm zstd implementation * Only run tests for a single crate * Fix WASM builds on macOS
This reverts commit f3e9b05.
This reverts commit 64a7f46.
* Add CODEOWNERS, with dd-trace-js and libdatadog teams
* bump libdd-crashtracker to v28 * v28.0.1
* Add unhandled exception libdatadog binding * Use process.on() in the test * uncaughtException -> uncaughtExceptionMonitor * Handle unhandled promise rejections and add test scenarios * We only need uncaughtExceptionMonitor * Clean test cases * Assert library
Replace the Node.js test runner (test.js) with scripts/test.sh so tests are discovered and run from bash. The test script runs top-level test/*.js files and index.js in test subdirectories, skipping wasm.
Call findWASM only when find() returns no native .node, so we skip unnecessary prebuilds readdir when a native build is available.
When CC is set (e.g. ccache cc), the wasm32 C/C++ build can use Apple Clang, which does not support wasm32-unknown-unknown, so the datadog-js-zstd WASM build failed. Set CC_wasm32_unknown_unknown and CXX_wasm32_unknown_unknown to Homebrew's clang so crates like zstd-sys always use a wasm32-capable compiler. Add DEVELOPMENT.md with Rust/rustup, macOS LLVM, and yarn setup steps, and move the build/test notes from README into DEVELOPMENT.md.
…ping (#82) Pin all GitHub Actions to full commit SHAs instead of version tags for supply-chain safety. Add inline comments with the resolved version (e.g. v4.3.1). Add Dependabot for github-actions (weekly), with a 5-day cooldown (excluding @datadog/*) and a single grouped PR for action updates.
Update min-node-version in the build and release CI workflows.
The crashtracker test uses yarn (yarn.lock already exists), so the npm package-lock.json is unnecessary.
Set up ESLint with @eslint/js, @stylistic/eslint-plugin, eslint-plugin-n, eslint-plugin-unicorn, and eslint-plugin-import-x. Add an eslint.config.js with project-specific overrides (CJS mode, Node.js >=18, 1tbs brace style, kebab-case filenames, prefer-const, import ordering, etc.) and a lint CI job in the build workflow. Apply all auto-fixable and manual lint fixes across the codebase: - Use node: protocol for built-in requires - Replace var/let with const where appropriate - Add trailing commas, remove semicolons, fix spacing - Rename files to kebab-case (test_utils.js -> test-utils.js, test_wasm.js -> test-wasm.js, process_discovery.js -> process-discovery.js) - Replace .find() equality checks with .includes() - Remove unused catch bindings - Use top-level await where applicable - Auto-install test subdirectory dependencies in test.sh
…sts (#83) - Increase crashtracker handler timeout from 3s to 15s and crash-report wait timeout from 10s to 20s to reduce flakiness in CI - Guard stdout/stderr log file reads in the timeout handler with existence checks to avoid masking the real timeout error - Add error and close handlers to child processes so tests fail with a clear message instead of hanging indefinitely - Add console.log labels to each test for easier debugging
Bumps the gh-actions-packages group with 3 updates: [actions/checkout](https://github.com/actions/checkout), [actions/download-artifact](https://github.com/actions/download-artifact) and [actions/setup-node](https://github.com/actions/setup-node). Updates `actions/checkout` from 4.3.1 to 6.0.2 - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](actions/checkout@34e1148...de0fac2) Updates `actions/download-artifact` from 4.3.0 to 8.0.0 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](actions/download-artifact@d3f86a1...70fc10c) Updates `actions/setup-node` from 4.4.0 to 6.2.0 - [Release notes](https://github.com/actions/setup-node/releases) - [Commits](actions/setup-node@49933ea...6044e13) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: 6.0.2 dependency-type: direct:production update-type: version-update:semver-major dependency-group: gh-actions-packages - dependency-name: actions/download-artifact dependency-version: 8.0.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: gh-actions-packages - dependency-name: actions/setup-node dependency-version: 6.2.0 dependency-type: direct:production update-type: version-update:semver-major dependency-group: gh-actions-packages ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump libdatadog to v29 * trigger CI * trigger CI * Trigger CI * Trigger CI * Trigger CI * Trigger CI
Overall package sizeSelf size: 36.05 MB Dependency sizes| name | version | self size | total size | |------|---------|-----------|------------|🤖 This report was automatically generated by heaviest-objects-in-the-universe |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.