orchestrator-core icon indicating copy to clipboard operation
orchestrator-core copied to clipboard

[Feature]: Endpoint to report Validation workflows

Open pboers1988 opened this issue 1 year ago • 1 comments

Contact Details

No response

What should we build?

Define a validation endpoint for the orchestrator-core gui which checks for all in-sync and active subscriptions and whether the last-run validation WF has been run within last 48 hours. Make this endpoint suitable for the landing page of orchestrator-ui 2.0. The endpoint should report the following:

  • Time of Last run validation workflow
  • number of out of sync active subscriptions
  • list of subscriptions, that have not been checked in the past 48 hours

Relevant pseudo code

No response

pboers1988 avatar Jan 17 '24 13:01 pboers1988

The latter 2 points are useful for a scheduled task. I think the first bullet is indeed very nice for the GUI, as this can be subscription specific endpoint.

wouterhhuisman avatar Jan 20 '25 17:01 wouterhhuisman

@pboers1988 @wouterhhuisman are we still interested in this?

The current UI already has something similar

Image

If we still want it, would be nice to have a rough design of what it should look like

Mark90 avatar Jun 30 '25 15:06 Mark90

Discussed with Hans:

  • please add a field lastValidatedAt to the SubscriptionInterface graphql type which returns the last_modified_at value of the most recent validate task, if any
  • If no such task is present, return None

Mark90 avatar Jul 07 '25 12:07 Mark90