Describe role of Grouping and how it relates to Issue

third time's a charm (5e5b53abed, 48307daa0f)
This commit is contained in:
Klaas van Schelven
2025-01-31 15:25:18 +01:00
parent 672bbde4ba
commit c42aa9118a
2 changed files with 8 additions and 3 deletions

View File

@@ -228,7 +228,8 @@ class BaseIngestAPIView(View):
Max("digest_order"))["digest_order__max"]
issue_digest_order = max_current + 1 if max_current is not None else 1
# if the grouping doesn't exist, the issue doesn't exist either (because a grouping implies an issue).
# at this point in the code, "new grouper" implies "new issue", because manual information ("this grouper is
# actually part of some other issue") can by definition not yet have been specified.
issue = Issue.objects.create(
digest_order=issue_digest_order,
project_id=event_metadata["project_id"],