Add log timers around all communication over Celery.
Review Request #14373 — Created March 18, 2025 and updated
In order to help debug networking-related problems, we now include log
timers around all outgoing requests to Celery. This includes task runs
and tool refreshes. These are DEBUG-logged unless timing exceeds a
threshold, helping to catch delayed requests.As this utilizes new functionality in Djblets 5.3 / Review Board 7.0.1,
we're including a backport of the modernlog_timed()
. This will be
removed when we can depend on newer releases.
Tested worker status refreshes, tool refreshes, automatic tool runs,
and manual tool runs. All provided the correct logging information.Unit tests pass.
Summary | ID |
---|---|
839f20a186152d9427d7e714af409a3fa7e921cf |
Description | From | Last Updated |
---|---|---|
f-string is missing placeholders Column: 24 Error code: F541 |
![]() |
|
f-string is missing placeholders Column: 32 Error code: F541 |
![]() |
|
Shouldn't this be 4.0.1? Same elsewhere in this change. |
|
|
These look like they were copy/pasted from djblets. I don't think we need the version info here at all. |
|
- Change Summary:
-
Turned two f-strings back into normal strings.
- Commits:
-
Summary ID 82bd30ed92bcdb85dd22f401f16c0e4844a3d018 954127f1816b68be0ea84eae612db4f8edbed2c5
Checks run (2 succeeded)
- Change Summary:
-
Fixed the version to target 4.0.1.
- Commits:
-
Summary ID 954127f1816b68be0ea84eae612db4f8edbed2c5 839f20a186152d9427d7e714af409a3fa7e921cf