Skip to content

feat: create games from matched searches - #139

Merged
PANiXiDA merged 9 commits into
developmentfrom
feat/create-game-from-match
Nov 3, 2026
Merged

PANiXiDA merged 9 commits into
developmentfrom
feat/create-game-from-match

Conversation

@PANiXiDA

@PANiXiDA PANiXiDA commented Oct 30, 2026 •

Copy link
Copy Markdown
Contributor

Games consumes MatchFound, validates the incoming values and aggregate invariants, and creates a waiting Game with both participants, builds, ratings and mode. Invalid messages fail processing rather than being acknowledged successfully.

Game.Create raises GameCreated with both MatchSearchIds. Matchmaking consumes the integration event and assigns GameId to both searches in one transaction. Repeated assignment of the same ID is a no-op; conflicting IDs and unavailable searches fail. Wolverine inbox handles envelope redelivery.

Commands and native event handlers use the common PublishDomainEventsBehavior and transactional outbox. Core Application is updated to 6.0.1, Domain to 4.1.1 and the Wolverine adapter to 6.0.2, which preserves cascading domain-to-integration-event mappers.

Enable ProcessMatchmakingCommand every five seconds. Existing application background schedules are enabled by default; functional hosts disable foreign schedules to isolate their fixtures.

Validation:

  • CI passed: formatting, Release builds and 3072 tests, including 539 architecture checks and all 57 Matchmaking functional tests.
  • Functional coverage includes both modes, the complete game-creation flow, native inbox redelivery, duplicate GameCreated, publication after commit and rollback.
  • Sonar Quality Gate passed.

Game completion/cancellation and WebSocket state delivery remain tracked by #134 and #135.

Closes #133.

@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Oct 30, 2026 •

Copy link
Copy Markdown

Codex Review Summary

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-03T12:49:33.271627Z b8912b1 Manual request
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@panixida-sonarqube

Copy link
Copy Markdown

@PANiXiDA

PANiXiDA commented Nov 3, 2026

Copy link
Copy Markdown
Contributor Author

@codex

@chatgpt-codex-connector

Copy link
Copy Markdown

Codex Review: Didn't find any major issues. Chef's kiss.

Reviewed commit: b8912b1f6b

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

@PANiXiDA
PANiXiDA merged commit 30e27ec into development Nov 3, 2026
91 of 153 checks passed
@PANiXiDA
PANiXiDA deleted the feat/create-game-from-match branch November 3, 2026 12:51
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