Skip to content

fix(huey): Fix group and chord handling in enqueue#6392

Open
ericapisani wants to merge 3 commits into
masterfrom
py-2426-fix-group-and-chord-handling
Open

fix(huey): Fix group and chord handling in enqueue#6392
ericapisani wants to merge 3 commits into
masterfrom
py-2426-fix-group-and-chord-handling

Conversation

@ericapisani
Copy link
Copy Markdown
Member

@ericapisani ericapisani commented May 22, 2026

The Huey integration was not properly handling task groups and chords
when enqueuing. When a group/chord is enqueued, we would attempt to access the name
attribute of the group/chord object for the span. They don't have one,
causing an AttributeError.

Fixes py-2426
Fixes #6310

The Huey integration was not properly handling task groups and chords
when enqueuing. When a group/chord is enqueued, we would attempt to access the `name`
attribute of the group/chord object for the span. They don't have one,
causing an AttributeError.

Fixes PY-2426
Fixes #6310
@ericapisani ericapisani requested a review from a team as a code owner May 22, 2026 15:17
@linear-code
Copy link
Copy Markdown

linear-code Bot commented May 22, 2026

PY-2426

@ericapisani ericapisani marked this pull request as draft May 22, 2026 15:18
@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 22, 2026

Codecov Results 📊

282 passed | Total: 282 | Pass Rate: 100% | Execution Time: 43.33s

All tests are passing successfully.

❌ Patch coverage is 0.00%. Project has 14764 uncovered lines.

Files with missing lines (1)
File Patch % Lines
huey.py 15.56% ⚠️ 76 Missing

Generated by Codecov Action

Comment thread sentry_sdk/integrations/huey.py Outdated
Comment thread sentry_sdk/integrations/huey.py
Comment thread sentry_sdk/integrations/huey.py Outdated
Groups and chords weren't introduced until Huey 3.0,
so handle that gracefully.
@ericapisani
Copy link
Copy Markdown
Member Author

bugbot run

Copy link
Copy Markdown

@cursor cursor Bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

✅ Bugbot reviewed your changes and found no new issues!

Comment @cursor review or bugbot run to trigger another review on this PR

Reviewed by Cursor Bugbot for commit 14a8cc8. Configure here.

@ericapisani ericapisani marked this pull request as ready for review May 22, 2026 17:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Huey integration fails with chords and groups

1 participant