Vectrune Health

Add a liveness check to a Rune REST app. GET /health returns HTTP 200 and the plain-text body OK when the route is reachable.

CLI

From your app project, use a Vectrune build with catalog support.

vectrune deps add health

Start the app and query the liveness route.

vectrune app.runecurl -i http://127.0.0.1:3000/health

Rune import

Place the import above your app sections. The package supplies the route when Vectrune loads the file.

import "pkg:health/health.rune"@Appname = My APItype = RESTport = 3000

Sections and builtins

@Route/GET/health
Registers GET /health. Use this as a liveness probe for the running REST app.
Builtins and package commands
The package uses the core respond builtin. It adds no builtins, custom section types, or CLI subcommands.

Use a separate readiness endpoint if your checks depend on a database or another service.