Skip to content

refactor: Move upload/delete transcript int video_config service - #37793

Merged
farhan merged 1 commit into
masterfrom
farhan/upload-delete-transcript
Dec 24, 2025
Merged

refactor: Move upload/delete transcript int video_config service#37793
farhan merged 1 commit into
masterfrom
farhan/upload-delete-transcript

Conversation

@farhan

@farhan farhan commented Dec 19, 2025

Copy link
Copy Markdown
Contributor

Description

This moves edx-platform-specific logic out of the VideoBlock, in preparation for the VideoBlock extraction:
#36282

Testing instructions

Go to studio, and in a course, add a transcript, and delete it.
Do the same in a v2 library.

This is a duplicate PR of this PR, further notes can be found on it.

@farhan farhan added the create-sandbox open-craft-grove should create a sandbox environment from this PR label Dec 19, 2025
@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@feanil feanil left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Changes look good, assuming there is no major changes needed as a part of fixing the conflict with master, I think this is good to merge without another review.

elif service_name == 'error_tracker':
return make_error_tracker()
elif service_name == 'video_config':
# Import here to avoid circular dependency

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Not a big deal but it would be nice to note what the circular dependency is in the comment here.

@farhan farhan Dec 24, 2025

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Let's do all the extraction part and clean the code from platform and then we will review the circular imports in following ticket.

openedx/public-engineering#469

This moves edx-platform-specific logic out of the VideoBlock,
in preparation for the VideoBlock extraction:
#36282
@farhan
farhan force-pushed the farhan/upload-delete-transcript branch from 62aef19 to 3c9e1a9 Compare December 23, 2025 15:45
@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment failed 💥
Please check the settings and requirements.
Retry deployment by pushing a new commit or updating the requirements/settings in the pull request's description.
📜 Failure Logs
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@open-craft-grove

Copy link
Copy Markdown

Sandbox deployment successful 🚀
🎓 LMS
📝 Studio
ℹ️ Grove Config, Tutor Config, Tutor Requirements

@farhan
farhan merged commit c5333b3 into master Dec 24, 2025
69 checks passed
@farhan
farhan deleted the farhan/upload-delete-transcript branch December 24, 2025 07:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

create-sandbox open-craft-grove should create a sandbox environment from this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants