post-deploy
Verify a deployment succeeded and the system is healthy after railway up. Use immediately after any deploy.
来源信息
- 仓库
- sfgray26/CBB_Betting
- 最近来源活动
- 2026年4月29日 20:08
- 检测到的 SKILL.md 语言
- 英语
- 星标
- 0
- 分支
- 0
安装方式
默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。
检查来源文件
决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。
正在显示 SKILL.md
SKILL.md
来源说明 · 只读预览- name
- post-deploy
- description
- Verify a deployment succeeded and the system is healthy after railway up. Use immediately after any deploy.
# Post-Deploy Verification
## Workflow
### Step 1: Check Railway status
```bash
railway status
```
### Step 2: Watch logs for startup errors (first 50 lines)
```bash
railway logs | head -50
```
### Step 3: Run health check
```bash
bash .gemini/skills/health-check/scripts/check-health.sh
```
### Step 4: Check critical endpoints
```bash
curl -s -o /dev/null -w "%{http_code}" https://fantasy-app-production-5079.up.railway.app/health
curl -s -o /dev/null -w "%{http_code}" https://fantasy-app-production-5079.up.railway.app/admin/scheduler/status
```
## Success Criteria
- Railway shows "running"
- Logs show "Uvicorn running" without ImportError
- Health check returns OK
- Both endpoints return 200
## Failure Handling
- If restart loop → `railway logs --follow` and escalate to Claude Code
- If ImportError → likely missing dependency, escalate to Claude Code
- If 500 on health → check logs for Python traceback, escalate to Claude Code
在 GitHub 查看