Skip to content

Remove feature flags app#71

Merged
Ch00k merged 1 commit into
mainfrom
remove-featureflage
Dec 5, 2025
Merged

Remove feature flags app#71
Ch00k merged 1 commit into
mainfrom
remove-featureflage

Conversation

@Ch00k

@Ch00k Ch00k commented Dec 5, 2025

Copy link
Copy Markdown
Owner

No description provided.

@codecov

codecov Bot commented Dec 5, 2025

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 41.66667% with 7 lines in your changes missing coverage. Please review.
✅ Project coverage is 45.31%. Comparing base (8051c26) to head (a2fb3cf).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
web/views.py 0.00% 4 Missing ⚠️
web/tasks.py 0.00% 2 Missing ⚠️
web/events/data.py 50.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main      #71      +/-   ##
==========================================
- Coverage   45.69%   45.31%   -0.39%     
==========================================
  Files          45       42       -3     
  Lines        3208     3145      -63     
  Branches      332      332              
==========================================
- Hits         1466     1425      -41     
+ Misses       1722     1700      -22     
  Partials       20       20              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

💡 Codex Review

Here are some automated review suggestions for this pull request.

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

Comment thread taskrunner/schedules.py
Comment on lines 23 to +27
def playlist_updates() -> None:
if PLAYLIST_UPDATES_SCHEDULE is None:
raise RuntimeError("playlist_updates schedule is not set")
schedule = settings.SCHEDULE.get("PLAYLIST_UPDATES")
if schedule is None:
logger.warning("PLAYLIST_UPDATES schedule is not set. Skipping task creation")
return

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Badge Skip scheduling when cron env vars missing

Both schedule helpers now return early when settings.SCHEDULE[...] is None. Because SCHEDULE_PLAYLIST_UPDATES/SCHEDULE_EVENT_UPDATES default to None (settings.py lines 313-315) and neither compose files nor .env define them, starting the taskrunner will hit this branch and skip creating the django-q schedules, so playlist and event updates never run. Previously the absence of a schedule raised and failed startup; now the job setup silently disappears whenever those env vars are unset.

Useful? React with 👍 / 👎.

@Ch00k Ch00k merged commit cb5b843 into main Dec 5, 2025
1 of 3 checks passed
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