Thorben Dahl
Thorben Dahl
I encountered this bug today. This bug is caused by the fact that `Panel.meta.items()` is evaluated when the `bin/control.py` file is imported. This happens _after_ the command definitions in `worker/control.py`,...
I just happened to come across this issue when searching for a different issue, and I'm afraid this behaviour is just a result of [how RabbitMQ works](https://www.rabbitmq.com/confirms.html#consumer-acks-delivery-tags). Since you are...
As a work-around in the meantime, it is easy to add `$schema` youself if you also do the task of serializing to JSON yourself: ```python import json # Assuming MainModel...
@auvipy Here's a draft pull request for fixing #6608, as per [your comment there](https://github.com/celery/celery/issues/6608#issuecomment-1678671936). (It may be a bit more finalized than "proof of concept", though, haha)
@Nusnus > What troubles did you have running the tests locally? Thank you for asking! I couldn't get the Docker image to build, using Podman. It fails on [this step](https://github.com/celery/celery/blob/main/docker/Dockerfile#L78-L80)...
The worker in `t/unit/bin/test_worker::test_cli` ended up ignoring the configured broker settings when the `test_control.py` had run beforehand. I think this is caused by celery modifying `os.environ` when it is given...
Ok, I see the problem. The `t/unit/app/test_preload_cli.py` test uses `app.user_options['preload']`. When it does, [Celery adds those options to the function objects themselves](https://github.com/celery/celery/blob/1aff856ea37a477639ef2c8883f121d6670f72e0/celery/bin/celery.py#L166-L172): ```python # User options worker.params.extend(ctx.obj.app.user_options.get('worker', [])) beat.params.extend(ctx.obj.app.user_options.get('beat', []))...
The tests should run now. However, if you define your own `app.user_options['preload']`, you won't be able to run `celery control ...` since it does not have `**kwargs` in its argument...
> What you see in top is the RSS, meaning the amount of memory is actually using. However V8 heaps grows in chunks, and when sending a lot of data...
> Can you include your reproduction? The reproduction is in the original post, as noted. Or is something missing? 🙂