Skip to content

Fix manual job trace polling

Payton Burdette requested to merge pb-job-trace-poll-manual-job into master

What does this MR do?

This MR ensures manual jobs don't poll for a trace until they are started. This is the case right now but not on a visibility change. This MR also calls fetchTrace on a trigger manual job action to ensure the job trace is shown to the user as soon as possible.

Related to (polling fix): #292718 (closed)

Related to (job trace fix): #292814 (closed)

Screenshots (strongly suggested)

Before

Job trace isn't called immediately and refresh is needed manual-trace-bug

After

Job trace is called immediately and trace is shown to user asap. manual-job-trace-fixed

Does this MR meet the acceptance criteria?

Conformity

Availability and Testing

Security

If this MR contains changes to processing or storing of credentials or tokens, authorization and authentication methods and other items described in the security review guidelines:

  • Label as security and @ mention @gitlab-com/gl-security/appsec
  • The MR includes necessary changes to maintain consistency between UI, API, email, or other methods
  • Security reports checked/validated by a reviewer from the AppSec team
Edited by Payton Burdette

Merge request reports