https://bugzilla.wikimedia.org/show_bug.cgi?id=52409

       Web browser: ---
            Bug ID: 52409
           Summary: Expose deployment status in -operations channel topic
           Product: Wikimedia
           Version: wmf-deployment
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: Unprioritized
         Component: General/Unknown
          Assignee: [email protected]
          Reporter: [email protected]
                CC: [email protected], [email protected],
                    [email protected]
    Classification: Unclassified
   Mobile Platform: ---

The problem:
Especially during lightning deploys, but other times as well, 2 or more teams
are coordinating around each other to deploy code. This results in a lot of
back and forth, eg:

<personA> hey personB, how's it going?
...some non-zero time passes...
<personB> personA: about ready to scap
...some much larger than zero time passess...
<personA> personB: ping
...some non-zero time passes...
<personB> personA: oh yeah, done now.

Granted, there are the logmsgbot messages about when certain commands are
run/started (and in some limited cases, completed, eg localization), but those
can be easily missed if puppet decides that a bunch of hosts are fresh or not
fresh.

Proposed solution:
Include the current status of deployments in the /topic in
#wikimedia-operations.

This could begin as simple as:
"DeployStatus: Open" meaning "no deploy script is running"
"DeployStatus: Scap'ing" meaning uh, a scap is running, yeah
"DeployStatus: Syncing" meaning that a sync-dir/file is running
"DeployStatus: Localization Cache updating" meaning the obvious


Ideally, we'd also have one of our bots take commands like:
"!deploy take" which changes the /topic to include "DeployStatus: <nick> has
the deploy stick"
"!deploy done" which puts it back to "DeployStatus: Open"

Between the "take" and "done", as deploy scripts are run, it would update with,
eg:
"DeployStatus: <nick> has the stick, Scap'ing"

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to