Skip to main content

Deploy

Planned: safe fix deployment with canary releases and A/B testing — built, and gated off.

Held for the beta

This feature is built. It is not available in this release. It has no release date. This page describes it as designed.

The numbers on this page (rollback time, ramp timings, safety thresholds) are design targets. They were never measured on a running deployment.

Risicare is designed to deploy a fix recommendation progressively and roll it back automatically on regression. None of that runs today. For error classification, which does, see Diagnose.

Overview

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

A deployment row holds one of these statuses:

StateDescription
pendingDeployment created, not yet started
canaryCreated at its initial traffic percentage but not yet routed; the worker's next check moves it to running
runningLive: the fix is routed to its share of traffic
rampingTraffic percentage increasing through ramp stages
testingStatistical test in progress
completedRollout finished at 100%
rolled_backDeployment reverted due to failure or manual action
failedDeployment encountered an unrecoverable error

Deployment Safety

Automatic Rollback

Fixes are automatically rolled back if:

ConditionThreshold
Error rate increase>10% vs baseline
P99 latency increase>2x baseline
Manual rollbackTriggered by user

Rollback Speed

Design target: under 500ms. This is an unmeasured target, not an observed figure — nothing has ever been timed.

As designed, an SDK process with the fix runtime on learns about a rollback only by polling GET /v1/fixes/active on the API host, every 60 seconds by default; there is no push path. A given SDK process can keep applying the old fix until its next successful poll.

Dashboard (planned)

There are no deployment pages in the dashboard in this release. As designed:

Deployment List

View all deployments:

ColumnDescription
FixFix ID and description
StatusCurrent deployment state
TrafficCurrent traffic percentage
Error RateTreatment vs control
P-valueStatistical significance
StartedDeployment 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

Not available with an API key during the beta. As designed, four operations manage deployments: list, get, create, and roll back (owner or admin).

Next Steps