Skip to main content

Deploy Log: Every Deployment to a Salesforce Org in One Place

The Deploy log in mtdt.io lists the deployment history recorded for a connected Salesforce org: deploys and validations run from mtdt.io, and deployments made with other tools. It shows the available time, author and result for each run, plus component and error counts for mtdt.io runs. Runs deployed from Git also show the branch and the commit. A second tab sums up which metadata types and components reached the org in the chosen period, and the whole list can be exported to CSV.

Beta

The Deploy log is in beta. The page and its data may still change as we collect feedback.

Why keep a deploy log​

The Deployment Status page in Salesforce keeps only recent deployments and has no record of the branch or release a deployment came from. The Deploy log keeps the history in mtdt.io and answers the questions that come up after a release:

  • What reached this org last week? The Deployments tab lists the runs of the period, grouped by day, with the components of each run one click away.
  • Did anyone deploy here outside mtdt.io? Deployments made with other tools, such as change sets, the Salesforce CLI or another DevOps product, appear as external deployments.
  • When was this class last deployed, and how often? The Metadata types tab shows, for every type and component, how many times it was deployed in the period and when it last changed.
  • Can I give the auditors a list? Export CSV writes one line per deployed component, with the time, the author, the branch and the commit.

How it works​

Open Orgs, expand an org and choose Deploy log. The page has a period switch, four summary cards and two tabs: Deployments and Metadata types.

Deploy log page with the Deployments tab

The page shows the org it belongs to next to the title. Under the title is the period in UTC; periods always cover whole UTC days. Data as of shows when the page last read the log, and Refresh reads it again.

Choose the period​

The period switch offers today (the current UTC date), the last 7, 30 or 90 days, this month, last month and the last 3 months. You can also pick a range of up to 12 months or your own dates, up to 366 days. The page opens on the last 30 days. The period you choose becomes part of the page address, so a link you send shows your colleague the same window.

A deployment belongs to the day it started in Salesforce. When Salesforce does not report a start time, mtdt.io uses the time it recorded the deployment.

Summary cards​

CardWhat it counts
DeploysDeploys run from mtdt.io, and how many of them failed
ValidationsValidations run from mtdt.io, and how many of them failed
ExternalDeployments made outside mtdt.io. Hover ? to see when mtdt.io last read them
Components deployedDifferent components carried by successful mtdt.io deploys

The cards also work as shortcuts. Deploys and Validations filter the list to that kind of run, the failed link next to them shows the failed runs, External adds external deployments to the list, and Components deployed opens the Metadata types tab.

The mtdt.io summary and Metadata types calculations read at most 10,000 runs for a period. A + beside a count means the summary was capped; choose a shorter period to inspect a complete window.

Deployments​

The Deployments tab lists the runs of the period, newest first, grouped by day. Each row shows the time, who started the run, the deployment name, the result, the number of components and the number of errors. Hover over the error count to see how many were component errors and how many were failed tests. For a validation the result reads Validated, Validation failed or Validation canceled. If the mtdt.io deployment was later deleted, its runs stay in the log under the name Deleted.

Use All, Deploys and Validations to choose which runs to see. For calendar periods that span several months, the list also has a header for each month with its totals.

What is hidden by default​

By default the list shows the successful runs started from mtdt.io. Two switches next to the filter add the rest, and each shows how many runs it would add:

  • External adds deployments made outside mtdt.io.
  • Failed adds failed runs.

When some runs are hidden, the right end of the same row says how many, for example Also matching, hidden now: 4 external deployments. Click the number to show them. Both switches are saved in the page address together with the period.

Row details​

Click a row to see its components in a table with the name, the metadata type and the status of each one. The status is Created, Changed or Deleted when the deployment changed the component, and No change when the deployment carried it without a change. Hide unchanged is on by default, so the table opens with the components the deployment changed; clear it to see the rest, listed after the changed ones by type and name. The table shows the first 50 components and a Show all button, and long lists scroll inside the table. Runs with 20 or more components also get a filter by name or type. Problems that Salesforce reported for the run are listed under Problems. For a run deployed from Git, the details also show the Branch and the short Commit; hover over the commit to see it in full. If the mtdt.io deployment has a description, it is shown under Description. The work items linked to the deployment are listed under Work items; click one to open it.

From the details you can open the mtdt.io deployment (Open MTDT deployment), or click the DeployRequest Id to open the deployment in Salesforce Setup.

Row details with components and links

External deployments​

mtdt.io polls recent Salesforce deployment requests during its nightly refresh, looking back two days, and adds deployments it did not start itself. If the Deployments source in Org Monitoring is enabled, it also collects deployment requests on its 15-minute schedule. This builds a log of collected runs going forward; it does not import the org's full historical deployment history. Hover the ? icon on the External card to see which applies: Updated nightly, or how long ago the last update was. An external deployment appears in the log after the next read. External rows show the time, the author and the result reported by Salesforce. Their component lists are not available in the log; click the DeployRequest Id in the row details to see them in Setup.

Metadata types​

The Metadata types tab sums up the successful mtdt.io deploys of the period by metadata type. For each type it shows how many different components were deployed, how many times they were deployed in total and when the last deploy happened. Expand a type to see its components, with the last change made to each one and the deploy that last carried it.

Metadata types tab with a search

A component counts once for every deploy that carried it, whether the deploy changed it or not. For calendar periods that span several months, the table has a column per month and a total.

Type in Search components to find a type or a component by name. Types that match by name are shown whole. Other types are shown when some of their components match: they open with only those components, and the type row shows how many of its components match, for example 2 of 46.

Export to CSV​

Export CSV, at the right end of the filter row on the Deployments tab, downloads the runs that match the current period and filters. The file has one line per deployed component, so it answers what reached the org, when, by whom and from which branch. Runs without component details, such as external deployments, take one line each.

The columns are: Deployed at (UTC), Deployment, Deployment ID, Salesforce deploy ID, Type, Result, Status, Author, Branch, Commit, Component type, Component name and Change. An export holds up to 5,000 of the newest runs of the period; choose a shorter period to export the rest.

Who can see the Deploy log​

The Deploy log is available to team members whose role has the View permission under Metadata Deploys in Team Settings → Roles & permissions. Without it, the Deploy log button does not appear on the org, and the page itself says that you have no access.

FAQ​

What does the mtdt.io Deploy log show? The Deploy log shows every deployment recorded on a connected Salesforce org: deploys and validations run from mtdt.io and deployments made with other tools. Each run has its time, author, result, component count and error count, plus the Git branch and commit for runs deployed from Git, and the Metadata types tab sums up which components were deployed in the period.

Does the Deploy log include deployments made outside mtdt.io? Yes. mtdt.io collects recent deployment requests during its nightly refresh, or on Org Monitoring's 15-minute schedule when its Deployments source is enabled, and adds the deployments it did not start, such as change sets or Salesforce CLI deploys. Earlier history outside the collection window is not imported. They are hidden by default; switch on External to add them to the list.

Why don't I see failed deployments? The list starts with successful runs only. Switch on Failed, or click the number of failed runs at the right end of the filter row, to add them. The Deploys and Validations cards always show how many mtdt.io runs failed in the period.

How do I find when a component was last deployed? Open the Metadata types tab and type the component name in Search components. The table shows how many times the component was deployed in the period, the last change made to it and the deploy that last carried it.

Can I export the Deploy log? Yes. Export CSV on the Deployments tab downloads the runs of the current period and filters, one line per deployed component, with the time in UTC, the author, the branch and the commit. One export holds up to 5,000 runs.

Who can open the Deploy log? Team members whose role has the View permission under Metadata Deploys. The page is in beta.