Page MenuHomePhabricator

One-off job becomes continuous
Closed, DuplicatePublicBUG REPORT

Description

Steps to replicate the issue (include links if applicable):

See https://wikitech.wikimedia.org/wiki/Help:Toolforge/Running_jobs:

$ toolforge jobs run myjob --image python3.11 --command ./mycommand.sh

$ tools.geograph@tools-bastion-14:~$ toolforge jobs list
+------------------+------------+--------------------+
|    Job name:     | Job type:  |      Status:       |
+------------------+------------+--------------------+
|      myjob       | continuous |   Running for 4s   |
+------------------+------------+--------------------+

What happens?:
Becomes continuous job

What should have happened instead?:
Should be a one-off job

Software version (on Special:Version page; skip for WMF-hosted wikis like Wikipedia):

Other information (browser name/version, screenshots, etc.):

Probably related to T402569 and https://gitlab.wikimedia.org/repos/cloud/toolforge/jobs-api/-/commit/7dfdec3ea8ff468b01074f8264f4ab3525941006