Skip to content

fix(discord): explain failed form openings instead of silently doing nothing - #119657

Merged
steipete merged 2 commits into
mainfrom
codex/autoqa-discord-modal-visible-failure-20260805
Aug 5, 2026
Merged

steipete merged 2 commits into
mainfrom
codex/autoqa-discord-modal-visible-failure-20260805

Conversation

@steipete

@steipete steipete commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

What Problem This Solves

Fixes an issue where clicking a Discord form button could visibly do nothing when Discord rejected the modal presentation.

Why This Change Was Made

At the existing component-interaction owner, log the original modal failure and reuse the canonical unavailable-interaction helper to send one actionable ephemeral response without altering acknowledgement, consumption, grouping, or persistence.

User Impact

Users see a clear private instruction to request a new form when a modal cannot open, while expired interactions still fail safely without duplicate callbacks.

Evidence

47 Discord tests passed, including a real internal Discord interaction and REST callback sequence: failed Modal callback type 9 followed by one ChannelMessageWithSource callback type 4 carrying ephemeral flag 64; both accepted and rejected recovery responses are covered. Sibling interaction and component suites passed. Full changed gate and packaged build passed.

Integrated trusted-Testbox proof: 609 tests passed, including five real Chromium extension E2E cases; complete production/test typechecks, lint, plugin-boundary/generated-contract checks, private production build, and four actual ephemeral-Gateway scenarios all passed.

Owner/risk review: Uses the helper consolidated on current main; no Discord auth, public SDK, provider contract, or component persistence changes. Production growth is four lines for visible outcome ownership.

@openclaw-barnacle openclaw-barnacle Bot added channel: discord Channel integration: discord size: S maintainer Maintainer-authored PR labels Aug 5, 2026
@steipete
steipete marked this pull request as ready for review August 5, 2026 15:00
@steipete
steipete merged commit 21bc2c4 into main Aug 5, 2026
148 checks passed
@steipete
steipete deleted the codex/autoqa-discord-modal-visible-failure-20260805 branch August 5, 2026 16:03
@steipete

steipete commented Aug 5, 2026

Copy link
Copy Markdown
Contributor Author

Merged via squash.

github-actions Bot pushed a commit to Desicool/openclaw that referenced this pull request Aug 6, 2026
…nothing (openclaw#119657)

* fix(discord): report failed modal presentation to the operator

* refactor(discord): reuse canonical interaction failure recovery
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

channel: discord Channel integration: discord maintainer Maintainer-authored PR size: S

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant