Before you start
- An organization admin connects a Slack workspace.
- Your Slack account is linked to your OuterLayer account.
- OuterLayer is in the channel. Run
/invite @OuterLayerin the channel to add it. - You can read the factory.
Follow a factory
In the channel, run:The events
A flagged verdict and a hand-back post nothing in the channel.
What the channel sees
Each work item has one message in the channel. This page calls it the card. The card appears at the item’s first followed event. A channel gets no card for an item that was already in progress before it followed the factory. OuterLayer edits the card each time the item changes state, so the card always shows where the item stands. Slack marks an edited message with “(edited)”. Each change also adds a reply in the card’s thread. Slack shows each reply in the channel too, so you see every change without opening the thread.The card
The first line is the title of the work item, as a link to its page. The second line is the state. The last line holds the item’s number, its factory, and two times: when its first build started, and when its state last changed. A card shows the repository of the item until the item has a pull request. Then it links the pull request.
A build that answers a review does not change the card. The card keeps its latest verdict until a new one arrives.
A card holds text and links only. It never holds code, diffs, logs or the text of a comment.
A card can arrive up to two minutes after the change. OuterLayer edits the card once and adds one reply for each change, even when it sees the change twice. If someone deletes a card in Slack, OuterLayer posts a new card at the next change and keeps using it.
A thread that started a work item in Slack gets the item’s messages in that thread. The channel gets no card for the same item. Those messages still include a flagged verdict and a hand-back.
When Slack refuses a post, the build goes on. OuterLayer logs the failure.