Skip to content

Feat/graceful shutdownfeat: expose /internal/buildinfo endpoint for version and runtime diagnostics - #1063

Merged
ayomideadeniran merged 3 commits into
StellarDevHub:mainfrom
Luchistack:feat/graceful-shutdown
Aug 3, 2026
Merged

Feat/graceful shutdownfeat: expose /internal/buildinfo endpoint for version and runtime diagnostics#1063
ayomideadeniran merged 3 commits into
StellarDevHub:mainfrom
Luchistack:feat/graceful-shutdown

Conversation

@Luchistack

Copy link
Copy Markdown
Contributor

#closes #891

Description

Implemented the GET /internal/buildinfo endpoint to expose version, commit, build time, and Go runtime/compiler information. This simplifies incident triage, version tracking, and canary deployments.

Changes Made:

  • Handler Implementation: Added GetBuildInfo in internal/handlers/buildinfo.go utilizing runtime/debug.BuildInfo and runtime package stats with fallback handling for non-VCS/development builds.
  • Testing: Added comprehensive unit tests in internal/handlers/buildinfo_test.go verifying response correctness and maintaining >95% package coverage.

Type of Change

  • New feature (non-breaking change which adds functionality)
  • Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?

  • Ran unit tests locally via go test ./internal/handlers/... -cover confirming 100% test success and coverage thresholds.

#closes

@vercel

vercel Bot commented Jul 30, 2026

Copy link
Copy Markdown

@SHEROSE0 is attempting to deploy a commit to the Ayomide Adeniran's projects Team on Vercel.

A member of the Team first needs to authorize it.

@drips-wave

drips-wave Bot commented Jul 30, 2026

Copy link
Copy Markdown

@Luchistack Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits.

You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀

Learn more about application limits

@ayomideadeniran

Copy link
Copy Markdown
Contributor

pr under review

@ayomideadeniran
ayomideadeniran merged commit 6ea7242 into StellarDevHub:main Aug 3, 2026
1 check failed
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.

[Reliability] Implement graceful backend shutdown for HTTP, workers, Redis, and database clients

3 participants