Deploy
Safe fix deployment with canary releases and A/B testing.
Risicare deploys validated fixes through a safe, progressive rollout.
Overview
Canary
Initial 5% rollout
Learn more
A/B Testing
Statistical validation
Learn more
Rollback
Instant rollback
Learn more
Deployment Pipeline
Fix Created
|
+-------------------+
| Canary (5%) | Minimum 100 samples
| | Monitor error rate
+-------------------+
| (if passing)
+-------------------+
| Ramp (25%) | Statistical A/B test
| | O'Brien-Fleming boundaries
+-------------------+
| (if winning)
+-------------------+
| Ramp (50%) | Continue testing
| |
+-------------------+
| (if winning)
+-------------------+
| Graduate (100%) | Hold for 24 hours
| | Mark as graduated
+-------------------+
Deployment States
| State | Description |
|---|---|
pending | Fix created, deployment not yet started |
active | Deployment is live and serving traffic |
ramping | Traffic percentage increasing through ramp stages |
graduated | Fix reached 100% and held for 24 hours |
rolled_back | Deployment reverted due to failure or manual action |
failed | Deployment encountered an unrecoverable error |
Deployment Safety
Automatic Rollback
Fixes are automatically rolled back if:
| Condition | Threshold |
|---|---|
| Error rate increase | >10% vs baseline |
| P99 latency increase | >2x baseline |
| Manual rollback | Triggered by user |
Rollback Speed
Target: under 500ms
Rollback updates Redis routing instantly. The SDK polls for changes every 60 seconds, but critical rollbacks trigger immediate cache invalidation.
Dashboard
Deployment List
View all deployments:
| Column | Description |
|---|---|
| Fix | Fix ID and description |
| Status | Current deployment state |
| Traffic | Current traffic percentage |
| Error Rate | Treatment vs control |
| P-value | Statistical significance |
| Started | Deployment start time |
Deployment Detail
For each deployment:
- Metrics: Error rate, latency, cost over time
- A/B Results: Control vs treatment comparison
- Events: State transitions, rollbacks
- Configuration: Fix config and targeting
Deployment API
Four endpoints manage deployments:
# List deployments
curl -X GET "https://app.risicare.ai/v1/deployments" \
-H "Authorization: Bearer rsk-..."
# Get deployment detail
curl -X GET "https://app.risicare.ai/v1/deployments/{id}" \
-H "Authorization: Bearer rsk-..."
# Create deployment
curl -X POST "https://app.risicare.ai/v1/deployments" \
-H "Authorization: Bearer rsk-..." \
-d '{"fix_id": "fix-xyz789"}'
# Rollback deployment
curl -X DELETE "https://app.risicare.ai/v1/deployments/{id}" \
-H "Authorization: Bearer rsk-..."