Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: event with invalid timestamp in trace log #31422

Conversation

trop[bot]
Copy link
Contributor

@trop trop bot commented Oct 14, 2021

Backport of #31349

See that PR for details.

Notes: fixed event with invalid timestamp in trace log

When node is started within Electron's environment it doesn't
initialize v8 and time of v8's start is never set. As a result
we log v8's start time as 0 and it breaks timestamps in the
trace log. With this change we log v8's start time only when
it was initialized by node.
@trop trop bot requested a review from a team as a code owner October 14, 2021 14:08
@electron-cation electron-cation bot added the new-pr 🌱 PR opened in the last 24 hours label Oct 14, 2021
@trop trop bot added 15-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes labels Oct 14, 2021
@electron-cation electron-cation bot removed the new-pr 🌱 PR opened in the last 24 hours label Oct 14, 2021
@zcbenz zcbenz merged commit c2b1db1 into 15-x-y Oct 22, 2021
@zcbenz zcbenz deleted the trop/15-x-y-bp-fix-event-with-invalid-timestamp-in-trace-log-1634220528982 branch October 22, 2021 12:13
@release-clerk
Copy link

release-clerk bot commented Oct 22, 2021

Release Notes Persisted

fixed event with invalid timestamp in trace log

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
15-x-y backport This is a backport PR semver/patch backwards-compatible bug fixes
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants