feat: expose application version in health responses #221
No reviewers
Labels
No labels
activitypub
admin
api
architecture
articles
auth
bug
cleanup
cli
comments
compatibility
config
contacts
content
database
deployment
design
dev-env
diagnostics
docs
documentation
email
enhancement
feature
federation
feed
health
homepage
implementation
integration
logging
mastodon
media
navigation
npm-packages
openapi
opengraph
packages
passkeys
preview
priority:high
priority:low
priority:medium
production
proof
proxy
public-routes
public-ui
release
safety
slug-api
slug-auth
slug-core
slug-federation
slug-media
slug-template
social
sources
status:active
status:canceled
status:done
status:inprogress
status:waiting
syndication
tailwind
template
test
web
webauthn
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
erik/slugkit!221
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "feat/task-71479fac-health-version"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
versionto public/healthand API/api/v1/healthresponses.SLUGKIT_VERSION, then npm package metadata, then the template version fallback.SLUGKIT_VERSIONvia build arg and document the version source.Verification
Task: #task-71479fac
Review summary
Approved.
Acceptance criteria
/healthreturns a version field. Evidence:createHealthResponse()now returns{ status, version }and app route test assertsversion: "0.1.0"./health, API/api/v1/health, version-source unit tests, and CLI generated-template assertions were updated.SLUGKIT_VERSION, npm package metadata fallback, template fallback, and Docker--build-arg SLUGKIT_VERSION=<release-or-image-tag>.Blocking issues
Warnings
Verification reviewed
./scripts/pre-pr.shpassed locally.git diff --check main...HEAD.Final verdict
Approved. Ready for human merge approval.