Skip to content

update crashtracker and use new init function#36

Merged
rochdev merged 28 commits intomainfrom
rochdev/crashtracker-new-init
Nov 11, 2024
Merged

update crashtracker and use new init function#36
rochdev merged 28 commits intomainfrom
rochdev/crashtracker-new-init

Conversation

@rochdev
Copy link
Copy Markdown
Member

@rochdev rochdev commented Nov 4, 2024

I also had to switch to yarn because of a permission issue with npm and CentOS which I wasn't able to solve.

Comment thread test/crashtracker/index.js Outdated
Comment thread .github/workflows/build.yml Outdated
Comment thread .github/workflows/build.yml Outdated
Comment thread test/crashtracker/index.js Outdated
Comment thread test/crashtracker/index.js
Comment thread test/crashtracker/index.js
@github-actions
Copy link
Copy Markdown

github-actions Bot commented Nov 8, 2024

Overall package size

Self size: 30.57 MB
Deduped: 30.57 MB
No deduping: 30.57 MB

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

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

@rochdev rochdev marked this pull request as ready for review November 8, 2024 13:04
Comment thread test/crashtracker/index.js Outdated

if (existsSync('/etc/alpine-release')) {
// TODO: Remove this when supported.
console.log('Received crash report with empty stack trace which is expected for Alpine.')
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟠 Code Quality Violation

Unexpected console statement. (...read more)

Debugging with console (such as console.log or console.info) is not considered a bad practice, but these statements can be accidentally left in production code, leading to unnecessary log pollution. It is important to remove or replace these debugging statements to maintain clean and secure production builds.

View in Datadog  Leave us feedback  Documentation

Copy link
Copy Markdown

@sanchda sanchda left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Reviewing from the libdatadog/crashtracking side.

Interfacing looks good. I ran tests under strace on my Linux machine and it seems like a reasonable interplay between the collector and receiver.

Looks good! Thank you!

Comment thread .github/workflows/build.yml
@rochdev rochdev merged commit 2bcf2eb into main Nov 11, 2024
@rochdev rochdev deleted the rochdev/crashtracker-new-init branch November 11, 2024 22:25
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