Skip to content

[Fix] Discord automation replies disappear after task resume - #1017

Merged
mrubens merged 1 commit into
developfrom
fix/discord-automation-resume-context-1qm5l96w8z4ng
Aug 3, 2026
Merged

[Fix] Discord automation replies disappear after task resume#1017
mrubens merged 1 commit into
developfrom
fix/discord-automation-resume-context-1qm5l96w8z4ng

Conversation

@roomote-community

Copy link
Copy Markdown
Contributor

Opened on behalf of Matt Rubens. Follow up by mentioning @roomote, in the web UI, or in Discord.

What changed

  • Preserve Discord provider, channel, thread, and message metadata when tasks resume from the web app or preview proxy.
  • Recover a missing automation thread from its saved report-root message and persist the returned Discord thread ID.
  • Continue routing later updates into an existing thread without attempting nested thread creation.

Why this change was made

After the initial thread fix in #1012, a task with a saved report message but no thread could not persist a recovered thread. Web-driven snapshot resumes also dropped non-Slack communication metadata, which removed send_chat_reply from the resumed worker and made generic channel posting fall back to Slack.

Impact

Discord automation tasks retain their reply tool and destination after waking up. Partially bound reports can recover their real thread once, and subsequent updates stay in that thread.

@roomote-community

roomote-community Bot commented Aug 3, 2026

Copy link
Copy Markdown
Contributor Author

No code issues found. See task

Reviewed 13f51a0

@mrubens
mrubens marked this pull request as ready for review August 3, 2026 05:33
@mrubens
mrubens merged commit ca3bd76 into develop Aug 3, 2026
18 checks passed
@mrubens
mrubens deleted the fix/discord-automation-resume-context-1qm5l96w8z4ng branch August 3, 2026 05:34
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.

1 participant