Page MenuHomePhabricator

Track scap syncs that are part of a given SWAT window
Closed, DeclinedPublic

Description

It would be nice to have concrete data about SWAT windows without having to dig in the SAL. Some nice-to-have info: number of syncs per SWAT window and time spent deploying patches for a given SWAT window.

Event Timeline

thcipriani triaged this task as Medium priority.Jun 4 2018, 9:23 PM

We looked into this at the RelEng offsite a bit. There are a few options here:

  1. We could require deployers to start, e.g., scap swat start before they are allowed to sync
  2. We add a --type argument that accepts some enum (e.g., deploy, swat) to each sync command that, if not provided, provides a prompt: Is this sync part of a SWAT? [y/N]

These both risk inconveniencing deployers with little benefit. We could mitigate this inconvenience somewhat by parsing the SAL message for messages matching ^SWAT: and not prompting in that case. The final thing we discussed was documenting the existing scap swat command that @mmodell worked on.

Vvjjkkii renamed this task from Track scap syncs that are part of a given SWAT window to k1daaaaaaa.Jul 1 2018, 1:14 AM
Vvjjkkii raised the priority of this task from Medium to High.
Vvjjkkii updated the task description. (Show Details)
Vvjjkkii removed a subscriber: Aklapper.
Samwilson renamed this task from k1daaaaaaa to Track scap syncs that are part of a given SWAT window .Jul 1 2018, 4:56 AM
Samwilson lowered the priority of this task from High to Medium.
Samwilson updated the task description. (Show Details)
Samwilson added a subscriber: Aklapper.

Declining this in favor of T279322: Design m8s deployment workflows and tooling -- which encapsulates pipeline work as well.