-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Treat Maintenance and Issues as different event types #1607
Comments
Yeah, maintenance is something I'd like to refactor. I keep kicking myself that I didn't make it a separate entity because it makes things like recurring maintenance more cumbersome to implement now. If you'd like to give this a go, then please do! :) |
This is probably a tad beyond my current skill level, but I'm interested in contributing. I'll get myself up to speed on Laravel and go from there. Will check back in if I feel comfortable "claiming" this. |
👍 |
Before we go any further with this, scheduled maintenance must become its own entity. |
To make sure I understand the general approach (VERY high level).. This would require something like the following, right?
Basically look for everywhere there is "Incident" code and make corresponding "Maintenance" code, with some small exceptions.. |
Yeah, this would need:
|
I'd be happy to help you through this if you'd like to take it? |
Alright.. I am a little scared (this is my first OSS contribution, ha.) But I'll bite. Will give this a shot. |
Awesome! If you need anything, you can email me at james@alt-three.com — sorry if it takes a little time to get back to you, I'm doing a lot of things outside of code at the moment :) |
Done! Although, one thing I need to add is components, but this will be done as part of the new design as it'll help to clear up some code. |
Feature Request/Description
TLDR: Separate API requests for maintenance and incident events. Treat them as two separate event classes.
This is perhaps a bit general and might be something there are differing opinions on, but to me it is unintuitive that maintenance would be considered a type of incident. I think there should be two distinct URLs that return incidents and maintenance events separately (and perhaps if necessary or for backwards compatibility, a 3rd URL that returns both event types as [site]/api/v1/incidents does currently.)
My reasoning is this.. Maintenance isn't necessarily a "bad thing." There is a big difference between scheduled downtime and unexpected service interruption. If I told the leads in my org that there were 10 incidents this month, they might panic. However, if I told them that we had 9 scheduled maintenance activities and one brief outage incident, that sounds a lot less dire. From a reporting perspective, it makes sense to separate these two categories of data.
I'd love to hear any thoughts (including/especially disagreement) on this. I combed through the issue backlog and I do see a lot of enhancements coming up for scheduled maintenance, etc. but I didn't see this particular issue addressed. Apologies if I just missed it!
Actual behaviour
Incidents and maintenance are essentially treated as one object type.
Steps to reproduce
API calls, etc.
The text was updated successfully, but these errors were encountered: