incubator-devlake
incubator-devlake copied to clipboard
feat(dora): add incident related tables
⚠️ Pre Checklist
Please complete ALL items in this checklist, and remove before submitting
- [x] I have read through the Contributing Documentation.
- [ ] I have added relevant tests.
- [ ] I have added relevant documentation.
- [x] I will add labels to the PR, such as
pr-type/bug-fix,pr-type/feature-development, etc.
Summary
What does this PR do?
- [x] Add new tables:
incidentsandincident_assignees- Records in
incidentsare fromissues(with type = 'INCIDNET') orpull_requests(whose lables satisfy some rules, rules are still WIP)
- Records in
- [x] Rename table
project_issue_metricstoproject_incident_deployment_relationships - [x] DORA plugin: add new tasks
- [x]
ConvertIssuesToIncidentsgenerates incidents from issues - [ ]
ConvertPullRequestToIncidentsgenerates incidents from pull_requests
- [x]
- [x] Update webhook, create/close incident directly.
Does this close any open issues?
Closes N/A
Screenshots
Include any relevant screenshots here.
incident_assignees
incidents
Other Information
Any other information that is important to this PR.
I am not sure whether this pr should be cherry picked to release-v1.0 or not.