dfe-digital / slack-incident-bot Goto Github PK
View Code? Open in Web Editor NEWA Slack app used for incident management at Department for Education Digital
License: MIT License
A Slack app used for incident management at Department for Education Digital
License: MIT License
An incident was opened recently with a topic that exceed the 250 character limit. Fortunately everything else in the process still performed but it did result in the following error:
0.17.0/lib/slack/web/api/endpoints/conversations.rb:313:in `conversations_setTopic'
2021-10-26T13:35:07.395045+00:00 app[web.1]: from /app/bot/actions/slack_incident_actions.rb:26:in `block in open_incident'
2021-10-26T13:35:07.502640+00:00 app[web.1]: E, [2021-10-26T13:35:07.502564 #4] ERROR -- : Slack::Web::Api::Errors::TooLong: too_long
/incident update
command in the incident channel (incident_...
) to change its priority to P1. The bot correctly posts an update in the incident channel.Expected: The bot posts an update of the incident priority in the existing channel.
Actual: no update is posted.
Sometimes people wonder how to use the bot. Perhaps it's worth having a /incident help
command that messages the user with instructions on what to do
Create a new object that can offer methods like send_message
etc. that can be used throughout the app.
Get the bot to start a Google meet
Tests are currently quite basic and definitely don't cover the full functionality. They need some love.
Right now the bot is limited to posting/update in two specific channels โ this is far too static. It should be able to post in Slack channels depending on which service is currently impacted by the incident.
Need to add a pull request template
Currently the bot will only work with a specific modal. In order to make in more generic we need to build functionality so it can accept a modal with n number of fields and handle different data types for each i.e. integer, string or even a slack handle.
Upon declaring a new incident create a new incident doc from the template.
Upon closing an incident extract the incident channel messages (and timestamps) into the doc
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.