Add link to job log in Runners dashboard
What does this MR do and why?
Add a link to the job log in the runners dashboard if available. This is related to !131124 (merged).
Note: I am taking over for @mrincon (hey there
Issue: #413096 (closed)
Screenshots or screen recordings
Before | After |
---|---|
![]() |
![]() |
How to set up and validate locally
In rails console (rails c
) enable the feature
Feature.enable(:runners_dashboard)
- Visit the admin performance page
http://gdk.test:3000/admin/runners/dashboard
Verify the empty state
- Verify the empty state, you will see it as long as you are not running jobs.
Verify with data
-
On the GDK console, ensure you have the required license:
> License.feature_available?(:runner_performance_insights) => true
-
On the shell terminal, run
bundle exec rake "gitlab:seed:runner_fleet"
to generate mock jobs. -
In the rails console, run the following command to ensure that we have some jobs failed with
:runner_system_failure
:builds = Ci::Build.with_runner_type(:instance_type).order(id: :desc).where(status: 'failed').limit(2) builds.update_all(failure_reason: :runner_system_failure) builds.each { |build| ::Ci::InstanceRunnerFailedJobs.track(build) }
Refresh the page to see the list.
- Notice the new links!
MR acceptance checklist
This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.
-
I have evaluated the MR acceptance checklist for this MR.