ReceiverWorker nil crash in side effects of like/announce/update handling #888
Labels
No labels
approved, awaiting change
bug
configuration
documentation
duplicate
enhancement
extremely low priority
feature request
Fix it yourself
help wanted
invalid
mastodon_api
needs docs
needs tests
not a bug
planned
pleroma_api
privacy
question
static_fe
triage
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference: AkkomaGang/akkoma#888
Loading…
Add table
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Your setup
From source
Extra details
Alpine 3.21
Version
current master (
74182abb5b
)PostgreSQL version
17
What’s the issue?
Errors like this have long since showed up in my logs, but i initially didn’t pay too much attention to them assuming (since no further errors are logged) they fix themselves in a retry. However, when I actually checked an examples recently the announce wasn't listed on the announced post. All other examples do however get listed, maybe this one activity just happened to actually get retracted by its actor?
At first look I’m confused by how this can be
nil
here when it must have been non-nil and locally known for the main processing to conclude before.Either way it would probably be best to move all DB alterations related to an activity into the same, single transaction.
Noting it down here so it doesn't keep getting forgotten and to also allow others to pick this up.
Stacktraces
All received activities originated from (almost) up-to-date (stable or develop) Akkoma instances
Announce Stacktrace
Like Stacktrace
Update Stacktrace
Severity
I can manage
Have you searched for this issue?
[bug] nil crash in side effects of like/announce/update handlingto [bug] nil ReceiverWorker crash in side effects of like/announce/update handling[bug] nil ReceiverWorker crash in side effects of like/announce/update handlingto ReceiverWorker nil crash in side effects of like/announce/update handling