$npx -y skills add hanamizuki/solopreneur --skill gplay-rollout-managementStaged rollout orchestration and monitoring for Google Play releases. Use when implementing gradual release strategies.
| 1 | # Staged Rollout Management |
| 2 | |
| 3 | Use this skill when you need to manage gradual releases on Google Play. |
| 4 | |
| 5 | ## What is Staged Rollout? |
| 6 | |
| 7 | Staged rollout releases your app to a percentage of users, allowing you to: |
| 8 | - Monitor crash rates and reviews before full release |
| 9 | - Catch critical bugs with limited user impact |
| 10 | - Gradually increase distribution as confidence grows |
| 11 | |
| 12 | ## Start a Staged Rollout |
| 13 | |
| 14 | ### During initial release |
| 15 | ```bash |
| 16 | gplay release \ |
| 17 | --package com.example.app \ |
| 18 | --track production \ |
| 19 | --bundle app-release.aab \ |
| 20 | --rollout 0.1 |
| 21 | ``` |
| 22 | |
| 23 | This releases to 10% of users. |
| 24 | |
| 25 | ### Promote with rollout |
| 26 | ```bash |
| 27 | gplay promote \ |
| 28 | --package com.example.app \ |
| 29 | --from beta \ |
| 30 | --to production \ |
| 31 | --rollout 0.25 |
| 32 | ``` |
| 33 | |
| 34 | ## Increase Rollout Percentage |
| 35 | |
| 36 | ```bash |
| 37 | # Increase to 25% |
| 38 | gplay rollout update \ |
| 39 | --package com.example.app \ |
| 40 | --track production \ |
| 41 | --rollout 0.25 |
| 42 | |
| 43 | # Increase to 50% |
| 44 | gplay rollout update \ |
| 45 | --package com.example.app \ |
| 46 | --track production \ |
| 47 | --rollout 0.5 |
| 48 | |
| 49 | # Increase to 100% (or use complete) |
| 50 | gplay rollout update \ |
| 51 | --package com.example.app \ |
| 52 | --track production \ |
| 53 | --rollout 1.0 |
| 54 | ``` |
| 55 | |
| 56 | ## Halt Rollout |
| 57 | |
| 58 | Pause distribution if issues are detected: |
| 59 | |
| 60 | ```bash |
| 61 | gplay rollout halt \ |
| 62 | --package com.example.app \ |
| 63 | --track production |
| 64 | ``` |
| 65 | |
| 66 | **Effect:** |
| 67 | - Stops further distribution |
| 68 | - Existing users keep the update |
| 69 | - New users don't receive the update |
| 70 | |
| 71 | ## Resume Rollout |
| 72 | |
| 73 | Resume after fixing issues: |
| 74 | |
| 75 | ```bash |
| 76 | gplay rollout resume \ |
| 77 | --package com.example.app \ |
| 78 | --track production |
| 79 | ``` |
| 80 | |
| 81 | ## Complete Rollout |
| 82 | |
| 83 | Release to 100% of users: |
| 84 | |
| 85 | ```bash |
| 86 | gplay rollout complete \ |
| 87 | --package com.example.app \ |
| 88 | --track production |
| 89 | ``` |
| 90 | |
| 91 | ## Check Rollout Status |
| 92 | |
| 93 | ```bash |
| 94 | gplay tracks get \ |
| 95 | --package com.example.app \ |
| 96 | --track production \ |
| 97 | | jq '.releases[0].userFraction' |
| 98 | ``` |
| 99 | |
| 100 | ## Recommended Rollout Strategy |
| 101 | |
| 102 | ### Conservative (7-day rollout) |
| 103 | ```bash |
| 104 | # Day 1: 10% |
| 105 | gplay release --package com.example.app --track production --bundle app.aab --rollout 0.1 |
| 106 | |
| 107 | # Day 2: 25% (monitor crash rate) |
| 108 | gplay rollout update --package com.example.app --track production --rollout 0.25 |
| 109 | |
| 110 | # Day 3: 50% |
| 111 | gplay rollout update --package com.example.app --track production --rollout 0.5 |
| 112 | |
| 113 | # Day 5: 75% |
| 114 | gplay rollout update --package com.example.app --track production --rollout 0.75 |
| 115 | |
| 116 | # Day 7: 100% |
| 117 | gplay rollout complete --package com.example.app --track production |
| 118 | ``` |
| 119 | |
| 120 | ### Aggressive (3-day rollout) |
| 121 | ```bash |
| 122 | # Day 1: 25% |
| 123 | gplay release --package com.example.app --track production --bundle app.aab --rollout 0.25 |
| 124 | |
| 125 | # Day 2: 50% |
| 126 | gplay rollout update --package com.example.app --track production --rollout 0.5 |
| 127 | |
| 128 | # Day 3: 100% |
| 129 | gplay rollout complete --package com.example.app --track production |
| 130 | ``` |
| 131 | |
| 132 | ### Cautious (for critical apps) |
| 133 | ```bash |
| 134 | # Day 1: 5% |
| 135 | gplay release --package com.example.app --track production --bundle app.aab --rollout 0.05 |
| 136 | |
| 137 | # Day 2: 10% (monitor carefully) |
| 138 | gplay rollout update --package com.example.app --track production --rollout 0.1 |
| 139 | |
| 140 | # Day 3: 25% |
| 141 | gplay rollout update --package com.example.app --track production --rollout 0.25 |
| 142 | |
| 143 | # Day 5: 50% |
| 144 | gplay rollout update --package com.example.app --track production --rollout 0.5 |
| 145 | |
| 146 | # Day 7: 75% |
| 147 | gplay rollout update --package com.example.app --track production --rollout 0.75 |
| 148 | |
| 149 | # Day 10: 100% |
| 150 | gplay rollout complete --package com.example.app --track production |
| 151 | ``` |
| 152 | |
| 153 | ## Monitoring During Rollout |
| 154 | |
| 155 | ### Check crash rate |
| 156 | Use Play Console → Quality → Android vitals |
| 157 | |
| 158 | ### Monitor reviews |
| 159 | ```bash |
| 160 | # Get recent reviews |
| 161 | gplay reviews list \ |
| 162 | --package com.example.app \ |
| 163 | --paginate \ |
| 164 | | jq '.reviews[] | select(.createdTime > "2025-02-05") | {rating, text: .comments[0].userComment.text}' |
| 165 | ``` |
| 166 | |
| 167 | ### Filter 1-star reviews |
| 168 | ```bash |
| 169 | gplay reviews list \ |
| 170 | --package com.example.app \ |
| 171 | | jq '.reviews[] | select(.rating == 1) | .comments[0].userComment.text' |
| 172 | ``` |
| 173 | |
| 174 | ## Decision Matrix |
| 175 | |
| 176 | | Metric | Action | |
| 177 | |--------|--------| |
| 178 | | Crash rate < 1% | Continue rollout | |
| 179 | | Crash rate 1-2% | Halt, investigate | |
| 180 | | Crash rate > 2% | Halt, rollback if possible | |
| 181 | | 1-star reviews spike | Halt, investigate | |
| 182 | | ANR rate spike | Halt, investigate | |
| 183 | | No issues after 24h | Increase rollout | |
| 184 | |
| 185 | ## Rollback Strategy |
| 186 | |
| 187 | Google Play doesn't support automatic rollback, but you can: |
| 188 | |
| 189 | ### Option 1: Upload hotfix |
| 190 | ```bash |
| 191 | # Build hotfix with higher version code |
| 192 | ./gradlew bundleRelease |
| 193 | |
| 194 | # Release hotfix immediately to 100% |
| 195 | gplay release \ |
| 196 | --package com.example.app \ |
| 197 | --track production \ |
| 198 | --bundle app-hotfix.aab |
| 199 | ``` |
| 200 | |
| 201 | ### Option 2: Promote previous version |
| 202 | This requires the previous version still be in beta track: |
| 203 | |
| 204 | ```bash |
| 205 | gplay promote \ |
| 206 | --package com.example.app \ |
| 207 | --from beta \ |
| 208 | --to production |
| 209 | ``` |
| 210 | |
| 211 | ## Best Practices |
| 212 | |
| 213 | 1. **Always start with <20%** - Catch issues early |
| 214 | 2. **Monitor for 24 hours** between increases |
| 215 | 3. **Have a hotfix plan** - Be ready to fix critical bugs quickly |
| 216 | 4. **Set up alerts |