feat(studio): notify Feishu groups after successful releases - #1091
Open
evanlowe wants to merge 4 commits into
Open
feat(studio): notify Feishu groups after successful releases#1091evanlowe wants to merge 4 commits into
evanlowe wants to merge 4 commits into
Conversation
evanlowe
force-pushed
the
feat/studio-release-feishu-notifications
branch
from
September 9, 2026 12:23
daf3f7a to
0b425a3
Compare
yaozheng-fang
approved these changes
Sep 9, 2026
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.
Studio releases currently finish without notifying subscribed Feishu groups. This change adds a notification job after both Volcengine and BytePlus publishing jobs succeed. It calls an authenticated VeFaaS endpoint that discovers the application bot’s groups and sends a release card with the version, date and a single update list. Chinese and English semicolons, as well as newlines, separate the items.
The notifier persists each group’s delivery result in TOS, skips successful deliveries on retry, and uses stable message UUIDs for concurrent retries. Ambiguous attempts older than the message API’s deduplication window require review instead of risking duplicate notifications. Empty recipient lists and conflicting content for an existing version fail explicitly.
Includes AK/SK deployment tooling, a scoped runtime IAM role, a dedicated HTTPS gateway service, and operating instructions. The function description includes “勿删”. Workflow configuration references
STUDIO_RELEASE_WEBHOOK_URLandSTUDIO_RELEASE_WEBHOOK_KEY; credentials are not included in the source.Validation: 17 notifier and workflow regression tests, pre-commit (Ruff and secret scanning), Pyright, and workflow syntax checks passed. The deployed endpoint passed authentication and storage-read checks. The exact workflow shell step successfully delivered a preview card through the deployed endpoint. Mock tests execute the workflow script through the real HTTP handler and broadcaster, covering partial failures, retry limits, stable message IDs, rate limits, authentication errors and transport failures. Group broadcast has not been verified against a live group because the bot has not joined any groups yet.