Skip to content

Add OCR feature flag and guard flows when disabled#99

Merged
ohld merged 1 commit intoproductionfrom
codex/add-feature-flag-for-ocr-processing
Oct 5, 2025
Merged

Add OCR feature flag and guard flows when disabled#99
ohld merged 1 commit intoproductionfrom
codex/add-feature-flag-for-ocr-processing

Conversation

@ohld
Copy link
Member

@ohld ohld commented Oct 5, 2025

Summary

  • add an OCR_ENABLED configuration flag and expose it through settings
  • skip OCR steps in meme storage flows when the feature is disabled while keeping the final pipeline running
  • relax storage service filters and Prefect deployment defaults so OCR-less memes can publish and operators understand how to re-enable OCR

Testing

  • pytest (fails: missing optional dependencies such as pytest_asyncio, sqlalchemy, and orjson)

https://chatgpt.com/codex/tasks/task_e_68e25811276c83268234202e0e3c701f

@ohld ohld merged commit 3a43508 into production Oct 5, 2025
1 check failed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant