Levelrail Diagnose

Diagnose a failed or unhealthy Levelrail app and roll back. Use when a deploy failed, an app is down, logs or status are needed, or production needs a rollback.

glincker Updated

File contents

Diagnose and roll back

levelrail-cli apps status <app>
levelrail-cli attention
levelrail-cli apps deploys list <app>
levelrail-cli apps deploys show <app> <deploy-id>
levelrail-cli apps diagnose <app>
levelrail-cli apps logs <app> --follow

apps deploys show returns the structured failure (stage, reason, suggested fix). Read it before changing anything, and change one thing per attempt. Add --json for machine-readable output.

Roll back

levelrail-cli apps deploys list <app>
levelrail-cli apps deploys rollback-to <app> <deploy-id>

Roll back first when production is down, then investigate. Stay inside the app you were asked about.

Command details: apps.

glincker/levelrail commit b5b9239d17

Frequently asked questions

npx get-skill add glincker/levelrail-diagnose