Repository navigation
feat: add platform webhook verification for console match reports - #1454
Open
Sophtassilk wants to merge 3 commits into
Open
Sophtassilk wants to merge 3 commits into
Sophtassilk wants to merge 3 commits into
Conversation
|
@Sophtassilk is attempting to deploy a commit to the paul joseph's projects Team on Vercel. A member of the Team first needs to authorize it. |
|
@Sophtassilk Great news! 🎉 Based on an automated assessment of this PR, the linked Wave issue(s) no longer count against your application limits. You can now already apply to more issues while waiting for a review of this PR. Keep up the great work! 🚀 |
Author
|
this PR is ready for another review. I resolved the merge conflicts with the main branch (pushed 2a6b95b). |
Sophtassilk
force-pushed
the
feat/issue-1399-backend-implement-game-platform-verification
branch
from
November 10, 2026 23:40
2a6b95b to
b67f76c
Compare
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Overview
This PR adds server-to-server verification for console match score reports. On score submission, matches are moved to a pending-verification state and a platform API verification call is enqueued; the platform's response either confirms the result (→ verified), flags a mismatch (→ auto-flagged for human review), or times out after N minutes (→ escalated to admin review).
Related Issue
Changes
🔗 Platform Verification Webhook
[MODIFY]
backend/src/service/match_service.rspending-verificationand enqueues a platform API verification call instead of immediately finalizing the result.verified, mismatch → auto-flagged for human review, timeout after N minutes → escalated to admin review.[MODIFY]
backend/src/service/platform_links.rs[MODIFY]
backend/src/models/match_models.rs[MODIFY]
backend/src/service/mod.rs[ADD]
backend/migrations/20261021000001_platform_match_verification.up.sql[ADD]
backend/migrations/20261021000001_platform_match_verification.down.sql[ADD]
backend/tests/platform_verification_test.rsverified.Verification Results
match_service.rsverifiedbackend/tests/platform_verification_test.rsCloses #1399