mirror of
https://github.com/Pasta-Devs/Marinara-Engine.git
synced 2026-12-03 19:00:50 +07:00
[PR #1393] [MERGED] Fix Discord mirror webhook sends #5061
Labels
No labels
android
bug
bugfix
ci
client
code freeze pause
container
dependencies
docs
documentation
duplicate
enhancement
feature
feature
feature
feature-creep
fixed-in-refactor
fixed-in-staging
good first issue
help wanted
in-pr
in-pr
needs-codeowner-decision
normal-scope
old-codebase
old-codebase
pull-request
qol
question
refactor
regression
revisit later
roadmap
scope-risk
scope-risk
server
server
shared
soup
upstream
windows
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
Pasta-Devs/Marinara-Engine#5061
Loading…
Add table
Add a link
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?
📋 Pull Request Information
Original PR: https://github.com/Pasta-Devs/Marinara-Engine/pull/1393
Author: @TheLonelyDevil9
Created: 5/27/2026
Status: ✅ Merged
Merged: 5/27/2026
Merged by: @TheLonelyDevil9
Base:
refactor← Head:fix/1359-discord-mirror-send📝 Commits (1)
9f38eedFix Discord mirror webhook sends📊 Changes
11 files changed (+383 additions, -1 deletions)
View changed files
📝
src-tauri/src/commands/storage/commands/integrations.rs(+5 -0)📝
src-tauri/src/commands/storage/integrations.rs(+6 -0)➕
src-tauri/src/commands/storage/integrations/discord.rs(+125 -0)📝
src-tauri/src/http_dispatch.rs(+1 -0)📝
src-tauri/src/lib.rs(+1 -0)📝
src/engine/capabilities/integrations.ts(+10 -0)📝
src/engine/generation/start-generation.test.ts(+70 -0)📝
src/engine/generation/start-generation.ts(+135 -1)📝
src/features/modes/game/api/game-api.ts(+21 -0)📝
src/shared/api/integration-gateway.ts(+8 -0)📝
src/shared/api/remote-runtime.ts(+1 -0)📄 Description
What?
Why?
Issue #1359 reported that Discord Mirror settings persisted the webhook URL but no refactor send path existed, so mirrors never posted messages.
Closes #1359
How?
discord_webhook_sendcommand backed by a Rust webhook sender with URL validation, payload truncation, and Discord error handling.Testing?
pnpm vitest run src/engine/generation/start-generation.test.tspnpm typecheckpnpm check:architecturecargo test --manifest-path src-tauri/Cargo.toml discordpnpm buildScreenshots (optional)
Not applicable; this is webhook plumbing without UI changes.
Anything Else?
No real Discord webhook/manual Tauri post was run; coverage is automated unit/build verification.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.