action #131204
Updated by tinita over 1 year ago
## Observation
From o3 accesslogs it seems that a python script is requesting `/tests/.../investigation_ajax` urls. Some of those jobs are passed.
User-Agent is `python-requests/2.24.0`.
It looks like it is `openqa-trigger-bisect-jobs`. Might be an oversight from when we changed the hook script to also be called on passed retry jobs.
Example job for which the url was requested: https://openqa.opensuse.org/tests/3369622
## Acceptance Criteria
* openqa-trigger-bisect-jobs is only called on failed jobs
* openqa-trigger-bisect-jobs sets a proper user agent header for all its requests
## Suggestions
* Does it even make sense for `investigation_ajax` to return something for a passed job? Maybe return early in this case