Tracks
A track is a lane of work on a channel's configurations. Saving a version puts it in a track, and saving changes nothing any agent runs: the track's versions wait there until a rollout ships the track. You can save as often as you like without deploying, and two people editing the same configuration each work in a track of their own without overwriting each other.
Saving into your track
Every save goes into your own track for that configuration, opened on your first save. A save on another configuration goes into your own track for that one, so deploying one never carries the other. The configuration page then says Saved to your track · not serving, with your newest version beside it, and the versions table tags that version Your track. Saving again builds on your newest version, so a track holds a line of versions, one after another.
Other people's open tracks on the configuration are listed in the same strip, each with its newest version, who owns it and how long ago they saved. Each person's track is their own: your saves never land in theirs.
Base, head and the broadcast
Three versions of a configuration matter to a track:
- the broadcast: the version agents run now, unless a rule of yours routes them elsewhere;
- the track's base: the version the track's first save was made on;
- the track's head: its newest save, which is what ships.
broadcast 01JBQ1A2... -----------------------> 01JBQ7K4...
\ (another track shipped)
your track base 01JBQ1A2... -> 01JBQ3C5... -> head 01JBQ5E8...
A track ships cleanly while its base is still the broadcast. When another track ships first, the broadcast moves on and your track's base is now behind it: it was made on a version agents no longer run. Shipping it as it stands would undo the other track's change, so a ready track is handed back to you as soon as the other ships, as the section on hand-backs below describes.
Opening a named track
Your own track suits one change at a time. For a larger piece of work, or one you want others to see by name, open a named track: on a configuration page, write what the track is for in the box beside New track and click it. The page reopens with the editor on the new track. The track belongs to the channel, not to the configuration, so it can carry changes to several configurations.
A named track holds nothing until you save into it. In the editor, Save to offers Your track and each named track you own; pick one, and the editor reopens on that track's newest version of the configuration. A named track's first save to a configuration builds on what that configuration is broadcasting, and later saves build on the track's own newest version. When another track ships first, a ready named track is handed back as it ships; the editor then opens on what is broadcasting, and a save there rebases the named track, as it does your own. The strip above the versions table lists it by its note once it holds a version of the configuration, and until then names it among your named tracks with nothing saved here yet.
The Tracks list and a track's page
The Tracks page in the channel's sidebar lists every track on the channel, in three parts:
- Named tracks, a track with a note each, first, in a table: the note, the owner, the state, each configuration the track changes with its newest version, and how long ago it was last saved. Ready tracks come first, the one that has waited longest at the top with how long it has waited beside its state; open tracks follow. Under a track's note, chips say what you would otherwise open the track to learn: muted version when one of the versions listed for it is itself muted, handed back with the reason for an open track that was handed back, and soundchecked with the number of hosts its soundcheck names. Hover over muted version for why the version was muted, and over handed back for what to do about it. The links at the top right of the page narrow the table to the ready tracks, or to those handed back. The configuration page's strip shows the same chips beside each track it lists.
- Personal tracks, folded under their count: one row per person per configuration, such as dev@example.com's track, with the configuration, the state and how long it has been open. Click the count to unfold them.
- Shipped and closed, greyed out, each with when it shipped or closed. They stay listed for 90 days.
A track that goes 30 days without a save or a change of state is closed for you. Its versions stay in the configuration's history.
A track's own page shows its owner, its note, its state, the head and base of each configuration it changes, and its soundcheck. Its controls are there too: Ready for the next rollout, Close track and Soundcheck.
Marking a track ready
Ready for the next rollout queues the track to ship. It is on the track's page, and on the configuration page beside your own track. The strip then says Your track · ready · will ship with the next rollout. Take it out of the queue undoes it.
Ready means this: whenever someone opens the deploy sheet on the newest version of a track they can ship (their own track, or any ready one), every ready track on the channel is listed in it and ticked, and ships unless they untick it. A deploy of any other version, an older one or one no track carries, ships that version alone and takes no ready tracks. While a rollout is running, the strip says A rollout is running; this track goes in the next one.
Closing a track
Close track, on the track's page, ends a track that will not ship. Its versions stay in the configuration's history, and nothing an agent runs changes. A track can be closed by its owner, or by an Admin or Owner of the organization.
Soundcheck: trying a track on a few hosts
Soundcheck, on the track's page, lists the channel's agents with their build and environment. Tick up to 10 hosts to try the track on and choose Save soundcheck. Those hosts are then served the track's head ahead of the channel's rules, and the page says how many hosts are soundchecking, each linked to its agent page. A host another track is soundchecking is marked with that track. To take it, tick it and tick Take over: the other track's soundcheck loses it. Without Take over, saving refuses it and changes nothing. Saving into the track moves its hosts to the new head. Untick every host to end the soundcheck. Shipping or closing the track ends it too.
A head that needs a confirmation a deploy would ask for, such as one that arms enforcement, uses a component no picked host can run, or matches a muted version, does not reach the hosts on its own: they stay on the head they had, and the track's page says so. Soundcheck again and give the confirmation under Confirm a gate to move them on.
Shipping: the deploy sheet's Tracks section
Click Deploy this version on your track's head, at the top of the configuration page. To ship someone else's ready track, click Deploy this version beside its head on the track's page, or open the configuration page at that head and click the one at the top: it deploys the version the page shows. Either way the deploy sheet opens with a Tracks section:
- the track it was opened on, ticked and fixed: it ships;
- every other ready track on the channel, ticked; untick one to leave it for a later rollout.
Under the tracks, the sheet lists each configuration that ships, the version it moves from and to, and a Compare. A configuration that needs a confirmation of its own, such as a version that arms enforcement, asks for it on its own line; each one has to be given before the sheet will ship.
Then choose how to ship:
- Staged rollout: Stage by stage, each judged before the next. The sheet says When the last stage is green, these become the broadcast and the tracks are shipped. See Rollouts for plans, stages and judgement.
- Broadcast now: the sheet says Broadcast now makes these the broadcast at once and ships the tracks. Every agent following the broadcast takes the new versions on its next check-in.
The sheet previews again whenever you tick or untick a track, and says when the tracks ticked cannot ship as they stand. Each sentence names the track, configuration or version involved:
Track trk-01JBQ2... was opened on 01JBQ1...; 01JBQ7... is broadcasting. Rebase it, or leave it out.
The track's base is no longer the broadcast. Untick it, or rebase it as the section on hand-backs below describes.
Two of these tracks changed cfg-01JBQ0... from different bases. Rebase track trk-01JBQ4... onto 01JBQ3..., or leave it out.
Two ticked tracks changed the same configuration, and their saves do not form one line. Rebase the track the sentence names onto the version it names, or untick it.
Everything track trk-01JBQ2... changes is already broadcasting, so there is nothing to stage. Broadcast now marks it shipped.
There is nothing for a staged rollout to move. Choose Broadcast now to mark the track shipped.
A rollout is running on this channel, and one rollout runs at a time. Try again when it finishes.
Wait for the running rollout, or open it from the channel's Rollouts page.
A ticked track whose newest version is already broadcasting on one of its configurations is not refused. The sheet says its head is already broadcasting; the rollout marks it shipped when it promotes.
Reading what a rollout ships
A rollout's page says Ships track (or tracks), then each track it ships, by note, linked to the track's page. Below that is one line per configuration it ships: the version it moves from, the version it moves to, and a Compare between the two.
When a track is handed back
A ready track is checked again whenever its configuration ships: by any rollout, Broadcast now or deploy that moves the configuration's broadcast, and by a rollout or a Broadcast now that takes the ready tracks. A track that can no longer ship as it stands goes back to its owner at once: it is open again, no longer ready, and its page says This track was handed back and why; the strip on the configuration page says the same of it. The reason is one of:
- Base moved: the track's base is no longer the broadcast, because something else shipped to the configuration first. The banner names the version to rebase onto.
- Diverged: the track and another track being shipped changed one configuration from different bases.
- Base handed back: the track was saved on a version from another track that was handed back in the same rollout.
- Rolled back: the rollout that carried the track was rolled back. Its base is still the broadcast, so there is nothing to rebase; mark it ready again when the cause is fixed.
- Configuration deleted: the track changes a configuration that has since been deleted, so it cannot ship. Close the track. To keep what it changed on other configurations, bring those versions into a new track.
To rebase a track handed back for any reason but Rolled back or Configuration deleted, on the configuration page:
- Click Compare against it in the banner. It shows your track's newest version against the version the banner names, so you can see your change.
- Click New version. For a named track, pick it under Save to first. The editor opens on what is broadcasting now, and says so above it.
- Make your change again in it, click Review changes, and save. The save goes into your track on top of what is broadcasting, so the track is rebased, and the banner goes. Your track's changes to files you did not edit come along. Where what is broadcasting changed a file your track changed too, make your track's change to that file again before you save. Then click Ready for the next rollout.
Marking a track ready without rebasing also clears the banner, but the next rollout hands it back for the same reason.
Bringing an old version back
Each row of a configuration's versions table offers two ways back to an older version:
- Open a track at this version saves a copy of that version into your track, naming the version it came from. Then deploy it from the top of the page, or mark your track ready for the next rollout.
- Deploy this version opens the deploy sheet on that version alone. A version no track carries ships by itself and takes no ready tracks; the sheet says how many ready tracks wait for the next rollout of a track.
After a rollout has finished, going back is the second: deploy the version that was broadcasting before it. To undo a rollout that is still running, roll it back from its page instead. See Rollouts.
Who can do what
| Viewer | Editor | Admin or Owner | |
|---|---|---|---|
| Read tracks, the Tracks list and a track's page | yes | yes | yes |
| Save, open a named track, mark ready and take out of the queue | no | yes | yes |
| Close a track | no | their own | yes |
| Soundcheck | no | yes, except a head that arms enforcement | yes |
| Deploy: Staged rollout, Broadcast now, rollout commands | no | no | yes |
A page leaves out the controls your role cannot use. Where its buttons would be, the deploy sheet says Your role cannot deploy. An Admin can., and the Routing page says the same of its rules.
Tracks can also be worked through the API; see Tracks through the API.