feat(webhook): sends Feishu/larksuit direct messages to issue/PR participants via the Feishu Open API#38377
Open
jan2xue wants to merge 4 commits into
Open
feat(webhook): sends Feishu/larksuit direct messages to issue/PR participants via the Feishu Open API#38377jan2xue wants to merge 4 commits into
jan2xue wants to merge 4 commits into
Conversation
Add Feishu app integration that sends direct messages to issue/PR participants via the Feishu Open API, mirroring the email notifier. Features: - HookTask.DeliveryRecipients for persisting DM recipients - feishu_app.go with token caching and message delivery - deliveryRecipientEmails in notifier to resolve recipients - app_id/app_secret fields in Feishu webhook form - Copy DeliveryRecipients in ReplayHookTask for redelivery - Exclude explicitly unwatched users, matching mailer behavior - Token cache expiry derived from API expire field - Style consistency (modules/json, NewRequestWithContext) - Remove unused UseRequestSecret from template Assisted-by: CodeBuddy:GLM-5.2
- Use errors.New instead of fmt.Errorf for static message - Use assert.Contains instead of assert.True with strings.Contains - Use range over int instead of traditional for loop - Add meta field to deliver test hookCase for Feishu credentials Assisted-by: CodeBuddy:GLM-5.2
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.
Add Feishu app integration that sends direct messages to issue/PR
participants via the Feishu Open API, mirroring the email notifier.
Features: