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: dump "process.versions" in "/debug" endpoint #124

Merged
merged 2 commits into from
May 14, 2022

Conversation

hi-ogawa
Copy link
Owner

@hi-ogawa hi-ogawa commented May 13, 2022

This is to verify node version on aws lambda.

It looks like just setting up AWS_LAMBDA_JS_RUNTIME=nodejs16.x works as described in

# before
$ curl -s https://627dd262dba3120fb5d17f25--ytsub-v3-hiro18181.netlify.app/debug | jq
{
  "APP_DEFINE_STAGING": "1",
  "process.versions": {
    "node": "14.19.1",
    "v8": "8.4.371.23-node.85",
    "uv": "1.42.0",
    "zlib": "1.2.11",
    "brotli": "1.0.9",
    "ares": "1.18.1",
    "modules": "83",
    "nghttp2": "1.42.0",
    "napi": "8",
    "llhttp": "2.1.4",
    "openssl": "1.1.1n",
    "cldr": "39.0",
    "icu": "69.1",
    "tz": "2021a",
    "unicode": "13.0"
  }
}

# after
$ curl -s https://627dd1cf1fbee20cf138ba72--ytsub-v3-hiro18181.netlify.app/debug | jq
{
  "APP_DEFINE_STAGING": "1",
  "process": {
    "versions": {
      "node": "16.14.0",
      "v8": "9.4.146.24-node.20",
      "uv": "1.43.0",
      "zlib": "1.2.11",
      "brotli": "1.0.9",
      "ares": "1.18.1",
      "modules": "93",
      "nghttp2": "1.45.1",
      "napi": "8",
      "llhttp": "6.0.4",
      "openssl": "1.1.1m+quic",
      "cldr": "40.0",
      "icu": "70.1",
      "tz": "2021a3",
      "unicode": "14.0",
      "ngtcp2": "0.1.0-DEV",
      "nghttp3": "0.1.0-DEV"
    }
  }
}

@hi-ogawa hi-ogawa merged commit c738b15 into master May 14, 2022
@hi-ogawa hi-ogawa deleted the chore-add-debug-process-versions branch May 14, 2022 10:30
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.

1 participant