openedx / openedx/edx-toggles

noisy warning: Flag "[name]" accessed without a request, which is likely in the context of a celery task.

Open
#320 5 comments 0 reactions 1 assignee View on GitHub

@mariajgrimaldi is already working on this.

Since Feb 17, 2025.

blocked by other work enhancement
Dominant language
Python
Stars
6
Forks
16
PR merge metrics
No merged PRs in 30d

Description

This warning is appearing 29 times during provisioning in the edx-platform repo. It clutters logs and hinders dev experience (https://github.com/openedx/edx-platform/issues/32888).

@regisb does this still need to be a warning? I'm trying to figure if I should ignore it in the edx-platform logs, or even if it should be moved to info/debug here.

Specific line of the warning: https://github.com/openedx/edx-toggles/blob/b93431d/edx_toggles/toggles/internal/waffle/flag.py#L79-L83

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.