refactor: make session join leave platform-neutral #82

Closed
Toutsu wants to merge 0 commits from codex/refactor-issue-25-platform-neutral-join-leave into main
Owner

Summary

  • Closes #25.
  • Converts join/leave session interaction commands from Telegram-specific fields to platform-neutral PlatformUser, PlatformGroup, and PlatformMessageRef.
  • Persists and looks up session participants by (platform, external_user_id).
  • Keeps Telegram callback data and schedule update behavior intact.

Test plan

  • dotnet test .\tests\GmRelay.Bot.Tests\GmRelay.Bot.Tests.csproj --filter "PlatformNeutralSessionInteractionCommandTests|PlatformNeutralSessionInteractionSqlTests|PlatformIdentityMigrationTests"
  • dotnet test .\GM-Relay.slnx
  • dotnet build .\GM-Relay.slnx

Workflow

  • CI passes — run #191
  • Code review gate handled — Gitea rejected self-approval, integrated via local no-ff fallback merge
  • Deployed — run #192
  • Release published — v2.1.1
## Summary - Closes #25. - Converts join/leave session interaction commands from Telegram-specific fields to platform-neutral `PlatformUser`, `PlatformGroup`, and `PlatformMessageRef`. - Persists and looks up session participants by `(platform, external_user_id)`. - Keeps Telegram callback data and schedule update behavior intact. ## Test plan - `dotnet test .\tests\GmRelay.Bot.Tests\GmRelay.Bot.Tests.csproj --filter "PlatformNeutralSessionInteractionCommandTests|PlatformNeutralSessionInteractionSqlTests|PlatformIdentityMigrationTests"` - `dotnet test .\GM-Relay.slnx` - `dotnet build .\GM-Relay.slnx` ## Workflow - [x] CI passes — run #191 - [x] Code review gate handled — Gitea rejected self-approval, integrated via local no-ff fallback merge - [x] Deployed — run #192 - [x] Release published — v2.1.1
Toutsu added 1 commit 2026-05-18 13:31:51 +03:00
refactor: make session join leave platform-neutral
PR Checks / test-and-build (pull_request) Successful in 5m3s
e791fc2f4a
Convert join/leave interaction commands to PlatformUser, PlatformGroup, and PlatformMessageRef. Persist and look up participants by platform identity while keeping Telegram callbacks intact. Add V017 migration and TDD coverage. Bump version to 2.1.1.
Toutsu closed this pull request 2026-05-18 13:46:39 +03:00
Some checks are pending
PR Checks / test-and-build (pull_request) Successful in 5m3s

Pull request closed

Sign in to join this conversation.
No Reviewers
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Toutsu/GmRelayBot#82