Repository navigation
Conversation
A GitHub issue comment reached the ticket but never the Slack mirror: the webhook appended its Message row directly and enqueued no mirror job, and nothing logged the omission. An engineer reading the mirror thread saw a ticket with one AI answer and read it as the reporter having gone quiet. The webhook now enqueues the same reply job the shared InboundHandler enqueues for a Discord follow-up, behind the gate every other mirror producer uses (isSlackMirrorEnabled + isMirrorableSource), and mirrors team-member comments too — the thread is meant to be the whole life of the ticket. GitHub Discussions still do not reach the mirror: discussion_comment is a separate GitHub event and there is no handler for it. The scope wording in .env.example and docs/deployment.md moves with the code, so it keeps describing what actually happens. Refs CopilotKit#268 Co-Authored-By: Claude Code <noreply@anthropic.com>
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.
What changed
A GitHub issue comment reached the ticket but never the Slack mirror.
handleIssueCommentappended itsMessagerow directly and enqueued no mirror job, and nothing logged the omission — so an engineer reading the mirror thread saw a ticket with one AI answer and read it as the reporter having gone quiet.apps/github-app/src/webhooks/issue-comment.tsnow enqueues the samereplymirror job the sharedInboundHandlerenqueues for a Discord follow-up, behind the gate every other mirror producer uses (isSlackMirrorEnabled+isMirrorableSource). Team-member comments mirror too — the thread is meant to be the whole life of the ticket.toPlatformTargetis exported from@copilotkit/outpost/shared/platformsso the webhook resolves the same platform target the handler does instead of repeating the mapping. It takes the source as a string, because Prisma's generatedTicketSourceis a union of string literals rather than the shared enum, and the two carry the same values..env.exampleanddocs/deployment.mdmoves with the code.What this does not do
GitHub Discussion comments still do not reach the mirror:
discussion_commentis a separate GitHub event, and the app has no handler for it. The docs now say exactly that — follow-ups arrive from Discord and from GitHub issue comments, and a discussion comment is still dropped without a log — so the stated limit keeps describing what actually happens. Wiring the discussion webhook is the other half of #268 and is left for a separate change.issue-comment.tswas reformatted by Prettier in the process: the file was not format-clean onmain, and CI checks formatting on every changed file.Validation
pnpm --filter @copilotkit/outpost-github-app test— 7 files, 65 tests passed.pnpm turbo run typecheck --filter=@copilotkit/outpost-github-app— passed.pnpm --filter @copilotkit/outpost-github-app lintandpnpm --filter @copilotkit/outpost lint— no errors.npx prettier --checkon the changed files — passed.git diff --check— passed.Refs #268
🤖 Generated with Claude Code