X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/8722cd175d66ae707ba1ce2efa15b572678f545c..fcd19228447a2983c7aba8a0f09984eba06ded48:/apps/workbench/app/views/pipeline_instances/_show_components.html.erb diff --git a/apps/workbench/app/views/pipeline_instances/_show_components.html.erb b/apps/workbench/app/views/pipeline_instances/_show_components.html.erb index c55a7253b8..7735997748 100644 --- a/apps/workbench/app/views/pipeline_instances/_show_components.html.erb +++ b/apps/workbench/app/views/pipeline_instances/_show_components.html.erb @@ -1,24 +1,15 @@ <% if !@object.state.in? ['New', 'Ready'] %> - <% pipeline_job_uuids = [] %> - -
- Current state: <%= @object.state.sub('OnServer', '') %>  -
- - <%= render_pipeline_components("running", :json, pipeline_job_uuids: pipeline_job_uuids) %> - - <% if @object.state.in? %w(RunningOnServer RunningOnClient Failed) %> - -

Log messages from jobs

- <% log_history = pipeline_log_history((pipeline_job_uuids || []) + [@object.uuid]) %> -
"> - <% log_history.each do |entry| %> - <%=entry%>
- <% end %> -
- - <% end %> + <% + job_uuids = @object.components.map { |k,j| j.is_a? Hash and j[:job].andand[:uuid] }.compact + throttle = @object.state.start_with?('Running') ? 5000 : 15000 + %> +
+ + <%= render_pipeline_components("running", :json) %> <% else %> <%# state is either New or Ready %>