debug-deployment

Diagnose failed dltHub Platform deployment jobs using status, logs, and run inspection commands.

Updated Jun 15, 2026
One-click install
npx skills add https://github.com/aminojagh/LLMZC --skill debug-deployment-aminojagh
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: debug-deployment
Source: https://github.com/aminojagh/LLMZC/tree/main/05_02_dlt_workshop/.claude/skills/debug-deployment
Command: npx skills add https://github.com/aminojagh/LLMZC --skill debug-deployment-aminojagh

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve? When a dltHub Platform runtime job fails or produces unexpected results, finding the root cause requires navigating job statuses, run histories, logs, and profile configurations. This Skill provides a structured diagnostic workflow with the exact dlthub CLI commands needed to identify and fix deployment failures quickly. ## Core Features & Use Cases - Job and Run Inspection: List jobs by name or fnmatch selectors, view run details, and stream logs in real time to pinpoint failures. - Guided Quick Diagnosis: Follow a step-by-step checklist covering common causes such as missing dependencies in pyproject.toml, unconfigured prod profile secrets, leftover dev_mode flags, and job timeouts. - Safe Production Data Access: Enforces a read-only, human-confirmed workflow for accessing production data through the correct profile, then restores the dev profile afterward. - Use Case: A nightly ingestion job fails silently. Use this Skill to check the run's exit status, read its logs, discover a missing package in pyproject.toml, fix it, and relaunch the job. ## Quick Start Debug why my dltHub ingestion job failed last night and show me the relevant logs and run details.

Frequently Asked Questions about debug-deployment

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I debug a failed dltHub deployment job?▼

Run dlthub job runs info with the job name to check exit status and timing, then use dlthub job runs logs to read the error output. Common causes include missing dependencies in pyproject.toml, unconfigured prod profile secrets, or leftover dev_mode settings.

How to view logs for a dltHub job run?▼

Use dlthub job logs with a job name or selector for the latest run, or dlthub job runs logs with a run number for a specific execution. Add the -f flag to stream logs in real time.

Why does my dltHub job do nothing when it runs?▼

The most common cause is a script missing the if __name__ == "__main__": guard, so the job executes no code. Also verify all dependencies are declared in pyproject.toml, since locally installed packages are not automatically available at runtime.

Can I access production data with the dlthub CLI?▼

Yes, but only read-only and after explicit human confirmation. Pin the access or prod profile, run commands with dlthub local run --profile prod or the WORKSPACE__PROFILE environment variable, then pin the dev profile again when finished.

How do I cancel running dltHub jobs?▼

Use dlthub job cancel with a job name or selector such as tag:backfill to cancel active runs. Add --dry-run to preview what would be cancelled, or use dlthub job runs cancel to stop a specific run.

Why does my dltHub job time out?▼

The default job timeout is 120 minutes. Override it by setting execute={"timeout": "6h"} in the job decorator to allow longer-running pipelines to complete.