Writing Skills
writing-skills
效率与协作技能,来自 obra/superpowers,查看原文获取完整用途和操作说明。
perplexity-prod-checklist【部署与运维】Execute Perplexity production deployment checklist and rollback procedures. Use when deploying Perplexity integrations to production, preparing for launch, or implementing go-live procedures. Trigger with phrases like "perplexity production", "deploy perplexity", "perplexity go-live", "perplexity launch checklist".
独立 GitHub 快照 · 自动分类 · 以原作者文档为准
Complete checklist for deploying Perplexity integrations to production.
npm test)# Pre-flight checks
curl -f https://staging.example.com/health
curl -s https://status.perplexity.com
# Gradual rollout - start with canary (10%)
kubectl apply -f k8s/production.yaml
kubectl set image deployment/perplexity-integration app=image:new --record
kubectl rollout pause deployment/perplexity-integration
# Monitor canary traffic for 10 minutes
sleep 600
# Check error rates and latency before continuing
# If healthy, continue rollout to 50%
kubectl rollout resume deployment/perplexity-integration
kubectl rollout pause deployment/perplexity-integration
sleep 300
# Complete rollout to 100%
kubectl rollout resume deployment/perplexity-integration
kubectl rollout status deployment/perplexity-integration
| Alert | Condition | Severity |
|---|---|---|
| API Down | 5xx errors > 10/min | P1 |
| High Latency | p99 > 5000ms | P2 |
| Rate Limited | 429 errors > 5/min | P2 |
| Auth Failures | 401/403 errors > 0 | P1 |
async function healthCheck(): Promise<{ status: string; perplexity: any }> {
const start = Date.now();
try {
await perplexityClient.ping();
return { status: 'healthy', perplexity: { connected: true, latencyMs: Date.now() - start } };
} catch (error) {
return { status: 'degraded', perplexity: { connected: false, latencyMs: Date.now() - start } };
}
}
kubectl rollout undo deployment/perplexity-integration
kubectl rollout status deployment/perplexity-integration
For version upgrades, see perplexity-upgrade-migration.