Skip to content
Open
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion app/helpers/mission_control/jobs/jobs_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def failed_job_backtrace(job, server)

def attribute_names_for_job_status(status)
case status.to_s
when "failed" then [ "Error", "" ]
when "failed" then [ "Error", "Retries", "" ]
when "blocked" then [ "Queue", "Blocked by", "Block expiry", "" ]
when "finished" then [ "Queue", "Finished" ]
when "scheduled" then [ "Queue", "Scheduled", "" ]
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,12 @@
</td>
</tr>
<% end %>
<tr>
<th>Retries</th>
<td>
<%= job.respond_to?(:arguments) ? job.arguments.first["executions"] : 0 %>
</td>
</tr>
<% if job.finished_at.present? %>
<tr>
<th>Finished at</th>
Expand Down
3 changes: 3 additions & 0 deletions app/views/mission_control/jobs/jobs/failed/_job.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@
<%= link_to failed_job_error(job), application_job_path(@application, job.job_id, anchor: "error") %>
<div class="has-text-grey"><%= formatted_time(job.failed_at) %></div>
</td>
<td>
<%= job.respond_to?(:arguments) ? job.arguments.first["executions"] : 0 %>
</td>
<td class="pr-0">
<%= render "mission_control/jobs/jobs/failed/actions", job: job %>
</td>