Skip to content

fix(np): Remove frozen dataclass due to task/dict behavior#104643

Merged
Christinarlong merged 2 commits intomasterfrom
crl/remove-frozen-dataclass
Dec 10, 2025
Merged

fix(np): Remove frozen dataclass due to task/dict behavior#104643
Christinarlong merged 2 commits intomasterfrom
crl/remove-frozen-dataclass

Conversation

@Christinarlong
Copy link
Copy Markdown
Contributor

@Christinarlong Christinarlong commented Dec 9, 2025

This change isn't ideal but removing the immutability is the simplest way to fix this issue. When going from service -> notify_task_async task boundary the notification data gets turned to a dict that doesn't include the source attribute because it's a field that wasn't instantiated in that data instance.

Also removes some misc logging

@github-actions github-actions bot added the Scope: Backend Automatically applied to PRs that change backend components label Dec 9, 2025
@Christinarlong Christinarlong marked this pull request as ready for review December 9, 2025 22:30
@Christinarlong Christinarlong requested a review from a team as a code owner December 9, 2025 22:30
Copy link
Copy Markdown
Member

@leeandher leeandher left a comment

Choose a reason for hiding this comment

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

damn thats quite the bug, how did you find this?? 👏

@Christinarlong
Copy link
Copy Markdown
Contributor Author

damn thats quite the bug, how did you find this?? 👏

Thankfully there was a sentry error ;-;, our issues noise is quite bad tho so it was annoying to find

@Christinarlong Christinarlong merged commit 27eeb35 into master Dec 10, 2025
66 checks passed
@Christinarlong Christinarlong deleted the crl/remove-frozen-dataclass branch December 10, 2025 17:15
@github-actions github-actions bot locked and limited conversation to collaborators Dec 26, 2025
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants