Skip to content

fix(tasks): accept approval confirmation before submission lookup - #27

Merged
dossyb merged 1 commit into
dossyb:mainfrom
DrSkillIssue:bug/interaction-failed
Jul 2, 2026
Merged

dossyb merged 1 commit into
dossyb:mainfrom
DrSkillIssue:bug/interaction-failed

Conversation

@DrSkillIssue

Copy link
Copy Markdown
Contributor

Summary

Fixes task approval confirmation interactions timing out when submission lookup is slow.

Details

The approval confirmation button was checking submission state before acknowledging the Discord interaction. If that lookup took too long, Discord could show “Interaction failed” even though the bot might continue processing afterward.

This changes the confirmation flow to defer the button interaction first, then load the submission and continue with the existing approval checks.

@dossyb
dossyb merged commit 63d866a into dossyb:main Jul 2, 2026
1 check passed
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.

2 participants