Skip to content

fix: use package version for serverless health metadata - #21

Closed
anwareset wants to merge 2 commits into
mainfrom
fix/health-version-fallback
Closed

fix: use package version for serverless health metadata#21
anwareset wants to merge 2 commits into
mainfrom
fix/health-version-fallback

Conversation

@anwareset

Copy link
Copy Markdown
Owner

Summary

Use the tracked package.json.version as the /health version fallback when APP_VERSION is unavailable. This allows Vercel deployments to report the release version without an injected environment variable while preserving the Docker build override.

Verification

  • node --check src/server.js
  • git diff --check
  • pnpm test (206/206 passed)

Use the tracked package.json version when APP_VERSION is unavailable so Vercel deployments expose the release version without an environment variable. Preserve the Docker override and cover the serverless fallback with a health endpoint regression test.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@vercel

vercel Bot commented Sep 3, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
toskd Ready Ready Preview Sep 3, 2026 3:23am UTC

Keep the README environment-variable table focused on required user configuration while retaining the package metadata fallback in the application.

🤖 Generated with Codebuff
Co-Authored-By: Codebuff <noreply@codebuff.com>
@anwareset anwareset closed this Sep 3, 2026
@anwareset
anwareset deleted the fix/health-version-fallback branch September 3, 2026 03:24
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