Skip to content

Deployments

Deployments answers two questions: what is running in each environment right now, and how did it get there.

It observes. Taiga records and reports deployments; it does not perform them. Your pipeline stays where it is, and Taiga reads what it did.

It reads through your source control, which is the one prerequisite: a product sees deployments once a repository is linked, and not before. Until then there is nothing to observe and nothing to import.

Each environment has its own tab, production first, so what runs in production is always one click away. A dot beside each environment’s name says how it stands: running, deploying, or its latest deployment failed. An environment that is deploying or failed also says so in words beside its name, so the one that needs a look shows before you open it. A tab pins what is running in that environment now at the top, together with anything deploying to it, and lists the rest of its history below, week by week, newest first. Each week says how many deployments it holds, and only the newest one starts open. The list is one table: sorting by a column orders each week on its own, never across weeks, and the sort stays in the page’s address, so a sorted view survives a reload and can be shared.

Each line is one run of your pipeline. A deploy workflow reports a deployment per job, and a line brings a run’s jobs together. It names what shipped, the commit’s message, and carries its status and how long it took. A deployment that went live reads as succeeded, even after a later one replaced it. The one an environment runs now is marked as current, even when the provider has already marked it superseded. A failure’s own page shows the error the provider reported.

What is running is derived from your deployment history rather than taken from a provider’s “active” marker, because that marker is not reliable enough to build on. It is the most recent deployment that actually succeeded. On a product with several repositories, each repository has its own, so a backend and its frontend are both shown running in production, each from its own latest successful deployment, and each line names the repository it came from. A repository the product no longer links stops counting as running anywhere. When a newer attempt failed or was rolled back, you see it next to the version still running, not in place of it.

Opening a line shows every attempt to deploy that commit, in every environment, so you can follow the change from development through staging to production and read any one attempt in full: how it ended and, for a failure, the error the provider reported; which deployment it took over from, with a comparison of the two commits when the deployment’s repository is on GitHub or Azure DevOps; how long it took to deploy, how long the change took to get there from its commit, and after a failure, how long until the environment ran a good deployment again. When Taiga built the change, the initiative it came from is named, and the link opens the build run. On a product with more than one repository, the page also names the repository the deployment came from.

The history is mirrored from your provider, so it includes every deployment your pipeline made, whether or not Taiga had anything to do with the change being deployed. The record does not have a hole in it for work that happened outside Taiga. On GitHub it arrives live, as the provider reports each event, and every few hours Taiga reads each environment’s records again, back to when it last synced, so an event that never reached it is picked up on the next pass. Azure DevOps has no live deployment events in Taiga. Its history is read by polling every six hours by default, so new deployments and status changes can take that long to appear.

Per-pull-request previews and verification checks are kept apart from the environments, grouped by the pull request they belong to, on a tab named for what it holds: Previews, Checks, or Previews & checks. A check is a pull request’s run that recorded a deployment to a shared environment without deploying, such as a Terraform plan that uses the environment’s credentials. Previews are real deployments, but both are noise when you are asking what shipped, and neither counts toward the delivery metrics.

GitHub deployments are completed with their commit as they arrive: the message, authored time (which lead time is measured from), and associated pull request. Azure deployments currently carry the commit SHA and branch, without commit-message, authored-time or pull-request enrichment. Azure lead time is therefore unavailable; deployment duration and outcome metrics still use the environment job timestamps. If you connected a repository that already had deployment history, importing it backfills the record rather than starting your history at the day you signed up. Taiga imports it on its own once the repository is connected, usually within a minute, later when other imports are under way; there is nothing to start. An import reaches back 90 days, one environment at a time, production first, so the history you read first is in first. If an import stops, say because the provider was briefly unavailable, it keeps what it brought in, and Taiga tries it again on its own: a few times within the hour, then once a day. For GitHub, an import also completes deployments recorded before Taiga looked their commits up. Azure reconciliation and history imports have separate budgets of up to 100 collection pages and 100 verification pages per environment in each pass, before the unfinished-deployment refresh described below. Reconciliation searches at most ten pages beyond the lookback window for this repository. Selected runs need their sibling jobs read before their outcome can change the active rollout. If Azure repeats a page or the limit prevents completing that read, Taiga keeps the prior rollout, imports the complete runs it did read, and continues with other environments. A window import saves its collection and verification progress for the next pass, then checks for newer job attempts before publishing a completed outcome. Incomplete history is not reported as a completed sync.

An Azure environment’s success waits until its pipeline completes, because a running pipeline can still add deployment jobs. Its own jobs determine the outcome and completion time; a failure in another environment does not turn this environment’s successful jobs into failures. Until then, the previous rollout stays active.

Known unfinished Azure deployments are refreshed even after leaving the recent history window. Each pass advances up to five deployments, reading up to 20 history pages per deployment. Before a resumed scan changes an outcome, Taiga rereads its collected job pages, advancing through up to 100 pages per pass, and checks for newer siblings. Larger or interrupted reads save their progress and preserve the previous serving rollout until the scan completes. A failed job remains visible while its running siblings continue to be refreshed. Deleted environments are removed from this refresh queue.

The Insights tab derives DORA’s five software delivery metrics from the production history, over the last 30, 60 or 90 days, chosen with the same Window control as Monitoring. They are grouped the way DORA groups them, throughput first and instability second:

MetricGroupWhat it tells you
Deployment frequencyThroughputHow often you ship.
Lead timeThroughputHow long a change takes to reach production.
Failed deployment recovery timeThroughputHow quickly you recover when a deployment fails.
Change-failure rateInstabilityWhat proportion of deployments cause a problem.
Rework rateInstabilityWhat proportion of deployments were unplanned repairs.

The last three are read from deployments, not from incidents: a problem is a deployment that failed or was rolled back, and recovery is the next deployment that went live in that environment after it. Repeated failures before a deployment goes live count as one failure episode. Recovery time is measured from the start of the latest failure episode to the next deployment that goes live. Existing recovery figures can shift because repeated failures are now grouped this way. A deployment counts as rework when it started after a failure and before any deployment went live again, so a fix and a fix to the fix both count. Re-running a failed pipeline run is that same run, so it is not counted again. A rollback after a deployment that succeeded but broke production is not seen, because nothing in the deployment history says it failed.

Beside them, the tab reads the flow behind the numbers over the same window: how long a change waits after going live in one environment before it goes live in the next, and which deployments failed or were rolled back, production’s first, each with when it failed, the error it failed with, whether the environment has recovered and how fast, and a link to the run.

The metrics are reported for the environment marked as production. A product without one sees a notice that links to the environment’s settings, where you can mark it, and still sees the flow, which is read from every environment.

They are computed, not entered, which is the point. Metrics that require someone to maintain a spreadsheet stop being maintained.

Each metric carries a trend against the window before it, and every metric but rework rate carries a performance band. DORA has published no bands for rework rate, so read it against its own trend. A trend built on fewer than ten deployments in either window is shown as approximate rather than as a verdict. The tab has nothing to report only when production had no deployment in the window; a metric that no deployment fed, such as recovery time in a window with no failure, says so instead of showing a number.

Environments, and how deployments find them

Section titled “Environments, and how deployments find them”

An environment is what a deployment is recorded against. You set yours up from the product, with a standard ladder offered, Development, Staging and Production, and reshape it in product settings, where the cloud connection behind an environment also lives.

Your pipeline does not need to know about any of this. A mirrored deployment arrives carrying whatever environment name your pipeline used, and Taiga matches it to yours: to the environment it matched before, by name, or by tier, so a workflow deploying to “prod” lands on Production.

A name that matches nothing is not dropped. Taiga creates the environment automatically, because deployment history must never be lost for the lack of a matching environment. And per-pull-request preview deployments all collapse onto one shared preview environment, rather than each pull request minting its own.

Today the mirror reads GitHub and Azure DevOps. For Azure DevOps it reads deployment jobs recorded against Azure Pipelines environments; see Connect Azure DevOps.

Did you find what you needed?