fix: create Telegram topics for template batches #105

Closed
Toutsu wants to merge 0 commits from codex/fix-template-topic-release into main
Owner

Summary

  • Fix Web-created campaign template batches so Telegram forum groups get a dedicated topic.
  • Persist thread_id and topic_created_by_bot for generated sessions and send the schedule message into that topic.
  • Bump release version to 3.1.1 across project, compose, deploy workflow, and UI version.

Changes

  • SessionService now checks the Telegram chat, creates a forum topic when needed, and stores the topic routing data.
  • Regression coverage added for Web template batches and release version synchronization.
  • Wiki-facing documentation was reviewed; no tracked docs require a release-blocking schema update.

Test plan

  • dotnet format --verify-no-changes --verbosity diagnostic
  • dotnet build
  • dotnet test tests\GmRelay.Bot.Tests\GmRelay.Bot.Tests.csproj --verbosity normal

Workflow

  • CI passes
  • Code review approved
  • Deployed
  • Release published
## Summary - Fix Web-created campaign template batches so Telegram forum groups get a dedicated topic. - Persist `thread_id` and `topic_created_by_bot` for generated sessions and send the schedule message into that topic. - Bump release version to `3.1.1` across project, compose, deploy workflow, and UI version. ## Changes - `SessionService` now checks the Telegram chat, creates a forum topic when needed, and stores the topic routing data. - Regression coverage added for Web template batches and release version synchronization. - Wiki-facing documentation was reviewed; no tracked docs require a release-blocking schema update. ## Test plan - `dotnet format --verify-no-changes --verbosity diagnostic` - `dotnet build` - `dotnet test tests\GmRelay.Bot.Tests\GmRelay.Bot.Tests.csproj --verbosity normal` ## Workflow - [ ] CI passes - [ ] Code review approved - [ ] Deployed - [ ] Release published
Toutsu added 1 commit 2026-05-27 13:51:29 +03:00
fix: create Telegram topics for template batches
PR Checks / test-and-build (pull_request) Successful in 12m56s
383e2c1d8d
Create a Telegram forum topic when Web creates a batch from a campaign template, persist thread ownership on the generated sessions, and send the batch schedule into that topic.

Bump version -> 3.1.1
Author
Owner

Интегрировано в main через fallback local merge, потому что Gitea merge API вернул HTTP 405. Merge commit: 64216f5a262048c6337f27e9422766be59e57b16. Релиз опубликован: v3.1.1.

Интегрировано в `main` через fallback local merge, потому что Gitea merge API вернул HTTP 405. Merge commit: `64216f5a262048c6337f27e9422766be59e57b16`. Релиз опубликован: [v3.1.1](https://git.codeanddice.ru/Toutsu/GmRelayBot/releases/tag/v3.1.1).
Toutsu closed this pull request 2026-05-27 14:19:01 +03:00
Some checks are pending
PR Checks / test-and-build (pull_request) Successful in 12m56s

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#105