Skip to content

feat(api-media): per-video Slack notifications on create/update#9125

Open
tanflem wants to merge 31 commits into
mainfrom
tannerfleming/qa-452-slack-notifications-for-individual-video-createupdate-events
Open

feat(api-media): per-video Slack notifications on create/update#9125
tanflem wants to merge 31 commits into
mainfrom
tannerfleming/qa-452-slack-notifications-for-individual-video-createupdate-events

Conversation

@tanflem
Copy link
Copy Markdown
Contributor

@tanflem tanflem commented May 1, 2026

Summary

Stacked on #9078

Base is the QA-378 branch, not main. This PR depends on the shared lib/slack/ infrastructure (chatPostMessage, config) introduced there. Will be rebased onto main once #9078 merges.

Test plan

  • nx test api-media passes (covers videoMutationNotification.spec.ts + the updated video.spec.ts expectations)
  • Manually create a video via videoCreate mutation in a non-prod env and confirm the Slack post lands in the expected channel
  • Manually update a video via videoUpdate mutation and confirm the Slack post lands
  • Confirm a Slack post-failure does not break the mutation response (notification is fire-and-forget)

🤖 Generated with Claude Code

tanflem and others added 30 commits April 9, 2026 13:59
…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
…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.
@linear
Copy link
Copy Markdown

linear Bot commented May 1, 2026

@coderabbitai
Copy link
Copy Markdown
Contributor

coderabbitai Bot commented May 1, 2026

Important

Review skipped

Auto reviews are disabled on base/target branches other than the default branch.

Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: da630b0f-d79b-4852-bd8c-43d049456d74

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch tannerfleming/qa-452-slack-notifications-for-individual-video-createupdate-events

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.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented May 1, 2026

Fails
🚫 Please assign someone to merge this PR.
🚫 Please request a reviewer for this PR.

Generated by 🚫 dangerJS against 0ab2f23

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
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