Skip to content

Remove video_shorts app (phase 1)#3384

Open
mbertrand wants to merge 1 commit into
mainfrom
mb/rm_video_shorts_app
Open

Remove video_shorts app (phase 1)#3384
mbertrand wants to merge 1 commit into
mainfrom
mb/rm_video_shorts_app

Conversation

@mbertrand
Copy link
Copy Markdown
Member

@mbertrand mbertrand commented May 28, 2026

What are the relevant tickets?

Related to mitodl/hq#11469

Description (What does it do?)

This is phase 1 of removing the legacy video_shorts app now that video shorts are ingested as learning resources.

  • Adds a Django migration to delete the VideoShort model/table.
  • Removes the legacy video_shorts API, webhook, backpopulate command, serializers, factories, and app-specific tests.
  • Leaves video_shorts installed as a migration-only stub so deployed environments can discover and run the table-drop migration.
  • Leaves a no-op Celery task shim for the old S3 deletion task path in case any queued tasks still reference it.
  • Regenerates OpenAPI, frontend API clients, and load-testing clients so removed endpoints disappear from generated artifacts.

How can this be tested?

  • Confirm the migration video_shorts.0003_delete_videoshort runs successfully.
  • Confirm /api/v0/video_shorts/ and /api/v1/webhooks/video_shorts/ are absent from the regenerated OpenAPI specs.

Additional Context

This intentionally does not remove the final video_shorts app package or migrations yet. Phase 2 should remove the remaining installed app stub only after video_shorts.0003_delete_videoshort has been applied.

Copilot AI review requested due to automatic review settings May 28, 2026 18:34
@github-actions
Copy link
Copy Markdown

github-actions Bot commented May 28, 2026

OpenAPI Changes

3 changes: 3 error, 0 warning, 0 info

View full changelog

Unexpected changes? Ensure your branch is up-to-date with main (consider rebasing).

Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@mbertrand mbertrand force-pushed the mb/rm_video_shorts_app branch from b882e86 to 79fb353 Compare May 28, 2026 18:53
@mbertrand mbertrand force-pushed the mb/rm_video_shorts_app branch from 79fb353 to 095dcf2 Compare May 28, 2026 19:08
@mbertrand mbertrand changed the title Remove video_shorts app runtime (phase 1) Remove video_shorts app (phase 1) May 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants