跳到主要内容
知仓学习社ZHICANG

nw-deployment-strategies

Rollback procedures, risk assessment, pre/post-deployment validation, and contingency planning. Load when orchestrating deployment or preparing roll…

不碰外部(只输出文字)无严重或高危命中nWave-ai/nWave

它会碰到什么

扫了多少1 个文本文件,3 KB
它会碰到什么不碰外部(只输出文字)
命中总数0 处
命中统计严重 0 · 高 0 · 中 0 · 低 0

这一栏是扫描器报的事实,不是结论。命中多不等于有毒(安全工具、规则库、示例脚本本来就会包含危险写法),命中少也不等于干净。它和你手上的凭据、文件、网络有什么关系,需要你自己看。

技能内容

Deployment Strategies — Rollback, Risk, and Validation

For deployment strategy patterns (canary, blue-green, rolling, progressive delivery), see cicd-and-deployment skill. This skill focuses on operational concerns: validation, rollback, risk, and post-deployment.

Pre-Deployment Validation

Before any deployment, validate:

  • Deployment scripts tested in staging | Database migrations tested with rollback scripts
  • Configuration management consistent across environments | Health checks and service discovery configured
  • Monitoring and alerting systems prepared | Backup and disaster recovery procedures validated

Rollback Procedures

Design Rollback First

Every deployment plan starts with the rollback section:

  1. Database rollback: migration revert scripts tested and verified
  2. Application rollback: previous version tagged and deployable
  3. Configuration rollback: previous config snapshots available
  4. Traffic rollback: load balancer / feature flag kill switch ready
  5. Data rollback: data consistency plan for partial rollback scenarios

Automated Rollback Triggers

Configure automatic rollback when:

  • Error rate exceeds baseline by >2x | P95 latency exceeds SLA threshold
  • Health check failures exceed threshold (e.g., 3 consecutive) | Business metric anomaly detected (e.g., conversion drop >10%)

Manual Rollback Decision Criteria

Stakeholder-reported functional issues | Security vulnerability discovered post-deploy | Data integrity concerns | Performance degradation below acceptable levels.

Risk Assessment

Technical Risks

Integration failure with downstream services | Performance degradation under production load | Data migration integrity issues | Security vulnerabilities introduced.

Business Risks

User adoption challenges | Business process disruption | Stakeholder expectation misalignment.

Operational Risks

Infrastructure capacity limitations | Third-party dependency failures | Team availability for incident response.

Risk Mitigation Checklist

  • [ ] Rollback procedure designed and tested
  • [ ] Monitoring dashboards configured for deployment
  • [ ] On-call team notified of deployment window
  • [ ] Feature flags configured for gradual rollout
  • [ ] Communication plan for stakeholders prepared
  • [ ] Incident response runbook updated

Post-Deployment Validation

Production Smoke Tests

Critical user paths validated | Integration points tested with real external systems | Performance validated under production load | Security controls verified | Data integrity confirmed.

Monitoring Validation

Application performance metrics collecting | Error tracking and alerting active | Business metric dashboards updated | Infrastructure monitoring nominal.

想直接用这个技能?

本站把开放许可(MIT / Apache 等)的技能按仓库打包整理到网盘,点一下转存到你自己的网盘,不用一个个从 GitHub 拉。许可未声明的技能只给原始仓库链接,不打包。

同名技能的其他版本

有 2 个不同仓库或目录里都有叫 nw-deployment-strategies 的技能。它们内容并不相同,别混用:

  • nWave-ai/nWave — Rollback procedures, risk assessment, pre/post-deployment validation, and contingency plan