action #175305
Updated by mkittler 21 days ago
### Observation When jobs are restarted the according original job no longer reflects the state of the new job. It would be helpful to provide the new job via the jobs API. See #174583 for the original context. ### Acceptance Criteria * **AC1**: openQA provides an API to find restarted jobs from the original ones * **AC2**: By default jobs are returned regardless of restarts * **AC3**: openqa-cli monitor can "follow" restarts via this new feature ## Suggestions * Add a parameter to the jobs API (e.g. `follow=1`) * Add the flag to routes where it makes sense, add it especially to the route the openqa-cli monitor command is using * The web UI already links restarted jobs - this is about the API, but maybe code can be shared For example `follow=1`