Skip to content

Conversation

@papphelix
Copy link
Member

This fix is done to rearrange adding component by checking waffle-flag conditionally

Copy link

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.

Pull request overview

This PR attempts to move the games xblock enablement check from module load time to request time, allowing dynamic control via waffle flag. However, the implementation has critical bugs that prevent it from working correctly and introduce concurrency issues.

Changes:

  • Removed module-level conditional addition of 'games' to COMPONENT_TYPES and BETA_COMPONENT_TYPES
  • Added request-time conditional logic to enable games xblock within the get_component_templates function
  • Modified beta component type checking to handle games dynamically

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@djoseph-apphelix djoseph-apphelix self-requested a review January 29, 2026 11:06
@papphelix papphelix merged commit 015ebc3 into release-ulmo Jan 29, 2026
64 checks passed
@papphelix papphelix deleted the fix/gamesxblock-issue-fix branch January 29, 2026 12:06
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.

3 participants