feat(api-media): per-video Slack notifications on create/update#9125
Open
tanflem wants to merge 31 commits into
Open
feat(api-media): per-video Slack notifications on create/update#9125tanflem wants to merge 31 commits into
tanflem wants to merge 31 commits into
Conversation
…create-a-slack-post-when-a-video-is-created-or-updated
…n-a-video-is-created-or-updated
…s-created-or-updated' of https://github.com/JesusFilm/core into tannerfleming/vmt-38-create-a-slack-post-when-a-video-is-created-or-updated
…create-a-slack-post-when-a-video-is-created-or-updated
…s-created-or-updated' of https://github.com/JesusFilm/core into tannerfleming/vmt-38-create-a-slack-post-when-a-video-is-created-or-updated
…create-a-slack-post-when-a-video-is-created-or-updated
…s-created-or-updated' of https://github.com/JesusFilm/core into tannerfleming/vmt-38-create-a-slack-post-when-a-video-is-created-or-updated
Removes the per-video create/update Slack notification (called directly from the videoCreate/videoUpdate resolvers) so QA-378 is scoped to the weekly summary only. The per-video work moves to QA-452 on a stacked branch. Shared infra (chatPostMessage, config) stays — the weekly summary uses it.
…Slack/ Mirrors the project's folder convention (cf. lib/algolia/) and distinguishes the video-domain feature code from the generic Slack platform primitives in lib/slack/. - Move videoSlack.ts, videoSlackRenderer.ts, videoSlackReport.ts and the spec into lib/videoSlack/. - Add lib/videoSlack/index.ts barrel. - Update relative imports inside the moved files. - Collapse the script's two imports into one barrel import.
Posts a Slack message each time a video is directly created or updated via the videoCreate / videoUpdate mutations. Stacked on QA-378 — depends on the shared lib/slack/ infra (chatPostMessage, config) introduced there. Will be rebased onto main once QA-378 merges.
Contributor
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
Contributor
Base automatically changed from
tannerfleming/vmt-38-create-a-slack-post-when-a-video-is-created-or-updated
to
main
May 18, 2026 16:09
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.
Summary
videoCreate/videoUpdatemutations in api-media.Stacked on #9078
Base is the QA-378 branch, not
main. This PR depends on the sharedlib/slack/infrastructure (chatPostMessage, config) introduced there. Will be rebased ontomainonce #9078 merges.Test plan
nx test api-mediapasses (coversvideoMutationNotification.spec.ts+ the updatedvideo.spec.tsexpectations)videoCreatemutation in a non-prod env and confirm the Slack post lands in the expected channelvideoUpdatemutation and confirm the Slack post lands🤖 Generated with Claude Code