What problem does it solve?
Upgrading a self-hosted Lightdash instance without checking span safety and database readiness can cause failed, hung, or lock-stuck migrations. This Skill interprets the lightdash upgrade-check and migrate preflight commands correctly so operators know whether an upgrade is safe before a maintenance window.
Core Features & Use Cases
- Span safety verification: Runs
lightdash upgrade-check --json to gate on the safe field, handling tri-state verdicts, required stops, and unverifiable spans that fail closed.
- Database preflight gating: Runs
migrate preflight --json inside the image and branches on decision and summary.red/summary.yellow, distinguishing severity class from check outcome.
- Misreading prevention: Flags calm-looking results that mean "could not check", such as a
version-path yellow blinding lock and disk checks, or probe errors masquerading as quiet tables.
- Use Case: An operator planning an upgrade from 1.130.0 to 1.138.0 uses this Skill to confirm the span is safe, run the preflight against the live database, surface every yellow check, and recover a parked migration lease per the runbook.
Quick Start
Ask the assistant to check whether upgrading your self-hosted Lightdash instance from your current version to a target version is safe, and to interpret the preflight results.