Skip to content

Conversation

@ritvick
Copy link

@ritvick ritvick commented Jan 15, 2026

No description provided.

@ritvick ritvick requested review from a team as code owners January 15, 2026 21:56
@github-actions
Copy link

github-actions bot commented Jan 15, 2026

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@ritvick
Copy link
Author

ritvick commented Jan 15, 2026

I have read the CLA Document and I hereby sign the CLA

@ritvick
Copy link
Author

ritvick commented Jan 15, 2026

recheck

@johnbley
Copy link
Contributor

The CLA check is failing due to what looks like a token expiration. I've asked on an internal channel for help figuring it out.

Copy link

@sgracias1 sgracias1 left a comment

Choose a reason for hiding this comment

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

looks ok, can you link to the equivalent upstream otel changes

@ritvick
Copy link
Author

ritvick commented Jan 20, 2026

Upstream change PR is here: open-telemetry/opentelemetry-lambda#1574

source /opt/splunk-default-config

export NODE_OPTIONS="${NODE_OPTIONS} --require /opt/wrapper.js"
node_version="$(node -p "process.versions.node" 2>/dev/null || echo "")"
Copy link
Contributor

Choose a reason for hiding this comment

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

This isn't really correct, as the actual node executable to run is contained somewhere in $@ - bearing in mind that the chain of shell handlers could be deeper than 1. The complexity of supporting that is not worth it and likely we will wind up simply dropping support for nodes < 20 anyway and so this code could be dropped.

Copy link
Author

Choose a reason for hiding this comment

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

This will mean we will need to drop support for versions < 20.
We could update everything and do a release that supports the older runtimes.
Then, make another release that drops older runtime support and adds the clean mjs fix.

PS: AWS will still allow Lambda functions to be updated for nodejs version 18 till Sep 30, 2026.
https://docs.aws.amazon.com/lambda/latest/dg/lambda-runtimes.html#runtimes-deprecated

@@ -0,0 +1,101 @@
import * as module from 'module';
Copy link
Contributor

Choose a reason for hiding this comment

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

Are there any changes in this from upstream? If not, then we should copy this into our build by simply pulling it from the git submodule. If there are, then there should be a comment stating where it came from and what the tweaks are so that future maintainers can have a chance to reconcile diffs.

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