Upgrade all dependencies from Node 16 era to current versions#24
Draft
Copilot wants to merge 3 commits into
Draft
Upgrade all dependencies from Node 16 era to current versions#24Copilot wants to merge 3 commits into
Copilot wants to merge 3 commits into
Conversation
Open
Agent-Logs-Url: https://github.com/Olivr/app-node-js/sessions/22020782-a31d-4c70-b0db-3ee206a23864 Co-authored-by: politician <3155568+politician@users.noreply.github.com>
- Update Node.js engine from 16 to >=20, .nvmrc to 22 - Replace deprecated @opentelemetry/exporter-jaeger with @opentelemetry/exporter-trace-otlp-http - Update @opentelemetry/resources to v2 (Resource -> resourceFromAttributes) - Update @opentelemetry/semantic-conventions (SemanticResourceAttributes -> ATTR_SERVICE_NAME) - Update @opentelemetry/sdk-node to v0.214.0 and related instrumentation packages - Update @promster/express to v15, add @promster/metrics for getSummary/getContentType - Update pino-http from v5 to v10, pino-pretty from v7 to v13 - Update prom-client from v14 to v15 - Update nodemon from v2 to v3 - Update express to v4.22 - Update Dockerfile for new distroless image naming convention - Update Docker/dev scripts for OTLP endpoint env vars - Add test infrastructure using Node.js built-in test runner - All 5 tests pass, 0 vulnerabilities Agent-Logs-Url: https://github.com/Olivr/app-node-js/sessions/22020782-a31d-4c70-b0db-3ee206a23864 Co-authored-by: politician <3155568+politician@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Upgrade app dependencies and ensure tests run
Upgrade all dependencies from Node 16 era to current versions
Apr 15, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
App was pinned to Node 16 with severely outdated dependencies (24 vulnerabilities, multiple deprecated packages).
Node.js
16→>=20,.nvmrc→22OpenTelemetry (breaking changes)
@opentelemetry/exporter-jaeger→@opentelemetry/exporter-trace-otlp-http@opentelemetry/resourcesv1→v2:new Resource({...})→resourceFromAttributes({...})@opentelemetry/semantic-conventions:SemanticResourceAttributes.SERVICE_NAME→ATTR_SERVICE_NAME@opentelemetry/sdk-node0.26.0→0.214.0, removed separately-pinnedsdk-trace-basePromster (breaking changes)
@promster/expressv7→v15:getSummary/getContentTypemoved to@promster/metricsOther dependency bumps
pino-httpv5→v10,pino-prettyv7→v13prom-clientv14→v15,expressv4.17→v4.22,nodemonv2→v3Infrastructure
nodejs:${v}→nodejs${v}-debian12(new naming convention)OTEL_EXPORTER_JAEGER_ENDPOINT→OTEL_EXPORTER_OTLP_ENDPOINTnpm testscript using Node.js built-in test runner with 5 integration testsResult
0 vulnerabilities, all tests passing.
Warning
Firewall rules blocked me from connecting to one or more addresses (expand for details)
I tried to connect to the following addresses, but was blocked by firewall rules:
metadata.google.internal/home/REDACTED/work/_temp/ghcca-node/node/bin/node node src/index.js(dns block)www.npmjs.com/home/REDACTED/work/_temp/ghcca-node/node/bin/node /home/REDACTED/work/_temp/ghcca-node/node/bin/node --enable-source-maps /home/REDACTED/work/_temp/copilot-developer-action-main/dist/index.js(dns block)If you need me to access, download, or install something from one of these locations, you can either: