Page MenuHomePhabricator

[components-api] Redeploying same version shows diff in "timeout"
Open, LowPublic

Description

This was first noticed by @dcaro in https://gitlab.wikimedia.org/repos/cloud/toolforge/components-api/-/merge_requests/143#note_173897, but I can reproduce it without that patch.

To reproduce in lima-kilo:

sudo become tf-test2
local.tf-test2@lima-kilo:~$ toolforge components config generate | toolforge components config create
local.tf-test2@lima-kilo:~$ toolforge components deployment create

Then run deployment create again, and look at the logs for jobs-api:

fran@lima-kilo:/Users/fran$ kubectl logs -n jobs-api jobs-api-6789fd5f47-snn9m
[...]
[2026-01-22 15:57:05,648] p20:t140737346795200 /app/tjf/core/core.py:50:update_job DEBUG - Diff for job my-cronjob1: --- +++ @@ -29,5 +29,5 @@         "day_of_week": "*"
     },
     "retry": 0,
-    "timeout": 0
+    "timeout": 180
 }