Skip to content

Commit cc3dca3

Browse files
cursoragentarmenzg
andcommitted
fix: Add missing release_id to shared logging extra dict
The shared logging extra dict was missing the release_id field, which was previously explicitly included in the fetch_commits.duplicate log. Adding it to the shared extra dict ensures all log statements (fetch_commits.start, fetch_commits.duplicate, fetch_commits.complete, and loop logs) include the release_id for better debuggability. Co-authored-by: Armen Zambrano G. <armenzg@users.noreply.github.com>
1 parent 15d8dc3 commit cc3dca3

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/sentry/tasks/commits.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -410,6 +410,7 @@ def fetch_commits(
410410
)
411411
set_tag("organization.slug", release.organization.slug)
412412
extra = {
413+
"release_id": release.id,
413414
"organization_id": release.organization_id,
414415
"user_id": user_id,
415416
"refs": refs,

0 commit comments

Comments
 (0)