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

chore: pin unit test to node 22.6 until 22.8 is available #4957

Merged

Conversation

JamieDanielson
Copy link
Member

Which problem is this PR solving?

Failing tests on grpc exporters for latest Node 22

Short description of the changes

There is a bug in node.js v22.7 with buffers that is causing grpc exporters to fail. Fix should be available in 22.8, pinning to 22.6 for now to keep development and releases moving.

there is a bug in node.js v22.7 with buffers
that is causing grpc exporters to fail.
fix should be available in 22.8, pinning to 22.6 for now.
@JamieDanielson
Copy link
Member Author

Another thought - is it worth updating the package.json for grpc exporters to limit node version to 22.7?

Copy link
Member

@dyladan dyladan left a comment

Choose a reason for hiding this comment

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

Will there be a 22.7.1 that fixes this?

@JamieDanielson
Copy link
Member Author

Will there be a 22.7.1 that fixes this?

Apparently they are planning to fast-track in 22.8 instead of patching 22.7. The buffer fixes got added to the 22.8 plan here.

@JamieDanielson JamieDanielson added this pull request to the merge queue Aug 27, 2024
Merged via the queue into open-telemetry:main with commit 948496d Aug 27, 2024
19 of 20 checks passed
@JamieDanielson JamieDanielson deleted the jamie.pin-workflow-node22 branch August 27, 2024 21:02
trentm added a commit to trentm/opentelemetry-js that referenced this pull request Sep 4, 2024
Now that Node.js 22.8 is available with a workaround
(nodejs/node#54565) for the bug in 22.7 that
caused 'RangeError: "length" is outside of buffer bounds' errors in
exporter tests (see open-telemetry#4953),
we can unpin the Node.js v22 used for unit tests.
This undoes the pinning from open-telemetry#4957.
Zirak pushed a commit to Zirak/opentelemetry-js that referenced this pull request Sep 14, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants