Commit f5e6ec5
authored
fix(workflows): Don't reuse existing workflow in create_priority_workflow (#113133)
Workflows are organization scoped, so there shouldn't be any need to
create a new priority error workflow for every project; one should be
enough.
However, we're still supporting the APIs/UI for Rule, and Rules were
each dual written to Workflows and will soon be represented as
Workflows. We can't represent per-project Rules as a single Workflow,
and in the cases where we currently do, any modification to the Rule
(including delete) results in inconsistency and brokenness.
So, we need to ensure that newly created "rules" aren't deduplicated for
now, and in another change we'll process existing shared workflows to
unshare them, at least until we're no longer offering a Rule interface.
Part of ISWF-2470.1 parent ca77ff5 commit f5e6ec5
File tree
2 files changed
+4
-8
lines changed- src/sentry/workflow_engine/defaults
- tests/sentry/workflow_engine/defaults
2 files changed
+4
-8
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
46 | | - | |
47 | | - | |
48 | | - | |
49 | | - | |
50 | 46 | | |
51 | 47 | | |
52 | 48 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
150 | 150 | | |
151 | 151 | | |
152 | 152 | | |
153 | | - | |
| 153 | + | |
| 154 | + | |
154 | 155 | | |
155 | 156 | | |
156 | 157 | | |
157 | 158 | | |
158 | 159 | | |
159 | | - | |
160 | | - | |
| 160 | + | |
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | 164 | | |
165 | | - | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
0 commit comments