noisy warning: Flag "[name]" accessed without a request, which is likely in the context of a celery task.
Open
@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
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.