Skip to content

Conversation

@ovr
Copy link
Member

@ovr ovr commented Jun 9, 2025

The idea is simple: When an async function is called in an async function with await, the real execution can be delayed to micro tasking in Node.js. It results in incorrect timestamps, which I see in APM.

@ovr ovr requested review from a team as code owners June 9, 2025 14:27
@codecov
Copy link

codecov bot commented Jun 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 84.17%. Comparing base (c3ca3c4) to head (ea0a34f).
Report is 4 commits behind head on master.

Additional details and impacted files
@@           Coverage Diff           @@
##           master    #9667   +/-   ##
=======================================
  Coverage   84.17%   84.17%           
=======================================
  Files         230      230           
  Lines       85112    85112           
=======================================
+ Hits        71639    71647    +8     
+ Misses      13473    13465    -8     
Flag Coverage Δ
cubesql 84.17% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

chore: fix
@ovr ovr force-pushed the feat/correct-time-with-apm branch from 8a883be to 21755f6 Compare June 9, 2025 15:30
Copy link
Member

@KSDaemon KSDaemon left a comment

Choose a reason for hiding this comment

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

👍🏻 LGTM!

@ovr ovr merged commit a900c78 into master Jun 10, 2025
77 checks passed
@ovr ovr deleted the feat/correct-time-with-apm branch June 10, 2025 12:18
marianore-muttdata pushed a commit to MuttData/cube that referenced this pull request Jun 17, 2025
…-js#9667)

The idea behind this change: 

When an async function is called in an async function with await, the real execution can be delayed to microtasking in Node.js. It results in incorrect timestamps, which I see in APM.
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