← ClaudeAtlas

railway-debuglisted

Analyze Railway production logs and debug deploy/runtime errors. Full workflow from log collection through root cause analysis, migration recovery, and post-deploy verification.
parisgroup-ai/imersao-ia-setup · ★ 1 · AI & Automation · score 77
Install: claude install-skill parisgroup-ai/imersao-ia-setup
# Railway Debug Analyze Railway production logs, identify errors, and guide the fix for deploy and production issues. > **Persistent memory:** Check project memory for Railway-specific notes before any action. --- ## Debug Workflow ``` 0. CHECK MEMORY - Read project memory for Railway notes - Check known pitfalls and tested commands 1. COLLECT CONTEXT - railway status (project and environment) - Identify which service has the problem 2. ANALYZE LOGS - Runtime logs (production errors) - Build logs (deploy errors) - Filter by error level 3. ACCESS PRODUCTION DB (if needed) - Use public URL (switchyard.proxy.rlwy.net) - NEVER use internal hostname (.railway.internal) 4. IDENTIFY ROOT CAUSE - Categorize error type - Correlate with local code 5. PROPOSE AND APPLY FIX - Suggest specific fix - Apply fix in code - Validate locally before deploy 6. VERIFY FIX - Re-deploy - Confirm clean logs 7. UPDATE MEMORY - Save lessons learned ``` --- ## Railway CLI Commands (Tested and Working) ### Commands that WORK ```bash # General status (shows project, environment, current service) railway status # View variables for a specific service railway variables --service <service-name> # Execute command with Railway env vars injected railway run -- node -e "console.log(process.env.DATABASE_URL ? 'ok' : 'no')" # Runtime logs railway logs -n 100 --service <service-name> # Build logs railway logs -n 200 --service <service-name> --bu