Idempotency on Notice
harbor run -t mercor/incident-commander-status-page-noticeharbor download mercor/incident-commander-status-page-noticeCheck what has already gone out before you send something you can't take back.
The agent, Imogen Pryce, is on outage duty today at a payments software company. Two of the company's services have planned maintenance on Thursday, and customers need a warning notice on the public status page. An outside company runs that page, and it sends any request without a notice number to every subscriber as a new one. Priya Venkataraman, Imogen Pryce's director, wants the notice requested once the change board approves the work at noon. She has told the legal team it will be up by 3 PM, and shortly after noon she asks Imogen Pryce to send it. Within the next half hour, the work moves an hour later and only one of the two services is still affected. But just before noon, the head of support, Marcus Odell, asked the outside company for a notice without telling anyone, and it's already live with the old time and a mistyped reference number.
The status page already carries a notice for this work, so sending another would be a mistake. The outside company's posts in the status-page chat channel show the live notice, but a search for the right reference number misses it because Marcus Odell mistyped it. A request that leaves out the live notice's number becomes a second notice and emails all 2,314 subscribers again. After the time moves, the two notices would show different windows, and customers couldn't tell which one to plan around. Priya Venkataraman passes whatever Imogen Pryce tells her straight to Legal, so a wrong answer about the page reaches them too.
When news spreads through a company, several people often act on it at once, and a colleague may already have done the job someone else was asked to do. Experienced incident leads look at what customers can already see before sending them anything, then keep that one message correct.
See the dataset quickstart for setup, keys, and results.