Skip to content

feat(events): publish and synchronize Discord forum posts (T-222) - #4

Draft
xfoxfu wants to merge 1 commit into
mainfrom
codex/t-222-discord-event-posts
Draft

feat(events): publish and synchronize Discord forum posts (T-222)#4
xfoxfu wants to merge 1 commit into
mainfrom
codex/t-222-discord-event-posts

Conversation

@xfoxfu

@xfoxfu xfoxfu commented Sep 11, 2026

Copy link
Copy Markdown
Member

Event coordinators can publish a saved website event as a Discord forum post through PUT /api/events/{id}/discord. Later event updates synchronize the existing title and starter message. A separate event_discord_message table stores the association, text sync status, and last successful sync time; failed synchronization preserves website edits and supports retry.

Discord publication runs in its own service after the event transaction commits. Apply the migration and configure discord.event_forum_channel_id (and forum tags if required) before enabling publication. Concurrent first publications can create duplicate posts. The migration has not been exercised against a live database.

Validation: rebased onto latest main; all 5 Discord tests passed using a local mock HTTP server; git diff --check passed. No real Discord messages were sent.

Tracks T-222.

@linear-code

linear-code Bot commented Sep 11, 2026

Copy link
Copy Markdown

T-222

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