Skip to content

Conversation

@bizob2828
Copy link
Contributor

We discovered an issue with openai. I then traced it back to an issue with tracingChannel.tracePromise. I then realized even if the bug is fixed in Node.js, this library is reintroducing the same issue by adding the async keyword to the wrapped arrow functions. This PR removes specifying the async property of the ArrowExpr struct and just hard code to false to avoid wrapping custom promises in native ones and losing the proper return value.

@bizob2828 bizob2828 requested a review from bengl September 24, 2025 19:27
@timfish timfish merged commit 8b43c92 into apm-js-collab:main Sep 24, 2025
1 check passed
@timfish timfish mentioned this pull request Sep 24, 2025
bizob2828 added a commit to bizob2828/orchestrion-js that referenced this pull request Sep 25, 2025
…key to avoid wrapping non-native promises (apm-js-collab#48)"

This reverts commit 8b43c92.
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