Update dependencies and align Docker runtime#251
Conversation
|
Owner ping for this maintenance PR: @ejscribner @prajwal-pai77 Requesting review from the manifest-listed owner(s) where GitHub does not already show a pending review request. |
There was a problem hiding this comment.
Code Review
This pull request updates the Node.js base image in the Dockerfile from version 20 to 24 and upgrades several dependencies in package.json, including couchbase, express, and prettier. Feedback on these changes suggests using a minimal node:24-slim base image to reduce container size and security risks, as well as pinning the exact version of the couchbase native module to prevent ABI compatibility issues and ensure reproducible builds.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Summary
couchbase4.7.0 -> 4.7.1(kept as an exact pin),express4.22.1 -> 4.22.2, andprettier3.8.3 -> 3.9.4package-lock.jsonon Node 20.20.2 and letnpm audit fixlift the remaining supportable transitive packages inside the current dependency rangesVerification
npm install(Node 20.20.2)npm testnpm audit./node_modules/.bin/babel-node src/servercurl -i http://127.0.0.1:3013/curl http://127.0.0.1:3013/api/v1/airline/airline_10http://127.0.0.1:3003/Evidence
npm testpassed19/19suites against Capella +travel-sampleon Node 20.20.2 using the localconfig/test.env.npm auditnow reportsfound 0 vulnerabilitieswithout needing an Express 5 jump.GET /api/v1/airline/airline_10.tutorial-maintenance/runs/couchbase-examples__nodejs-quickstart/2026-06-30T1455Z/screenshots/swagger-ui-home.pngtutorial-maintenance/runs/couchbase-examples__nodejs-quickstart/2026-06-30T1455Z/video/swagger-ui-walkthrough.webmtutorial-maintenance/runs/couchbase-examples__nodejs-quickstart/2026-06-30T1455Z/verification.mdAdditional notes
docker buildis still blocked on this ARM64 host because the repo intentionally pinsFROM --platform=linux/amd64 ..., and the local daemon does not have the needed amd64 emulation (exec format error). I kept that as a documented environment blocker instead of changing the repo’s platform target spec.Notes
Media evidence
Notes
tutorial-maintenance/runs/couchbase-examples__nodejs-quickstart/2026-06-30T1455Z/screenshots/swagger-ui-home.pngSwagger Ui Walkthrough
Notes
tutorial-maintenance/runs/couchbase-examples__nodejs-quickstart/2026-06-30T1455Z/video/swagger-ui-walkthrough.webm