Bug #31428

Make last remote execution status clickable, leading to the last invocation

Added by Marek Hulán 11 months ago. Updated 7 months ago.

Bugzilla link:


Since #30966, the status can define a status_link method. It can return the url the status then links to. We should link to the last job invocation of the host.

To do that, we can find the job by the task id. Note that the specific status instance links to the last task, however we need to look to it's parent, which represents the overall job. We can then find the job by this parent task id. To use path helpers, we may need to include url helpers into the class.

Related issues

Related to Foreman - Feature #30966: Make host statuses clickableClosed

Associated revisions

Revision 0aa5ca70 (diff)
Added by Dominik Matoulek 10 months ago

fixes #31428 - making execution status clickable (#559)

This PR introduces a clickable execution status at host detail page that leads to last job invocation of given host


#1 Updated by Marek Hulán 11 months ago

#2 Updated by The Foreman Bot 10 months ago

  • Assignee set to Dominik Matoulek
  • Status changed from New to Ready For Testing
  • Pull request added

#3 Updated by The Foreman Bot 10 months ago

  • Fixed in Releases foreman_remote_execution 4.2.2 added

#4 Updated by Anonymous 10 months ago

  • Status changed from Ready For Testing to Closed

#5 Updated by Adam Ruzicka 8 months ago

  • Target version set to foreman_remote_execution-4.3.0
  • Fixed in Releases deleted (foreman_remote_execution 4.2.2)

#6 Updated by Adam Ruzicka 7 months ago

  • Fixed in Releases foreman_remote_execution-4.3.0 added

Also available in: Atom PDF