Description
There is a discrepancy between the jobs status reported in the details.nodes and the jobs_ count fields returned by the /recipes/{id}/ serializer. There are instances where the the jobs_ counts returned do not match the statuses returned for each node. This causes the UI to color code each node differently than the overall job status bar reports.
This appears to be due to a lag between the messages being sent to update the recipe node status and the message being sent to update the recipe metrics.
Reproduction Steps
Steps to reproduce the problem:
Go to Scale -> Processing -> Recipes
Click on a running recipe
Hover over the jobs status bar and note the number of running/pending/queued/canceled/etc
See if those numbers match the color coded nodes in the recipe graph
Expected behavior
The color codes of the nodes in the recipe graph should match the reported jobs_ count fields coming back from the /recipes/{id}/ endpoint.
Description There is a discrepancy between the jobs status reported in the
details.nodes
and thejobs_
count fields returned by the /recipes/{id}/ serializer. There are instances where the thejobs_
counts returned do not match the statuses returned for each node. This causes the UI to color code each node differently than the overall job status bar reports.This appears to be due to a lag between the messages being sent to update the recipe node status and the message being sent to update the recipe metrics.
Reproduction Steps Steps to reproduce the problem:
Expected behavior The color codes of the nodes in the recipe graph should match the reported
jobs_
count fields coming back from the /recipes/{id}/ endpoint.