diff --git a/changes.d/2347.feat.md b/changes.d/2347.feat.md new file mode 100644 index 000000000..2bced25b3 --- /dev/null +++ b/changes.d/2347.feat.md @@ -0,0 +1 @@ +Added "Reinstall Reload"/"Reinstall Restart" to the workflow command menu (equivalent to `cylc vr`). diff --git a/src/services/mock/json/IntrospectionQuery.json b/src/services/mock/json/IntrospectionQuery.json index 6a0a66fa5..7ff33c49e 100644 --- a/src/services/mock/json/IntrospectionQuery.json +++ b/src/services/mock/json/IntrospectionQuery.json @@ -1947,7 +1947,7 @@ }, { "name": "setVerbosity", - "description": "Change the logging severity level of a running workflow.\n\nOnly messages at or above the chosen severity level will be logged.\nFor example, if you choose `WARNING`, only warning, error and\ncritical level messages will be logged.\n\nValid for: paused, running workflows.", + "description": "Change the logging severity level of a running workflow.\n\nOnly messages at or above the chosen severity level will be logged.\nFor example, if you choose `WARNING`, only warning, error and\ncritical level messages will be logged.\n\nValid for: paused, running, stopping workflows.", "args": [ { "name": "level", @@ -2483,7 +2483,7 @@ "args": [ { "name": "flow", - "description": "\"Remove the task(s) from the specified flows. \"\n\nThis should be a list of flow numbers, or 'all'\nto remove the task(s) from all flows they belong to\n(which is the default).", + "description": "\"Remove the tasks from the specified flows.\"\n\nThis should be a list of flow numbers.\nBy default, tasks will be removed from all flows.", "type": { "kind": "LIST", "name": null, @@ -2500,7 +2500,19 @@ }, "__typename": "__Type" }, - "defaultValue": "[\"all\"]", + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "noSpawn", + "description": "Remove the leading instance of a parentless task without\nspawning its next instance.\n\nThis only affects leading instances of parentless sequential\nxtriggered tasks and parentless tasks waiting at the\nrunahead-limit.\n\nWARNING: this is a low-level intervention that cuts tasks from\nthe future graph; it could cause your workflow to shut down\nprematurely as complete.\n\nIf `false` the scheduler will spawn the next task instance\nas normal (default).\n\nIf `true` the scheduler will not spawn the next task instance.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "false", "__typename": "__InputValue" }, { @@ -2564,7 +2576,7 @@ "args": [ { "name": "flow", - "description": "The flow(s) to trigger/set these tasks in.\n\nBy default:\n* active tasks (n=0) keep their existing flow assignment\n* inactive tasks (n>0) get assigned all active flows\n\nOtherwise you can assign (inactive tasks) or add to (active tasks):\n* a list of integer flow numbers\nor one of the following strings:\n* all - all active flows\n* new - an automatically generated new flow number\n* none - (ignored for active tasks): no flow", + "description": "The flow(s) to set or trigger these tasks in.\n\nBy default, active tasks (n=0) stay in their assigned flow(s) and\ninactive tasks (n>0) will be assigned to all active flows.\n\nOtherwise give a list of integers or one of the following strings:\n* new - an automatically generated new flow number\n* none - activity won't flow on (ignored for active tasks)", "type": { "kind": "LIST", "name": null, @@ -2703,7 +2715,7 @@ "args": [ { "name": "flow", - "description": "The flow(s) to trigger/set these tasks in.\n\nBy default:\n* active tasks (n=0) keep their existing flow assignment\n* inactive tasks (n>0) get assigned all active flows\n\nOtherwise you can assign (inactive tasks) or add to (active tasks):\n* a list of integer flow numbers\nor one of the following strings:\n* all - all active flows\n* new - an automatically generated new flow number\n* none - (ignored for active tasks): no flow", + "description": "The flow(s) to set or trigger these tasks in.\n\nBy default, active tasks (n=0) stay in their assigned flow(s) and\ninactive tasks (n>0) will be assigned to all active flows.\n\nOtherwise give a list of integers or one of the following strings:\n* new - an automatically generated new flow number\n* none - activity won't flow on (ignored for active tasks)", "type": { "kind": "LIST", "name": null, @@ -3042,12 +3054,12 @@ "__typename": "__Field" }, { - "name": "clean", - "description": "Clean a workflow from the run directory.\n\nValid for: stopped workflows.", + "name": "reinstallReload", + "description": "Validate, reinstall, then reload the workflow.\n\nThis command updates a workflow to reflect any new changes made in\nthe workflow source directory since it was installed.\n\nValid for: paused, running workflows.", "args": [ { - "name": "localOnly", - "description": "Only clean on the local filesystem (not remote hosts).", + "name": "clearRoseInstallOptions", + "description": "Clear options previous set by cylc-rose.", "type": { "kind": "SCALAR", "name": "Boolean", @@ -3058,8 +3070,8 @@ "__typename": "__InputValue" }, { - "name": "remoteOnly", - "description": "Only clean on remote hosts (not the local filesystem).", + "name": "reloadGlobal", + "description": "Reload global config as well as the workflow config", "type": { "kind": "SCALAR", "name": "Boolean", @@ -3070,15 +3082,54 @@ "__typename": "__InputValue" }, { - "name": "rm", - "description": "Only clean the specified subdirectories or files in\nthe run directory, rather than the whole run.\n\nA colon separated list that accepts globs,\ne.g. ``.service/db:log:share:work/2020*``.", + "name": "roseOptConfKeys", + "description": "Add Rose optional configurations (if Rose is used).", "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, - "defaultValue": "\"\"", + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "roseSuiteDefines", + "description": "Each of these overrides the `[SECTION]KEY` setting in a\n`rose-suite.conf` file.\n\nCan be used to disable a setting using the syntax\n`[SECTION]!KEY` or even `[!SECTION]`.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "roseTemplateVariables", + "description": "Define a Rose `[template variable]`s e.g, `FOO=1`.\n\nNote: Specifying `FOO=1` to this argument is equivalent to\nspecifying `[template variables]FOO=1` to the `define`\nargument.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": null, "__typename": "__InputValue" }, { @@ -3106,7 +3157,7 @@ ], "type": { "kind": "OBJECT", - "name": "Clean", + "name": "ReinstallReload", "ofType": null, "__typename": "__Type" }, @@ -3115,310 +3166,442 @@ "__typename": "__Field" }, { - "name": "scan", - "description": "Scan the filesystem for file changes.\n\nValid for: stopped workflows.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Scan", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null, - "__typename": "__Type" - }, - "types": [ - { - "kind": "OBJECT", - "name": "UISQueries", - "description": null, - "fields": [ - { - "name": "workflows", - "description": "Global workflow info.", - "args": [ - { - "name": "stripNull", - "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" + "name": "reinstallRestart", + "description": "Validate, reinstall, then restart the workflow.\n\nThis command updates a workflow to reflect any new changes made in\nthe workflow source directory since it was installed.\n\nValid for: stopped workflows.", + "args": [ + { + "name": "abortIfAnyTaskFails", + "description": "If set workflow will abort with status 1 if any task fails.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" }, - { - "name": "ids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" + "defaultValue": "false", + "__typename": "__InputValue" + }, + { + "name": "clearRoseInstallOptions", + "description": "Clear options previous set by cylc-rose.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" }, - { - "name": "exids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Workflow", + "defaultValue": "false", + "__typename": "__InputValue" + }, + { + "name": "cylcVersion", + "description": "Set the Cylc version that the workflow starts with.", + "type": { + "kind": "SCALAR", + "name": "CylcVersion", "ofType": null, "__typename": "__Type" }, - "__typename": "__Type" + "defaultValue": null, + "__typename": "__InputValue" }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "job", - "description": "Jobs.", - "args": [ - { - "name": "stripNull", - "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" + { + "name": "debug", + "description": "Output developer information and show exception tracebacks.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" }, - { - "name": "id", - "description": null, - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - } - ], - "type": { - "kind": "OBJECT", - "name": "Job", - "ofType": null, - "__typename": "__Type" + "defaultValue": "false", + "__typename": "__InputValue" }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "jobs", - "description": "Jobs.", - "args": [ - { - "name": "stripNull", - "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" + { + "name": "finalCyclePoint", + "description": "Set the final cycle point. This command line option overrides\nthe workflow config option `[scheduling]final cycle point`.", + "type": { + "kind": "SCALAR", + "name": "CyclePoint", + "ofType": null, + "__typename": "__Type" }, - { - "name": "live", - "description": null, - "type": { + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "holdCyclePoint", + "description": "Hold all tasks after this cycle point.", + "type": { + "kind": "SCALAR", + "name": "CyclePoint", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "host", + "description": "Specify the host on which to start-up the workflow. If not\nspecified, a host will be selected using the\n`[scheduler]run hosts` global config.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "initialCyclePoint", + "description": "Set the initial cycle point.\n\nRequired if not defined in flow.cylc.", + "type": { + "kind": "SCALAR", + "name": "CyclePoint", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "mainLoop", + "description": "Specify an additional plugin to run in the main loop. These\nare used in combination with those specified in\n`[scheduler][main loop]plugins`. Can be used multiple times.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null, "__typename": "__Type" }, - "defaultValue": "true", - "__typename": "__InputValue" + "__typename": "__Type" }, - { - "name": "workflows", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "mode", + "description": null, + "type": { + "kind": "ENUM", + "name": "WorkflowRunMode", + "ofType": null, + "__typename": "__Type" }, - { - "name": "exworkflows", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" + "defaultValue": "Live", + "__typename": "__InputValue" + }, + { + "name": "noTimestamp", + "description": "Don't timestamp logged messages.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" }, - { - "name": "ids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" + "defaultValue": "false", + "__typename": "__InputValue" + }, + { + "name": "pause", + "description": "Pause workflow immediately on starting.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" }, - { - "name": "exids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "roseOptConfKeys", + "description": "Add Rose optional configurations (if Rose is used).", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, "__typename": "__Type" }, - "defaultValue": "[]", - "__typename": "__InputValue" + "__typename": "__Type" }, - { - "name": "mindepth", - "description": null, - "type": { + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "roseSuiteDefines", + "description": "Each of these overrides the `[SECTION]KEY` setting in a\n`rose-suite.conf` file.\n\nCan be used to disable a setting using the syntax\n`[SECTION]!KEY` or even `[!SECTION]`.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null, "__typename": "__Type" }, - "defaultValue": "-1", - "__typename": "__InputValue" + "__typename": "__Type" }, - { - "name": "maxdepth", - "description": null, - "type": { + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "roseTemplateVariables", + "description": "Define a Rose `[template variable]`s e.g, `FOO=1`.\n\nNote: Specifying `FOO=1` to this argument is equivalent to\nspecifying `[template variables]FOO=1` to the `define`\nargument.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null, "__typename": "__Type" }, - "defaultValue": "-1", - "__typename": "__InputValue" + "__typename": "__Type" }, - { - "name": "sort", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "SortArgs", + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "set", + "description": "Set the value of a Jinja2 template variable in the workflow\ndefinition. Values should be valid Python literals so strings\nmust be quoted e.g. `STR=\"string\"`, `INT=43`, `BOOL=True`.\nThis option can be used multiple times on the command line.\nNOTE: these settings persist across workflow restarts, but can\nbe set again on the `cylc play` command line if they need to be\noverridden.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", "ofType": null, "__typename": "__Type" }, - "defaultValue": "null", - "__typename": "__InputValue" + "__typename": "__Type" }, - { - "name": "tasks", - "description": "Deprecated, use ids: [\"*/\"].", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "setFile", + "description": "Set the value of Jinja2 template variables in the workflow\ndefinition from a file containing NAME=VALUE pairs (one per\nline). As with \"set\" values should be valid Python literals so\nstrings must be quoted e.g. `STR='string'`. NOTE: these\nsettings persist across workflow restarts, but can be set again\non the `cylc play` command line if they need to be overridden.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" }, - { - "name": "states", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "startCyclePoint", + "description": "Set the start cycle point, which may be after the initial cycle\npoint.\n\nIf the specified start point is not in the sequence, the next\non-sequence point will be used.\n\n(Not to be confused with the initial cycle point).\n\nThis replaces the Cylc 7 --warm option.", + "type": { + "kind": "SCALAR", + "name": "CyclePoint", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "stopCyclePoint", + "description": "Set the stop cycle point. Shut down after all tasks have PASSED\nthis cycle point. (Not to be confused with the final cycle\npoint.) This command line option overrides the workflow config\noption `[scheduling]stop after cycle point`.", + "type": { + "kind": "SCALAR", + "name": "CyclePoint", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "upgrade", + "description": "Allow the workflow to be restarted with a newer\nversion of Cylc.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "false", + "__typename": "__InputValue" + }, + { + "name": "workflows", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "WorkflowID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + } + ], + "type": { + "kind": "OBJECT", + "name": "ReinstallRestart", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "clean", + "description": "Clean a workflow from the run directory.\n\nValid for: stopped workflows.", + "args": [ + { + "name": "localOnly", + "description": "Only clean on the local filesystem (not remote hosts).", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "false", + "__typename": "__InputValue" + }, + { + "name": "remoteOnly", + "description": "Only clean on remote hosts (not the local filesystem).", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "false", + "__typename": "__InputValue" + }, + { + "name": "rm", + "description": "Only clean the specified subdirectories or files in\nthe run directory, rather than the whole run.\n\nA colon separated list that accepts globs,\ne.g. ``.service/db:log:share:work/2020*``.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "\"\"", + "__typename": "__InputValue" + }, + { + "name": "workflows", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "WorkflowID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + } + ], + "type": { + "kind": "OBJECT", + "name": "Clean", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "scan", + "description": "Scan the filesystem for file changes.\n\nValid for: stopped workflows.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Scan", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null, + "__typename": "__Type" + }, + "types": [ + { + "kind": "OBJECT", + "name": "UISQueries", + "description": null, + "fields": [ + { + "name": "workflows", + "description": "Global workflow info.", + "args": [ + { + "name": "stripNull", + "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "ids", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" }, "defaultValue": "[]", "__typename": "__InputValue" }, { - "name": "exstates", + "name": "exids", "description": null, "type": { "kind": "LIST", @@ -3440,7 +3623,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "UISJob", + "name": "Workflow", "ofType": null, "__typename": "__Type" }, @@ -3451,8 +3634,8 @@ "__typename": "__Field" }, { - "name": "task", - "description": "Task definitions.\n\nThese are the task \"definitions\" as they appear in the\nconfiguration as opposed to task \"instances\" which you will find\nin the `TaskProxies` field.", + "name": "job", + "description": "Jobs.", "args": [ { "name": "stripNull", @@ -3486,7 +3669,7 @@ ], "type": { "kind": "OBJECT", - "name": "Task", + "name": "Job", "ofType": null, "__typename": "__Type" }, @@ -3495,8 +3678,8 @@ "__typename": "__Field" }, { - "name": "tasks", - "description": "Task definitions.\n\nThese are the task \"definitions\" as they appear in the\nconfiguration as opposed to task \"instances\" which you will find\nin the `TaskProxies` field.", + "name": "jobs", + "description": "Jobs.", "args": [ { "name": "stripNull", @@ -3625,44 +3808,29 @@ }, "defaultValue": "null", "__typename": "__InputValue" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "UISTask", - "ofType": null, - "__typename": "__Type" }, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "taskProxy", - "description": "Task cycle instance.", - "args": [ { - "name": "stripNull", - "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", + "name": "tasks", + "description": "Deprecated, use ids: [\"*/\"].", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, - "defaultValue": null, + "defaultValue": "[]", "__typename": "__InputValue" }, { - "name": "id", + "name": "states", "description": null, "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", @@ -3672,14 +3840,36 @@ }, "__typename": "__Type" }, - "defaultValue": null, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "exstates", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", "__typename": "__InputValue" } ], "type": { - "kind": "OBJECT", - "name": "TaskProxy", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "UISJob", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, "isDeprecated": false, @@ -3687,14 +3877,26 @@ "__typename": "__Field" }, { - "name": "taskProxies", - "description": "Task cycle instance.", + "name": "task", + "description": "Task definitions.\n\nThese are the task \"definitions\" as they appear in the\nconfiguration as opposed to task \"instances\" which you will find\nin the `TaskProxies` field.", "args": [ { - "name": "workflows", + "name": "stripNull", + "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "id", "description": null, "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", @@ -3704,28 +3906,50 @@ }, "__typename": "__Type" }, - "defaultValue": "[]", + "defaultValue": null, + "__typename": "__InputValue" + } + ], + "type": { + "kind": "OBJECT", + "name": "Task", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "tasks", + "description": "Task definitions.\n\nThese are the task \"definitions\" as they appear in the\nconfiguration as opposed to task \"instances\" which you will find\nin the `TaskProxies` field.", + "args": [ + { + "name": "stripNull", + "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, "__typename": "__InputValue" }, { - "name": "exworkflows", + "name": "live", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, "__typename": "__Type" }, - "defaultValue": "[]", + "defaultValue": "true", "__typename": "__InputValue" }, { - "name": "ids", + "name": "workflows", "description": null, "type": { "kind": "LIST", @@ -3742,7 +3966,7 @@ "__typename": "__InputValue" }, { - "name": "exids", + "name": "exworkflows", "description": null, "type": { "kind": "LIST", @@ -3759,14 +3983,14 @@ "__typename": "__InputValue" }, { - "name": "states", + "name": "ids", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null, "__typename": "__Type" }, @@ -3776,14 +4000,14 @@ "__typename": "__InputValue" }, { - "name": "exstates", + "name": "exids", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null, "__typename": "__Type" }, @@ -3792,42 +4016,6 @@ "defaultValue": "[]", "__typename": "__InputValue" }, - { - "name": "isHeld", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isQueued", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isRunahead", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, { "name": "mindepth", "description": null, @@ -3852,18 +4040,6 @@ "defaultValue": "-1", "__typename": "__InputValue" }, - { - "name": "graphDepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, { "name": "sort", "description": null, @@ -3875,18 +4051,6 @@ }, "defaultValue": "null", "__typename": "__InputValue" - }, - { - "name": "stripNull", - "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" } ], "type": { @@ -3894,7 +4058,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "TaskProxy", + "name": "UISTask", "ofType": null, "__typename": "__Type" }, @@ -3905,8 +4069,8 @@ "__typename": "__Field" }, { - "name": "family", - "description": "Task definition, static fields.", + "name": "taskProxy", + "description": "Task cycle instance.", "args": [ { "name": "stripNull", @@ -3940,7 +4104,7 @@ ], "type": { "kind": "OBJECT", - "name": "Family", + "name": "TaskProxy", "ofType": null, "__typename": "__Type" }, @@ -3949,8 +4113,8 @@ "__typename": "__Field" }, { - "name": "families", - "description": "Task definition, static fields.", + "name": "taskProxies", + "description": "Task cycle instance.", "args": [ { "name": "workflows", @@ -4021,44 +4185,54 @@ "__typename": "__InputValue" }, { - "name": "mindepth", + "name": "states", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, - "defaultValue": "-1", + "defaultValue": "[]", "__typename": "__InputValue" }, { - "name": "maxdepth", + "name": "exstates", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, - "defaultValue": "-1", + "defaultValue": "[]", "__typename": "__InputValue" }, { - "name": "sort", + "name": "isHeld", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "SortArgs", + "kind": "SCALAR", + "name": "Boolean", "ofType": null, "__typename": "__Type" }, - "defaultValue": "null", + "defaultValue": null, "__typename": "__InputValue" }, { - "name": "stripNull", - "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", + "name": "isQueued", + "description": null, "type": { "kind": "SCALAR", "name": "Boolean", @@ -4067,30 +4241,10 @@ }, "defaultValue": null, "__typename": "__InputValue" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Family", - "ofType": null, - "__typename": "__Type" }, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "familyProxy", - "description": "Family composite.", - "args": [ { - "name": "stripNull", - "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", + "name": "isRunahead", + "description": null, "type": { "kind": "SCALAR", "name": "Boolean", @@ -4101,17 +4255,60 @@ "__typename": "__InputValue" }, { - "name": "id", + "name": "mindepth", "description": null, "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "-1", + "__typename": "__InputValue" + }, + { + "name": "maxdepth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "-1", + "__typename": "__InputValue" + }, + { + "name": "graphDepth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "-1", + "__typename": "__InputValue" + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "SortArgs", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "null", + "__typename": "__InputValue" + }, + { + "name": "stripNull", + "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, "__typename": "__Type" }, "defaultValue": null, @@ -4119,9 +4316,14 @@ } ], "type": { - "kind": "OBJECT", - "name": "FamilyProxy", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TaskProxy", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, "isDeprecated": false, @@ -4129,31 +4331,26 @@ "__typename": "__Field" }, { - "name": "familyProxies", - "description": "Family composite.", + "name": "family", + "description": "Task definition, static fields.", "args": [ { - "name": "workflows", - "description": null, + "name": "stripNull", + "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, "__typename": "__Type" }, - "defaultValue": "[]", + "defaultValue": null, "__typename": "__InputValue" }, { - "name": "exworkflows", + "name": "id", "description": null, "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", @@ -4163,11 +4360,26 @@ }, "__typename": "__Type" }, - "defaultValue": "[]", + "defaultValue": null, "__typename": "__InputValue" - }, + } + ], + "type": { + "kind": "OBJECT", + "name": "Family", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "families", + "description": "Task definition, static fields.", + "args": [ { - "name": "ids", + "name": "workflows", "description": null, "type": { "kind": "LIST", @@ -4184,7 +4396,7 @@ "__typename": "__InputValue" }, { - "name": "exids", + "name": "exworkflows", "description": null, "type": { "kind": "LIST", @@ -4201,14 +4413,14 @@ "__typename": "__InputValue" }, { - "name": "states", + "name": "ids", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null, "__typename": "__Type" }, @@ -4218,14 +4430,14 @@ "__typename": "__InputValue" }, { - "name": "exstates", + "name": "exids", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null, "__typename": "__Type" }, @@ -4234,42 +4446,6 @@ "defaultValue": "[]", "__typename": "__InputValue" }, - { - "name": "isHeld", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isQueued", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isRunahead", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, { "name": "mindepth", "description": null, @@ -4294,18 +4470,6 @@ "defaultValue": "-1", "__typename": "__InputValue" }, - { - "name": "graphDepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, { "name": "sort", "description": null, @@ -4336,7 +4500,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "FamilyProxy", + "name": "Family", "ofType": null, "__typename": "__Type" }, @@ -4347,31 +4511,26 @@ "__typename": "__Field" }, { - "name": "edges", - "description": "Dependency edge task/family proxies.", + "name": "familyProxy", + "description": "Family composite.", "args": [ { - "name": "workflows", - "description": null, + "name": "stripNull", + "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, "__typename": "__Type" }, - "defaultValue": "[]", + "defaultValue": null, "__typename": "__InputValue" }, { - "name": "exworkflows", + "name": "id", "description": null, "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", @@ -4381,43 +4540,14 @@ }, "__typename": "__Type" }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "sort", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "SortArgs", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "null", - "__typename": "__InputValue" - }, - { - "name": "stripNull", - "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, "defaultValue": null, "__typename": "__InputValue" } ], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Edge", - "ofType": null, - "__typename": "__Type" - }, + "kind": "OBJECT", + "name": "FamilyProxy", + "ofType": null, "__typename": "__Type" }, "isDeprecated": false, @@ -4425,8 +4555,8 @@ "__typename": "__Field" }, { - "name": "nodesEdges", - "description": "Related Nodes & Edges.", + "name": "familyProxies", + "description": "Family composite.", "args": [ { "name": "workflows", @@ -4567,7 +4697,7 @@ "__typename": "__InputValue" }, { - "name": "distance", + "name": "mindepth", "description": null, "type": { "kind": "SCALAR", @@ -4575,11 +4705,11 @@ "ofType": null, "__typename": "__Type" }, - "defaultValue": "1", + "defaultValue": "-1", "__typename": "__InputValue" }, { - "name": "mindepth", + "name": "maxdepth", "description": null, "type": { "kind": "SCALAR", @@ -4591,7 +4721,7 @@ "__typename": "__InputValue" }, { - "name": "maxdepth", + "name": "graphDepth", "description": null, "type": { "kind": "SCALAR", @@ -4628,9 +4758,14 @@ } ], "type": { - "kind": "OBJECT", - "name": "NodesEdges", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FamilyProxy", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, "isDeprecated": false, @@ -4638,168 +4773,12 @@ "__typename": "__Field" }, { - "name": "logFiles", - "description": "List available job logs", + "name": "edges", + "description": "Dependency edge task/family proxies.", "args": [ { - "name": "id", - "description": "workflow//[cycle/task]", - "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - } - ], - "type": { - "kind": "OBJECT", - "name": "LogFiles", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null, - "__typename": "__Type" - }, - { - "kind": "OBJECT", - "name": "Workflow", - "description": "Global workflow info.", - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "name", - "description": "The workflow ID with the ~user/ prefix removed.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "status", - "description": "The workflow status e.g. `running`.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "statusMsg", - "description": "A description of the workflow status.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "host", - "description": "The host where the scheduler process is running.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "port", - "description": "The port for sending ZMQ requests to the scheduler.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "pubPort", - "description": "The port for subscribing to ZMQ updates from the scheduler.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "owner", - "description": "The user account that the workflow is running under.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "tasks", - "description": "Task definitions.", - "args": [ - { - "name": "ids", - "description": null, + "name": "workflows", + "description": null, "type": { "kind": "LIST", "name": null, @@ -4815,7 +4794,7 @@ "__typename": "__InputValue" }, { - "name": "exids", + "name": "exworkflows", "description": null, "type": { "kind": "LIST", @@ -4831,30 +4810,6 @@ "defaultValue": "[]", "__typename": "__InputValue" }, - { - "name": "mindepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "maxdepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, { "name": "sort", "description": null, @@ -4878,30 +4833,6 @@ }, "defaultValue": null, "__typename": "__InputValue" - }, - { - "name": "deltaStore", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "false", - "__typename": "__InputValue" - }, - { - "name": "deltaType", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "\"added\"", - "__typename": "__InputValue" } ], "type": { @@ -4909,7 +4840,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Task", + "name": "Edge", "ofType": null, "__typename": "__Type" }, @@ -4920,11 +4851,11 @@ "__typename": "__Field" }, { - "name": "families", - "description": "Family definitions.", + "name": "nodesEdges", + "description": "Related Nodes & Edges.", "args": [ { - "name": "ids", + "name": "workflows", "description": null, "type": { "kind": "LIST", @@ -4941,7 +4872,7 @@ "__typename": "__InputValue" }, { - "name": "exids", + "name": "exworkflows", "description": null, "type": { "kind": "LIST", @@ -4958,133 +4889,41 @@ "__typename": "__InputValue" }, { - "name": "mindepth", + "name": "ids", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, - "defaultValue": "-1", + "defaultValue": "[]", "__typename": "__InputValue" }, { - "name": "maxdepth", + "name": "exids", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, - "defaultValue": "-1", + "defaultValue": "[]", "__typename": "__InputValue" }, { - "name": "sort", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "SortArgs", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "null", - "__typename": "__InputValue" - }, - { - "name": "stripNull", - "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "deltaStore", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "false", - "__typename": "__InputValue" - }, - { - "name": "deltaType", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "\"added\"", - "__typename": "__InputValue" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Family", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "taskProxies", - "description": "Task instances.", - "args": [ - { - "name": "ids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "exids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "states", + "name": "states", "description": null, "type": { "kind": "LIST", @@ -5154,7 +4993,7 @@ "__typename": "__InputValue" }, { - "name": "mindepth", + "name": "distance", "description": null, "type": { "kind": "SCALAR", @@ -5162,11 +5001,11 @@ "ofType": null, "__typename": "__Type" }, - "defaultValue": "-1", + "defaultValue": "1", "__typename": "__InputValue" }, { - "name": "maxdepth", + "name": "mindepth", "description": null, "type": { "kind": "SCALAR", @@ -5178,7 +5017,7 @@ "__typename": "__InputValue" }, { - "name": "graphDepth", + "name": "maxdepth", "description": null, "type": { "kind": "SCALAR", @@ -5212,41 +5051,12 @@ }, "defaultValue": null, "__typename": "__InputValue" - }, - { - "name": "deltaStore", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "false", - "__typename": "__InputValue" - }, - { - "name": "deltaType", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "\"added\"", - "__typename": "__InputValue" } ], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TaskProxy", - "ofType": null, - "__typename": "__Type" - }, + "kind": "OBJECT", + "name": "NodesEdges", + "ofType": null, "__typename": "__Type" }, "isDeprecated": false, @@ -5254,31 +5064,14 @@ "__typename": "__Field" }, { - "name": "familyProxies", - "description": "Family instances.", + "name": "logFiles", + "description": "List available job logs", "args": [ { - "name": "ids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "exids", - "description": null, + "name": "id", + "description": "workflow//[cycle/task]", "type": { - "kind": "LIST", + "kind": "NON_NULL", "name": null, "ofType": { "kind": "SCALAR", @@ -5288,105 +5081,196 @@ }, "__typename": "__Type" }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "states", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "exstates", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "isHeld", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isQueued", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isRunahead", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, "defaultValue": null, "__typename": "__InputValue" - }, - { - "name": "mindepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "maxdepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, + } + ], + "type": { + "kind": "OBJECT", + "name": "LogFiles", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null, + "__typename": "__Type" + }, + { + "kind": "OBJECT", + "name": "Workflow", + "description": "Global workflow info.", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "name", + "description": "The workflow ID with the ~user/ prefix removed.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "status", + "description": "The workflow status e.g. `running`.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "statusMsg", + "description": "A description of the workflow status.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "host", + "description": "The host where the scheduler process is running.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "port", + "description": "The port for sending ZMQ requests to the scheduler.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "pubPort", + "description": "The port for subscribing to ZMQ updates from the scheduler.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "owner", + "description": "The user account that the workflow is running under.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "tasks", + "description": "Task definitions.", + "args": [ + { + "name": "ids", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "exids", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "mindepth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, "defaultValue": "-1", "__typename": "__InputValue" }, { - "name": "graphDepth", + "name": "maxdepth", "description": null, "type": { "kind": "SCALAR", @@ -5451,7 +5335,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "FamilyProxy", + "name": "Task", "ofType": null, "__typename": "__Type" }, @@ -5462,8 +5346,8 @@ "__typename": "__Field" }, { - "name": "jobs", - "description": "Jobs.", + "name": "families", + "description": "Family definitions.", "args": [ { "name": "ids", @@ -5500,37 +5384,27 @@ "__typename": "__InputValue" }, { - "name": "states", + "name": "mindepth", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "Int", + "ofType": null, "__typename": "__Type" }, - "defaultValue": "[]", + "defaultValue": "-1", "__typename": "__InputValue" }, { - "name": "exstates", + "name": "maxdepth", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "Int", + "ofType": null, "__typename": "__Type" }, - "defaultValue": "[]", + "defaultValue": "-1", "__typename": "__InputValue" }, { @@ -5587,7 +5461,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Job", + "name": "Family", "ofType": null, "__typename": "__Type" }, @@ -5598,8 +5472,8 @@ "__typename": "__Field" }, { - "name": "edges", - "description": "Graph edges.", + "name": "taskProxies", + "description": "Task instances.", "args": [ { "name": "ids", @@ -5670,20 +5544,20 @@ "__typename": "__InputValue" }, { - "name": "sort", + "name": "isHeld", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "SortArgs", + "kind": "SCALAR", + "name": "Boolean", "ofType": null, "__typename": "__Type" }, - "defaultValue": "null", + "defaultValue": null, "__typename": "__InputValue" }, { - "name": "stripNull", - "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", + "name": "isQueued", + "description": null, "type": { "kind": "SCALAR", "name": "Boolean", @@ -5694,7 +5568,7 @@ "__typename": "__InputValue" }, { - "name": "deltaStore", + "name": "isRunahead", "description": null, "type": { "kind": "SCALAR", @@ -5702,35 +5576,112 @@ "ofType": null, "__typename": "__Type" }, - "defaultValue": "false", + "defaultValue": null, "__typename": "__InputValue" }, { - "name": "deltaType", + "name": "mindepth", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null, "__typename": "__Type" }, - "defaultValue": "\"added\"", + "defaultValue": "-1", "__typename": "__InputValue" - } - ], - "type": { - "kind": "OBJECT", - "name": "Edges", - "ofType": null, - "__typename": "__Type" + }, + { + "name": "maxdepth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "-1", + "__typename": "__InputValue" + }, + { + "name": "graphDepth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "-1", + "__typename": "__InputValue" + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "SortArgs", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "null", + "__typename": "__InputValue" + }, + { + "name": "stripNull", + "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "deltaStore", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "false", + "__typename": "__InputValue" + }, + { + "name": "deltaType", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "\"added\"", + "__typename": "__InputValue" + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TaskProxy", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" }, "isDeprecated": false, "deprecationReason": null, "__typename": "__Field" }, { - "name": "nodesEdges", - "description": "Graph nodes and edges.", + "name": "familyProxies", + "description": "Family instances.", "args": [ { "name": "ids", @@ -5837,7 +5788,7 @@ "__typename": "__InputValue" }, { - "name": "distance", + "name": "mindepth", "description": null, "type": { "kind": "SCALAR", @@ -5845,11 +5796,11 @@ "ofType": null, "__typename": "__Type" }, - "defaultValue": "1", + "defaultValue": "-1", "__typename": "__InputValue" }, { - "name": "mindepth", + "name": "maxdepth", "description": null, "type": { "kind": "SCALAR", @@ -5861,7 +5812,7 @@ "__typename": "__InputValue" }, { - "name": "maxdepth", + "name": "graphDepth", "description": null, "type": { "kind": "SCALAR", @@ -5922,23 +5873,14 @@ } ], "type": { - "kind": "OBJECT", - "name": "NodesEdges", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "apiVersion", - "description": "The Cylc scheduler communication protocol version number.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FamilyProxy", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, "isDeprecated": false, @@ -5946,13 +5888,135 @@ "__typename": "__Field" }, { - "name": "cylcVersion", - "description": "The Cylc version this workflow is running under.", - "args": [], + "name": "jobs", + "description": "Jobs.", + "args": [ + { + "name": "ids", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "exids", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "states", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "exstates", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "SortArgs", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "null", + "__typename": "__InputValue" + }, + { + "name": "stripNull", + "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "deltaStore", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "false", + "__typename": "__InputValue" + }, + { + "name": "deltaType", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "\"added\"", + "__typename": "__InputValue" + } + ], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Job", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, "isDeprecated": false, @@ -5960,152 +6024,46 @@ "__typename": "__Field" }, { - "name": "lastUpdated", - "description": "The time of the most recent state change in the workflow.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "meta", - "description": "The workflow's `[meta]` section.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "NodeMeta", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "newestActiveCyclePoint", - "description": "The newest cycle point which has active tasks.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "oldestActiveCyclePoint", - "description": "The oldest cycle point which has active tasks.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "reloaded", - "description": "When subscribing to workflow updates, this field is `True` if the\nupdate relates to a workflow reload.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "runMode", - "description": "The scheduler's run-mode e.g. `live`.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "isHeldTotal", - "description": "The number of \"held\" tasks.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "isQueuedTotal", - "description": "The number of queued tasks.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "isRunaheadTotal", - "description": "The number of tasks which are held back by the runahead limit.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "stateTotals", - "description": "The number of tasks in each state as a JSON object.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "GenericScalar", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "latestStateTasks", - "description": "The latest tasks to have entered each task state.", + "name": "edges", + "description": "Graph edges.", "args": [ + { + "name": "ids", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "exids", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, { "name": "states", - "description": "List of task states to show.", + "description": null, "type": { "kind": "LIST", "name": null, @@ -6117,13 +6075,78 @@ }, "__typename": "__Type" }, - "defaultValue": "[\"waiting\", \"expired\", \"preparing\", \"submit-failed\", \"submitted\", \"running\", \"failed\", \"succeeded\"]", + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "exstates", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "SortArgs", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "null", + "__typename": "__InputValue" + }, + { + "name": "stripNull", + "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "deltaStore", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "false", + "__typename": "__InputValue" + }, + { + "name": "deltaType", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "\"added\"", "__typename": "__InputValue" } ], "type": { - "kind": "SCALAR", - "name": "GenericScalar", + "kind": "OBJECT", + "name": "Edges", "ofType": null, "__typename": "__Type" }, @@ -6132,26 +6155,201 @@ "__typename": "__Field" }, { - "name": "workflowLogDir", - "description": "The path to the workflow's run directory.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "timeZoneInfo", - "description": "The scheduler time zone.", - "args": [], + "name": "nodesEdges", + "description": "Graph nodes and edges.", + "args": [ + { + "name": "ids", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "exids", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "states", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "exstates", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "isHeld", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "isQueued", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "isRunahead", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "distance", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "1", + "__typename": "__InputValue" + }, + { + "name": "mindepth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "-1", + "__typename": "__InputValue" + }, + { + "name": "maxdepth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "-1", + "__typename": "__InputValue" + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "SortArgs", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "null", + "__typename": "__InputValue" + }, + { + "name": "stripNull", + "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "deltaStore", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "false", + "__typename": "__InputValue" + }, + { + "name": "deltaType", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "\"added\"", + "__typename": "__InputValue" + } + ], "type": { "kind": "OBJECT", - "name": "TimeZone", + "name": "NodesEdges", "ofType": null, "__typename": "__Type" }, @@ -6160,8 +6358,8 @@ "__typename": "__Field" }, { - "name": "treeDepth", - "description": null, + "name": "apiVersion", + "description": "The Cylc scheduler communication protocol version number.", "args": [], "type": { "kind": "SCALAR", @@ -6174,18 +6372,13 @@ "__typename": "__Field" }, { - "name": "nsDefOrder", - "description": "Namespace definition order.\n\nThe order in which tasks were defined in the workflow\nconfiguration.", + "name": "cylcVersion", + "description": "The Cylc version this workflow is running under.", "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "String", + "ofType": null, "__typename": "__Type" }, "isDeprecated": false, @@ -6193,18 +6386,13 @@ "__typename": "__Field" }, { - "name": "jobLogNames", - "description": "Deprecated, do not use this.", + "name": "lastUpdated", + "description": "The time of the most recent state change in the workflow.", "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "Float", + "ofType": null, "__typename": "__Type" }, "isDeprecated": false, @@ -6212,18 +6400,13 @@ "__typename": "__Field" }, { - "name": "states", - "description": "The task states present in the workflow.\n\nSimilar to stateTotals.", + "name": "meta", + "description": "The workflow's `[meta]` section.", "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, + "kind": "OBJECT", + "name": "NodeMeta", + "ofType": null, "__typename": "__Type" }, "isDeprecated": false, @@ -6231,30 +6414,12 @@ "__typename": "__Field" }, { - "name": "broadcasts", - "description": "Any active workflow broadcasts.", - "args": [ - { - "name": "ids", - "description": "Node IDs, cycle point and/or-just family/task namespace.\n\nE.g: `[\"1234/foo\", \"1234/FAM\", \"*/FAM\"]`", - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - } - ], + "name": "newestActiveCyclePoint", + "description": "The newest cycle point which has active tasks.", + "args": [], "type": { "kind": "SCALAR", - "name": "GenericScalar", + "name": "String", "ofType": null, "__typename": "__Type" }, @@ -6263,12 +6428,12 @@ "__typename": "__Field" }, { - "name": "pruned", - "description": null, + "name": "oldestActiveCyclePoint", + "description": "The oldest cycle point which has active tasks.", "args": [], "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null, "__typename": "__Type" }, @@ -6277,12 +6442,12 @@ "__typename": "__Field" }, { - "name": "nEdgeDistance", - "description": "The maximum graph distance (n) from an active node\nof the data-store graph window.", + "name": "reloaded", + "description": "When subscribing to workflow updates, this field is `True` if the\nupdate relates to a workflow reload.", "args": [], "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null, "__typename": "__Type" }, @@ -6291,76 +6456,68 @@ "__typename": "__Field" }, { - "name": "logRecords", - "description": "Scheduler log messages of level WARNING and above.\n\nWarning: This is an incrementally updated field. Each update\ncontains a list of **new** log messages, not a list of all\nmessages. It is down to the client to store / preserve previous\nrecords.", + "name": "runMode", + "description": "The scheduler's run-mode e.g. `live`.", "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "LogRecord", - "ofType": null, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "String", + "ofType": null, "__typename": "__Type" }, "isDeprecated": false, "deprecationReason": null, "__typename": "__Field" - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null, - "__typename": "__Type" - }, - { - "kind": "SCALAR", - "name": "ID", - "description": "The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null, - "__typename": "__Type" - }, - { - "kind": "SCALAR", - "name": "String", - "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null, - "__typename": "__Type" - }, - { - "kind": "SCALAR", - "name": "Int", - "description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null, - "__typename": "__Type" - }, - { - "kind": "OBJECT", - "name": "Task", - "description": "Task definitions.\n\nThese are the task \"definitions\" as they appear in the\nconfiguration as opposed to task \"instances\" which you will find\nin the `TaskProxies` field.", - "fields": [ + }, { - "name": "id", - "description": null, + "name": "isHeldTotal", + "description": "The number of \"held\" tasks.\n\nDeprecated: Use `contains_held`.", "args": [], "type": { "kind": "SCALAR", - "name": "ID", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": true, + "deprecationReason": "unused", + "__typename": "__Field" + }, + { + "name": "isQueuedTotal", + "description": "The number of queued tasks.\n\nDeprecated: No replacement.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": true, + "deprecationReason": "unused", + "__typename": "__Field" + }, + { + "name": "isRunaheadTotal", + "description": "The number of tasks which are held back by the runahead limit.\n\nDeprecated: No replacement.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": true, + "deprecationReason": "unused", + "__typename": "__Field" + }, + { + "name": "containsHeld", + "description": "True if the n=0 window contains any held tasks.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Boolean", "ofType": null, "__typename": "__Type" }, @@ -6369,12 +6526,12 @@ "__typename": "__Field" }, { - "name": "name", - "description": "The task name.", + "name": "containsRetry", + "description": "True if the n=0 window contains any tasks waiting automatic retry.", "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null, "__typename": "__Type" }, @@ -6383,12 +6540,12 @@ "__typename": "__Field" }, { - "name": "meta", - "description": "The task's `[meta]` section.", + "name": "stateTotals", + "description": "The number of n=0 tasks in each state as a JSON object.", "args": [], "type": { - "kind": "OBJECT", - "name": "NodeMeta", + "kind": "SCALAR", + "name": "GenericScalar", "ofType": null, "__typename": "__Type" }, @@ -6397,12 +6554,30 @@ "__typename": "__Field" }, { - "name": "runtime", - "description": "The task's `[runtime]` section.", - "args": [], + "name": "latestStateTasks", + "description": "The latest tasks to have entered each task state.", + "args": [ + { + "name": "states", + "description": "List of task states to show.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[\"waiting\", \"expired\", \"preparing\", \"submit-failed\", \"submitted\", \"running\", \"failed\", \"succeeded\"]", + "__typename": "__InputValue" + } + ], "type": { - "kind": "OBJECT", - "name": "Runtime", + "kind": "SCALAR", + "name": "GenericScalar", "ofType": null, "__typename": "__Type" }, @@ -6411,12 +6586,12 @@ "__typename": "__Field" }, { - "name": "meanElapsedTime", - "description": "The task's average runtime.", + "name": "workflowLogDir", + "description": "The path to the workflow's run directory.", "args": [], "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "ofType": null, "__typename": "__Type" }, @@ -6425,8 +6600,22 @@ "__typename": "__Field" }, { - "name": "depth", - "description": "The family inheritance depth.", + "name": "timeZoneInfo", + "description": "The scheduler time zone.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "TimeZone", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "treeDepth", + "description": null, "args": [], "type": { "kind": "SCALAR", @@ -6439,12 +6628,69 @@ "__typename": "__Field" }, { - "name": "proxies", - "description": "Associated cycle point proxies", + "name": "nsDefOrder", + "description": "Namespace definition order.\n\nThe order in which tasks were defined in the workflow\nconfiguration.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "jobLogNames", + "description": "Deprecated, do not use this.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "states", + "description": "The task states present in the workflow.\n\nSimilar to stateTotals.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "broadcasts", + "description": "Any active workflow broadcasts.", "args": [ { "name": "ids", - "description": null, + "description": "Node IDs, cycle point and/or-just family/task namespace.\n\nE.g: `[\"1234/foo\", \"1234/FAM\", \"*/FAM\"]`", "type": { "kind": "LIST", "name": null, @@ -6458,9 +6704,200 @@ }, "defaultValue": "[]", "__typename": "__InputValue" - }, + } + ], + "type": { + "kind": "SCALAR", + "name": "GenericScalar", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "pruned", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "nEdgeDistance", + "description": "The maximum graph distance (n) from an active node\nof the data-store graph window.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "logRecords", + "description": "Scheduler log messages of level WARNING and above.\n\nWarning: This is an incrementally updated field. Each update\ncontains a list of **new** log messages, not a list of all\nmessages. It is down to the client to store / preserve previous\nrecords.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "LogRecord", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null, + "__typename": "__Type" + }, + { + "kind": "SCALAR", + "name": "ID", + "description": "The `ID` scalar type represents a unique identifier, often used to refetch an object or as key for a cache. The ID type appears in a JSON response as a String; however, it is not intended to be human-readable. When expected as an input type, any string (such as `\"4\"`) or integer (such as `4`) input value will be accepted as an ID.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null, + "__typename": "__Type" + }, + { + "kind": "SCALAR", + "name": "String", + "description": "The `String` scalar type represents textual data, represented as UTF-8 character sequences. The String type is most often used by GraphQL to represent free-form human-readable text.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null, + "__typename": "__Type" + }, + { + "kind": "SCALAR", + "name": "Int", + "description": "The `Int` scalar type represents non-fractional signed whole numeric values. Int can represent values between -(2^31) and 2^31 - 1.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null, + "__typename": "__Type" + }, + { + "kind": "OBJECT", + "name": "Task", + "description": "Task definitions.\n\nThese are the task \"definitions\" as they appear in the\nconfiguration as opposed to task \"instances\" which you will find\nin the `TaskProxies` field.", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "name", + "description": "The task name.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "meta", + "description": "The task's `[meta]` section.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "NodeMeta", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "runtime", + "description": "The task's `[runtime]` section.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Runtime", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "meanElapsedTime", + "description": "The task's average runtime.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "depth", + "description": "The family inheritance depth.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "parents", + "description": "Family definition parent.", + "args": [ { - "name": "exids", + "name": "ids", "description": null, "type": { "kind": "LIST", @@ -6477,14 +6914,14 @@ "__typename": "__InputValue" }, { - "name": "states", + "name": "exids", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null, "__typename": "__Type" }, @@ -6494,49 +6931,44 @@ "__typename": "__InputValue" }, { - "name": "exstates", + "name": "mindepth", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "Int", + "ofType": null, "__typename": "__Type" }, - "defaultValue": "[]", + "defaultValue": "-1", "__typename": "__InputValue" }, { - "name": "isHeld", + "name": "maxdepth", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null, "__typename": "__Type" }, - "defaultValue": null, + "defaultValue": "-1", "__typename": "__InputValue" }, { - "name": "isQueued", + "name": "sort", "description": null, "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "INPUT_OBJECT", + "name": "SortArgs", "ofType": null, "__typename": "__Type" }, - "defaultValue": null, + "defaultValue": "null", "__typename": "__InputValue" }, { - "name": "isRunahead", - "description": null, + "name": "stripNull", + "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", "type": { "kind": "SCALAR", "name": "Boolean", @@ -6547,224 +6979,38 @@ "__typename": "__InputValue" }, { - "name": "mindepth", + "name": "deltaStore", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null, "__typename": "__Type" }, - "defaultValue": "-1", + "defaultValue": "false", "__typename": "__InputValue" }, { - "name": "maxdepth", + "name": "deltaType", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null, "__typename": "__Type" }, - "defaultValue": "-1", + "defaultValue": "\"added\"", "__typename": "__InputValue" - }, - { - "name": "graphDepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "sort", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "SortArgs", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "null", - "__typename": "__InputValue" - }, - { - "name": "stripNull", - "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "deltaStore", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "false", - "__typename": "__InputValue" - }, - { - "name": "deltaType", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "\"added\"", - "__typename": "__InputValue" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TaskProxy", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "parents", - "description": "Family definition parent.", - "args": [ - { - "name": "ids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "exids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "mindepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "maxdepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "sort", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "SortArgs", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "null", - "__typename": "__InputValue" - }, - { - "name": "stripNull", - "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "deltaStore", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "false", - "__typename": "__InputValue" - }, - { - "name": "deltaType", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "\"added\"", - "__typename": "__InputValue" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Family", - "ofType": null, - "__typename": "__Type" + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Family", + "ofType": null, + "__typename": "__Type" }, "__typename": "__Type" }, @@ -7278,7 +7524,7 @@ }, { "name": "Simulation", - "description": "Simulates job submission with configurable exection time and succeeded/failed outcomes (but does not submit real jobs).", + "description": "Simulates job submission with configurable execution time and succeeded/failed outcomes (but does not submit real jobs).", "isDeprecated": false, "deprecationReason": null, "__typename": "__EnumValue" @@ -7314,8 +7560,8 @@ }, { "kind": "OBJECT", - "name": "TaskProxy", - "description": "Task cycle instance.", + "name": "Family", + "description": "Task definition, static fields.", "fields": [ { "name": "id", @@ -7332,49 +7578,12 @@ "__typename": "__Field" }, { - "name": "task", - "description": "The task definition relating to this task instance.", - "args": [ - { - "name": "stripNull", - "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "deltaStore", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "false", - "__typename": "__InputValue" - }, - { - "name": "deltaType", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "\"added\"", - "__typename": "__InputValue" - } - ], + "name": "name", + "description": null, + "args": [], "type": { - "kind": "OBJECT", - "name": "Task", + "kind": "SCALAR", + "name": "String", "ofType": null, "__typename": "__Type" }, @@ -7383,12 +7592,12 @@ "__typename": "__Field" }, { - "name": "runtime", - "description": "This task's `[runtime]` section.", + "name": "meta", + "description": null, "args": [], "type": { "kind": "OBJECT", - "name": "Runtime", + "name": "NodeMeta", "ofType": null, "__typename": "__Type" }, @@ -7397,171 +7606,12 @@ "__typename": "__Field" }, { - "name": "state", - "description": "The task state e.g. `running`.", + "name": "runtime", + "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "name", - "description": "The task's name.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "cyclePoint", - "description": "The task's cycle point.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "namespace", - "description": "The inheritance order for this task.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "isHeld", - "description": "True if this task is \"held\".", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "isQueued", - "description": "True if this task is \"queued\".\n\nThis relates to Cylc's internal task queues, not a job runner\nqueue.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "isRunahead", - "description": "True if this task is held back by the \"runahead limit\".", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "isRetry", - "description": "True if this task has a scheduled retry.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "isWallclock", - "description": "True if this task has an unsatisfied wallclock trigger.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "isXtriggered", - "description": "True if this task has an unsatisfied xtrigger (excluding retry and wallclock xtriggers).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "flowNums", - "description": "The flows this task instance belongs to.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "flowWait", - "description": "True if this task will wait for an approaching flow before spawning\noutputs downstream.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", + "kind": "OBJECT", + "name": "Runtime", "ofType": null, "__typename": "__Type" }, @@ -7571,35 +7621,7 @@ }, { "name": "depth", - "description": "The family inheritance depth.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "graphDepth", - "description": "The n-window graph edge depth from closet active task(s).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "jobSubmits", - "description": "The number of job submissions for this task instance.", + "description": null, "args": [], "type": { "kind": "SCALAR", @@ -7612,40 +7634,45 @@ "__typename": "__Field" }, { - "name": "outputs", - "description": "Outputs this task instance has generated.", + "name": "parents", + "description": "Families that this family directly inherits from.", "args": [ { - "name": "sort", + "name": "ids", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "SortArgs", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, - "defaultValue": "null", + "defaultValue": "[]", "__typename": "__InputValue" }, { - "name": "sortOrder", + "name": "exids", "description": null, "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "String", + "name": "ID", "ofType": null, "__typename": "__Type" }, "__typename": "__Type" }, - "defaultValue": "[\"expired\", \"submitted\", \"submit-failed\", \"started\", \"succeeded\", \"failed\"]", + "defaultValue": "[]", "__typename": "__InputValue" }, { - "name": "limit", + "name": "mindepth", "description": null, "type": { "kind": "SCALAR", @@ -7653,41 +7680,21 @@ "ofType": null, "__typename": "__Type" }, - "defaultValue": "0", + "defaultValue": "-1", "__typename": "__InputValue" }, { - "name": "satisfied", + "name": "maxdepth", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null, "__typename": "__Type" }, - "defaultValue": null, + "defaultValue": "-1", "__typename": "__InputValue" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Output", - "ofType": null, - "__typename": "__Type" }, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "externalTriggers", - "description": "Task external trigger prerequisites.", - "args": [ { "name": "sort", "description": null, @@ -7701,37 +7708,8 @@ "__typename": "__InputValue" }, { - "name": "sortOrder", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "limit", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "0", - "__typename": "__InputValue" - }, - { - "name": "satisfied", - "description": null, + "name": "stripNull", + "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", "type": { "kind": "SCALAR", "name": "Boolean", @@ -7740,78 +7718,29 @@ }, "defaultValue": null, "__typename": "__InputValue" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "XTrigger", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "xtriggers", - "description": "Task xtrigger prerequisites.", - "args": [ - { - "name": "sort", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "SortArgs", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "null", - "__typename": "__InputValue" - }, - { - "name": "sortOrder", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" }, { - "name": "limit", + "name": "deltaStore", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null, "__typename": "__Type" }, - "defaultValue": "0", + "defaultValue": "false", "__typename": "__InputValue" }, { - "name": "satisfied", + "name": "deltaType", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null, "__typename": "__Type" }, - "defaultValue": null, + "defaultValue": "\"added\"", "__typename": "__InputValue" } ], @@ -7820,40 +7749,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "XTrigger", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "extras", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "GenericScalar", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "prerequisites", - "description": "The prerequisites of this task.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Prerequisite", + "name": "Family", "ofType": null, "__typename": "__Type" }, @@ -7864,8 +7760,8 @@ "__typename": "__Field" }, { - "name": "jobs", - "description": "Jobs.", + "name": "childTasks", + "description": "Tasks that inherit from this family.", "args": [ { "name": "ids", @@ -7902,37 +7798,27 @@ "__typename": "__InputValue" }, { - "name": "states", + "name": "mindepth", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "Int", + "ofType": null, "__typename": "__Type" }, - "defaultValue": "[]", + "defaultValue": "-1", "__typename": "__InputValue" }, { - "name": "exstates", + "name": "maxdepth", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "Int", + "ofType": null, "__typename": "__Type" }, - "defaultValue": "[]", + "defaultValue": "-1", "__typename": "__InputValue" }, { @@ -7989,7 +7875,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "Job", + "name": "Task", "ofType": null, "__typename": "__Type" }, @@ -8000,8 +7886,8 @@ "__typename": "__Field" }, { - "name": "parents", - "description": "Task parents (i.e. families).", + "name": "childFamilies", + "description": "Families that inherit from this family.", "args": [ { "name": "ids", @@ -8037,76 +7923,6 @@ "defaultValue": "[]", "__typename": "__InputValue" }, - { - "name": "states", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "exstates", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "isHeld", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isQueued", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isRunahead", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, { "name": "mindepth", "description": null, @@ -8131,18 +7947,6 @@ "defaultValue": "-1", "__typename": "__InputValue" }, - { - "name": "graphDepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, { "name": "sort", "description": null, @@ -8197,7 +8001,7 @@ "name": null, "ofType": { "kind": "OBJECT", - "name": "FamilyProxy", + "name": "Family", "ofType": null, "__typename": "__Type" }, @@ -8209,91 +8013,11 @@ }, { "name": "firstParent", - "description": "The task's first parent (i.e. its containing family).", + "description": "Family first parent.", "args": [ { - "name": "ids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "exids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "states", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "exstates", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "isHeld", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isQueued", - "description": null, + "name": "stripNull", + "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", "type": { "kind": "SCALAR", "name": "Boolean", @@ -8304,7 +8028,7 @@ "__typename": "__InputValue" }, { - "name": "isRunahead", + "name": "deltaStore", "description": null, "type": { "kind": "SCALAR", @@ -8312,57 +8036,114 @@ "ofType": null, "__typename": "__Type" }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "mindepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "maxdepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", + "defaultValue": "false", "__typename": "__InputValue" }, { - "name": "graphDepth", + "name": "deltaType", "description": null, "type": { "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "sort", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "SortArgs", + "name": "String", "ofType": null, "__typename": "__Type" }, - "defaultValue": "null", + "defaultValue": "\"added\"", "__typename": "__InputValue" + } + ], + "type": { + "kind": "OBJECT", + "name": "Family", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null, + "__typename": "__Type" + }, + { + "kind": "INPUT_OBJECT", + "name": "SortArgs", + "description": null, + "fields": null, + "inputFields": [ + { + "name": "keys", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" }, + "__typename": "__Type" + }, + "defaultValue": "[\"id\"]", + "__typename": "__InputValue" + }, + { + "name": "reverse", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "false", + "__typename": "__InputValue" + } + ], + "interfaces": null, + "enumValues": null, + "possibleTypes": null, + "__typename": "__Type" + }, + { + "kind": "SCALAR", + "name": "Boolean", + "description": "The `Boolean` scalar type represents `true` or `false`.", + "fields": null, + "inputFields": null, + "interfaces": null, + "enumValues": null, + "possibleTypes": null, + "__typename": "__Type" + }, + { + "kind": "OBJECT", + "name": "TaskProxy", + "description": "Task cycle instance.", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "task", + "description": "The task definition relating to this task instance.", + "args": [ { "name": "stripNull", "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", @@ -8402,7 +8183,7 @@ ], "type": { "kind": "OBJECT", - "name": "FamilyProxy", + "name": "Task", "ofType": null, "__typename": "__Type" }, @@ -8411,243 +8192,12 @@ "__typename": "__Field" }, { - "name": "ancestors", - "description": "First parent ancestors (i.e. inheritance hierarchy).", - "args": [ - { - "name": "ids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "exids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "states", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "exstates", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "isHeld", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isQueued", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isRunahead", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "mindepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "maxdepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "graphDepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "sort", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "SortArgs", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "null", - "__typename": "__InputValue" - }, - { - "name": "stripNull", - "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "deltaStore", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "false", - "__typename": "__InputValue" - }, - { - "name": "deltaType", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "\"added\"", - "__typename": "__InputValue" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FamilyProxy", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null, - "__typename": "__Type" - }, - { - "kind": "SCALAR", - "name": "Boolean", - "description": "The `Boolean` scalar type represents `true` or `false`.", - "fields": null, - "inputFields": null, - "interfaces": null, - "enumValues": null, - "possibleTypes": null, - "__typename": "__Type" - }, - { - "kind": "OBJECT", - "name": "Output", - "description": "Task output.", - "fields": [ - { - "name": "label", - "description": null, + "name": "runtime", + "description": "This task's `[runtime]` section.", "args": [], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "Runtime", "ofType": null, "__typename": "__Type" }, @@ -8656,8 +8206,8 @@ "__typename": "__Field" }, { - "name": "message", - "description": null, + "name": "state", + "description": "The task state e.g. `running`.", "args": [], "type": { "kind": "SCALAR", @@ -8670,12 +8220,12 @@ "__typename": "__Field" }, { - "name": "satisfied", - "description": null, + "name": "name", + "description": "The task's name.", "args": [], "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null, "__typename": "__Type" }, @@ -8684,35 +8234,23 @@ "__typename": "__Field" }, { - "name": "time", - "description": null, + "name": "cyclePoint", + "description": "The task's cycle point.", "args": [], "type": { "kind": "SCALAR", - "name": "Float", + "name": "String", "ofType": null, "__typename": "__Type" }, "isDeprecated": false, "deprecationReason": null, "__typename": "__Field" - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null, - "__typename": "__Type" - }, - { - "kind": "INPUT_OBJECT", - "name": "SortArgs", - "description": null, - "fields": null, - "inputFields": [ + }, { - "name": "keys", - "description": null, + "name": "namespace", + "description": "The inheritance order for this task.", + "args": [], "type": { "kind": "LIST", "name": null, @@ -8724,39 +8262,31 @@ }, "__typename": "__Type" }, - "defaultValue": "[\"id\"]", - "__typename": "__InputValue" + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" }, { - "name": "reverse", - "description": null, + "name": "isHeld", + "description": "True if this task is \"held\".", + "args": [], "type": { "kind": "SCALAR", "name": "Boolean", "ofType": null, "__typename": "__Type" }, - "defaultValue": "false", - "__typename": "__InputValue" - } - ], - "interfaces": null, - "enumValues": null, - "possibleTypes": null, - "__typename": "__Type" - }, - { - "kind": "OBJECT", - "name": "XTrigger", - "description": "Task trigger.", - "fields": [ + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, { - "name": "id", - "description": null, + "name": "isQueued", + "description": "True if this task is \"queued\".\n\nThis relates to Cylc's internal task queues, not a job runner\nqueue.", "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null, "__typename": "__Type" }, @@ -8765,12 +8295,12 @@ "__typename": "__Field" }, { - "name": "label", - "description": null, + "name": "isRunahead", + "description": "True if this task is held back by the \"runahead limit\".", "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null, "__typename": "__Type" }, @@ -8779,12 +8309,12 @@ "__typename": "__Field" }, { - "name": "message", - "description": null, + "name": "isRetry", + "description": "True if this task has a scheduled retry.", "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null, "__typename": "__Type" }, @@ -8793,8 +8323,8 @@ "__typename": "__Field" }, { - "name": "satisfied", - "description": null, + "name": "isWallclock", + "description": "True if this task has an unsatisfied wallclock trigger.", "args": [], "type": { "kind": "SCALAR", @@ -8807,34 +8337,22 @@ "__typename": "__Field" }, { - "name": "time", - "description": null, + "name": "isXtriggered", + "description": "True if this task has an unsatisfied xtrigger (excluding retry and wallclock xtriggers).", "args": [], "type": { "kind": "SCALAR", - "name": "Float", + "name": "Boolean", "ofType": null, "__typename": "__Type" }, "isDeprecated": false, "deprecationReason": null, "__typename": "__Field" - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null, - "__typename": "__Type" - }, - { - "kind": "OBJECT", - "name": "Prerequisite", - "description": "Task prerequisite.", - "fields": [ + }, { - "name": "expression", - "description": null, + "name": "flowNums", + "description": "The flows this task instance belongs to.", "args": [], "type": { "kind": "SCALAR", @@ -8847,18 +8365,13 @@ "__typename": "__Field" }, { - "name": "conditions", - "description": "Condition monomers of a task prerequisites.", + "name": "flowWait", + "description": "True if this task will wait for an approaching flow before spawning\noutputs downstream.", "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Condition", - "ofType": null, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, "__typename": "__Type" }, "isDeprecated": false, @@ -8866,18 +8379,13 @@ "__typename": "__Field" }, { - "name": "cyclePoints", - "description": null, + "name": "depth", + "description": "The family inheritance depth.", "args": [], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "Int", + "ofType": null, "__typename": "__Type" }, "isDeprecated": false, @@ -8885,38 +8393,26 @@ "__typename": "__Field" }, { - "name": "satisfied", - "description": null, + "name": "graphDepth", + "description": "The n-window graph edge depth from closet active task(s).", "args": [], "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null, "__typename": "__Type" }, "isDeprecated": false, "deprecationReason": null, "__typename": "__Field" - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null, - "__typename": "__Type" - }, - { - "kind": "OBJECT", - "name": "Condition", - "description": "Prerequisite conditions.", - "fields": [ + }, { - "name": "taskId", - "description": null, + "name": "jobSubmits", + "description": "The number of job submissions for this task instance.", "args": [], "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null, "__typename": "__Type" }, @@ -8925,9 +8421,549 @@ "__typename": "__Field" }, { - "name": "taskProxy", - "description": "Associated Task Proxy.", + "name": "outputs", + "description": "Outputs this task instance has generated.", + "args": [ + { + "name": "sort", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "SortArgs", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "null", + "__typename": "__InputValue" + }, + { + "name": "sortOrder", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[\"expired\", \"submitted\", \"submit-failed\", \"started\", \"succeeded\", \"failed\"]", + "__typename": "__InputValue" + }, + { + "name": "limit", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "0", + "__typename": "__InputValue" + }, + { + "name": "satisfied", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Output", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "externalTriggers", + "description": "Task external trigger prerequisites.", "args": [ + { + "name": "sort", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "SortArgs", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "null", + "__typename": "__InputValue" + }, + { + "name": "sortOrder", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "limit", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "0", + "__typename": "__InputValue" + }, + { + "name": "satisfied", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "XTrigger", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "xtriggers", + "description": "Task xtrigger prerequisites.", + "args": [ + { + "name": "sort", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "SortArgs", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "null", + "__typename": "__InputValue" + }, + { + "name": "sortOrder", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "limit", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "0", + "__typename": "__InputValue" + }, + { + "name": "satisfied", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "XTrigger", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "extras", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "GenericScalar", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "prerequisites", + "description": "The prerequisites of this task.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Prerequisite", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "jobs", + "description": "Jobs.", + "args": [ + { + "name": "ids", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "exids", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "states", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "exstates", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "SortArgs", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "null", + "__typename": "__InputValue" + }, + { + "name": "stripNull", + "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "deltaStore", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "false", + "__typename": "__InputValue" + }, + { + "name": "deltaType", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "\"added\"", + "__typename": "__InputValue" + } + ], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Job", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "parents", + "description": "Task parents (i.e. families).", + "args": [ + { + "name": "ids", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "exids", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "states", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "exstates", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "isHeld", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "isQueued", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "isRunahead", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "mindepth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "-1", + "__typename": "__InputValue" + }, + { + "name": "maxdepth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "-1", + "__typename": "__InputValue" + }, + { + "name": "graphDepth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "-1", + "__typename": "__InputValue" + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "SortArgs", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "null", + "__typename": "__InputValue" + }, { "name": "stripNull", "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", @@ -8966,147 +9002,14 @@ } ], "type": { - "kind": "OBJECT", - "name": "TaskProxy", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "exprAlias", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "reqState", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "satisfied", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "message", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null, - "__typename": "__Type" - }, - { - "kind": "OBJECT", - "name": "Job", - "description": "Jobs.", - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "submitNum", - "description": "The submission number for this job, starts at 1.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "state", - "description": "The job state e.g. `running` or `succeeded`.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "name", - "description": "The name of the task which submitted this job.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "cyclePoint", - "description": "The cycle of the task which submitted this job.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FamilyProxy", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, "isDeprecated": false, @@ -9114,12 +9017,92 @@ "__typename": "__Field" }, { - "name": "taskProxy", - "description": "The TaskProxy of the task which submitted this job.", + "name": "firstParent", + "description": "The task's first parent (i.e. its containing family).", "args": [ { - "name": "stripNull", - "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", + "name": "ids", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "exids", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "states", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "exstates", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "isHeld", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "isQueued", + "description": null, "type": { "kind": "SCALAR", "name": "Boolean", @@ -9130,7 +9113,7 @@ "__typename": "__InputValue" }, { - "name": "deltaStore", + "name": "isRunahead", "description": null, "type": { "kind": "SCALAR", @@ -9138,224 +9121,97 @@ "ofType": null, "__typename": "__Type" }, - "defaultValue": "false", + "defaultValue": null, "__typename": "__InputValue" }, { - "name": "deltaType", + "name": "mindepth", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null, "__typename": "__Type" }, - "defaultValue": "\"added\"", + "defaultValue": "-1", "__typename": "__InputValue" - } - ], - "type": { - "kind": "OBJECT", - "name": "TaskProxy", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "submittedTime", - "description": "The time this job was submitted to the job runner.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "startedTime", - "description": "The time this job started running (if it has yet).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "finishedTime", - "description": "The time this job finished running (if it has yet).", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "jobId", - "description": "The ID of this job in the job runner it was submitted to.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "jobRunnerName", - "description": "The job runner this job was submitted to.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "executionTimeLimit", - "description": "The time limit for this job if configured.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Float", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "platform", - "description": "The Cylc platform this job was submitted to.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "jobLogDir", - "description": "The path to the job's log directory.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "messages", - "description": "The list of task messages generated by this job.", - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" }, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "runtime", - "description": "The `[runtime]` configuration of the task which submitted this job.", - "args": [], - "type": { - "kind": "OBJECT", - "name": "Runtime", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null, - "__typename": "__Type" - }, - { - "kind": "OBJECT", - "name": "FamilyProxy", - "description": "Family composite.", - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "cyclePoint", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "name", - "description": null, - "args": [], + { + "name": "maxdepth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "-1", + "__typename": "__InputValue" + }, + { + "name": "graphDepth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "-1", + "__typename": "__InputValue" + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "SortArgs", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "null", + "__typename": "__InputValue" + }, + { + "name": "stripNull", + "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "deltaStore", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "false", + "__typename": "__InputValue" + }, + { + "name": "deltaType", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "\"added\"", + "__typename": "__InputValue" + } + ], "type": { - "kind": "SCALAR", - "name": "String", + "kind": "OBJECT", + "name": "FamilyProxy", "ofType": null, "__typename": "__Type" }, @@ -9364,9 +9220,161 @@ "__typename": "__Field" }, { - "name": "family", - "description": "Family definition.", + "name": "ancestors", + "description": "First parent ancestors (i.e. inheritance hierarchy).", "args": [ + { + "name": "ids", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "exids", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "states", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "exstates", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "isHeld", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "isQueued", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "isRunahead", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "mindepth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "-1", + "__typename": "__InputValue" + }, + { + "name": "maxdepth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "-1", + "__typename": "__InputValue" + }, + { + "name": "graphDepth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "-1", + "__typename": "__InputValue" + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "SortArgs", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "null", + "__typename": "__InputValue" + }, { "name": "stripNull", "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", @@ -9405,22 +9413,39 @@ } ], "type": { - "kind": "OBJECT", - "name": "Family", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FamilyProxy", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, "isDeprecated": false, "deprecationReason": null, "__typename": "__Field" - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null, + "__typename": "__Type" + }, + { + "kind": "OBJECT", + "name": "Output", + "description": "Task output.", + "fields": [ { - "name": "runtime", + "name": "label", "description": null, "args": [], "type": { - "kind": "OBJECT", - "name": "Runtime", + "kind": "SCALAR", + "name": "String", "ofType": null, "__typename": "__Type" }, @@ -9429,7 +9454,7 @@ "__typename": "__Field" }, { - "name": "state", + "name": "message", "description": null, "args": [], "type": { @@ -9443,31 +9468,12 @@ "__typename": "__Field" }, { - "name": "states", - "description": null, - "args": [], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "stateTotals", + "name": "satisfied", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "GenericScalar", + "name": "Boolean", "ofType": null, "__typename": "__Type" }, @@ -9476,26 +9482,38 @@ "__typename": "__Field" }, { - "name": "isHeld", + "name": "time", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Float", "ofType": null, "__typename": "__Type" }, "isDeprecated": false, "deprecationReason": null, "__typename": "__Field" - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null, + "__typename": "__Type" + }, + { + "kind": "OBJECT", + "name": "XTrigger", + "description": "Task trigger.", + "fields": [ { - "name": "isHeldTotal", + "name": "id", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null, "__typename": "__Type" }, @@ -9504,12 +9522,12 @@ "__typename": "__Field" }, { - "name": "isQueued", + "name": "label", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null, "__typename": "__Type" }, @@ -9518,12 +9536,12 @@ "__typename": "__Field" }, { - "name": "isQueuedTotal", + "name": "message", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null, "__typename": "__Type" }, @@ -9532,7 +9550,7 @@ "__typename": "__Field" }, { - "name": "isRunahead", + "name": "satisfied", "description": null, "args": [], "type": { @@ -9546,26 +9564,38 @@ "__typename": "__Field" }, { - "name": "isRunaheadTotal", + "name": "time", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "Int", + "name": "Float", "ofType": null, "__typename": "__Type" }, "isDeprecated": false, "deprecationReason": null, "__typename": "__Field" - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null, + "__typename": "__Type" + }, + { + "kind": "OBJECT", + "name": "Prerequisite", + "description": "Task prerequisite.", + "fields": [ { - "name": "isRetry", - "description": "True if this family contains a task that has a scheduled retry.", + "name": "expression", + "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "String", "ofType": null, "__typename": "__Type" }, @@ -9574,13 +9604,18 @@ "__typename": "__Field" }, { - "name": "isWallclock", - "description": "True if this family contains a task that has an unsatisfied wallclock trigger.", + "name": "conditions", + "description": "Condition monomers of a task prerequisites.", "args": [], "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "Condition", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, "isDeprecated": false, @@ -9588,13 +9623,18 @@ "__typename": "__Field" }, { - "name": "isXtriggered", - "description": "True if this family contains a task that has an unsatisfied xtrigger (excluding retry and wallclock xtriggers).", + "name": "cyclePoints", + "description": null, "args": [], "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, "isDeprecated": false, @@ -9602,26 +9642,38 @@ "__typename": "__Field" }, { - "name": "depth", + "name": "satisfied", "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null, "__typename": "__Type" }, "isDeprecated": false, "deprecationReason": null, "__typename": "__Field" - }, + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null, + "__typename": "__Type" + }, + { + "kind": "OBJECT", + "name": "Condition", + "description": "Prerequisite conditions.", + "fields": [ { - "name": "graphDepth", - "description": "The n-window graph edge smallest child task/family depth\nfrom closet active task(s).", + "name": "taskId", + "description": null, "args": [], "type": { "kind": "SCALAR", - "name": "Int", + "name": "String", "ofType": null, "__typename": "__Type" }, @@ -9630,161 +9682,9 @@ "__typename": "__Field" }, { - "name": "childTasks", - "description": "Descendant task proxies.", - "args": [ - { - "name": "ids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "exids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "states", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "exstates", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "isHeld", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isQueued", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isRunahead", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "mindepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "maxdepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "graphDepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "sort", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "SortArgs", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "null", - "__typename": "__InputValue" - }, + "name": "taskProxy", + "description": "Associated Task Proxy.", + "args": [ { "name": "stripNull", "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", @@ -9823,14 +9723,9 @@ } ], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TaskProxy", - "ofType": null, - "__typename": "__Type" - }, + "kind": "OBJECT", + "name": "TaskProxy", + "ofType": null, "__typename": "__Type" }, "isDeprecated": false, @@ -9838,161 +9733,147 @@ "__typename": "__Field" }, { - "name": "childFamilies", - "description": "Descendant family proxies.", - "args": [ - { - "name": "ids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "exids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "states", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "exstates", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "isHeld", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isQueued", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isRunahead", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "mindepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "maxdepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "graphDepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "sort", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "SortArgs", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "null", - "__typename": "__InputValue" - }, + "name": "exprAlias", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "reqState", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "satisfied", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "message", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null, + "__typename": "__Type" + }, + { + "kind": "OBJECT", + "name": "Job", + "description": "Jobs.", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "submitNum", + "description": "The submission number for this job, starts at 1.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "state", + "description": "The job state e.g. `running` or `succeeded`.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "name", + "description": "The name of the task which submitted this job.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "cyclePoint", + "description": "The cycle of the task which submitted this job.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "taskProxy", + "description": "The TaskProxy of the task which submitted this job.", + "args": [ { "name": "stripNull", "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", @@ -10031,14 +9912,222 @@ } ], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FamilyProxy", - "ofType": null, - "__typename": "__Type" - }, + "kind": "OBJECT", + "name": "TaskProxy", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "submittedTime", + "description": "The time this job was submitted to the job runner.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "startedTime", + "description": "The time this job started running (if it has yet).", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "finishedTime", + "description": "The time this job finished running (if it has yet).", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "estimatedFinishTime", + "description": "The estimated time this job will finish, if applicable. This is based on the task's mean run time, or if not available, the execution time limit.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "jobId", + "description": "The ID of this job in the job runner it was submitted to.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "jobRunnerName", + "description": "The job runner this job was submitted to.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "executionTimeLimit", + "description": "The time limit for this job if configured.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Float", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "platform", + "description": "The Cylc platform this job was submitted to.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "jobLogDir", + "description": "The path to the job's log directory.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "messages", + "description": "The list of task messages generated by this job.", + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "runtime", + "description": "The `[runtime]` configuration of the task which submitted this job.", + "args": [], + "type": { + "kind": "OBJECT", + "name": "Runtime", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null, + "__typename": "__Type" + }, + { + "kind": "OBJECT", + "name": "FamilyProxy", + "description": "Family composite.", + "fields": [ + { + "name": "id", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "ID", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "cyclePoint", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "name", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, "__typename": "__Type" }, "isDeprecated": false, @@ -10046,161 +10135,9 @@ "__typename": "__Field" }, { - "name": "firstParent", - "description": "Task first parent.", + "name": "family", + "description": "Family definition.", "args": [ - { - "name": "ids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "exids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "states", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "exstates", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "isHeld", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isQueued", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isRunahead", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "mindepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "maxdepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "graphDepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "sort", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "SortArgs", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "null", - "__typename": "__InputValue" - }, { "name": "stripNull", "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", @@ -10239,8 +10176,97 @@ } ], "type": { - "kind": "OBJECT", - "name": "FamilyProxy", + "kind": "OBJECT", + "name": "Family", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "runtime", + "description": null, + "args": [], + "type": { + "kind": "OBJECT", + "name": "Runtime", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "state", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "states", + "description": null, + "args": [], + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "stateTotals", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "GenericScalar", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "isHeld", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "isHeldTotal", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", "ofType": null, "__typename": "__Type" }, @@ -10249,8 +10275,134 @@ "__typename": "__Field" }, { - "name": "ancestors", - "description": "First parent ancestors.", + "name": "isQueued", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "isQueuedTotal", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "isRunahead", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "isRunaheadTotal", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "isRetry", + "description": "True if this family contains a task that has a scheduled retry.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "isWallclock", + "description": "True if this family contains a task that has an unsatisfied wallclock trigger.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "isXtriggered", + "description": "True if this family contains a task that has an unsatisfied xtrigger (excluding retry and wallclock xtriggers).", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "depth", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "graphDepth", + "description": "The n-window graph edge smallest child task/family depth\nfrom closet active task(s).", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "childTasks", + "description": "Descendant task proxies.", "args": [ { "name": "ids", @@ -10415,123 +10567,41 @@ }, "defaultValue": null, "__typename": "__InputValue" - }, - { - "name": "deltaStore", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "false", - "__typename": "__InputValue" - }, - { - "name": "deltaType", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "\"added\"", - "__typename": "__InputValue" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "FamilyProxy", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - } - ], - "inputFields": null, - "interfaces": [], - "enumValues": null, - "possibleTypes": null, - "__typename": "__Type" - }, - { - "kind": "OBJECT", - "name": "Family", - "description": "Task definition, static fields.", - "fields": [ - { - "name": "id", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "name", - "description": null, - "args": [], - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "meta", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "NodeMeta", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "runtime", - "description": null, - "args": [], - "type": { - "kind": "OBJECT", - "name": "Runtime", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "depth", - "description": null, - "args": [], + }, + { + "name": "deltaStore", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "false", + "__typename": "__InputValue" + }, + { + "name": "deltaType", + "description": null, + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "\"added\"", + "__typename": "__InputValue" + } + ], "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "TaskProxy", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, "isDeprecated": false, @@ -10539,8 +10609,8 @@ "__typename": "__Field" }, { - "name": "proxies", - "description": "Associated family proxy instances.", + "name": "childFamilies", + "description": "Descendant family proxies.", "args": [ { "name": "ids", @@ -10747,8 +10817,8 @@ "__typename": "__Field" }, { - "name": "parents", - "description": "Families that this family directly inherits from.", + "name": "firstParent", + "description": "Task first parent.", "args": [ { "name": "ids", @@ -10785,44 +10855,42 @@ "__typename": "__InputValue" }, { - "name": "mindepth", + "name": "states", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, - "defaultValue": "-1", + "defaultValue": "[]", "__typename": "__InputValue" }, { - "name": "maxdepth", + "name": "exstates", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, - "defaultValue": "-1", + "defaultValue": "[]", "__typename": "__InputValue" }, { - "name": "sort", + "name": "isHeld", "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "SortArgs", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "null", - "__typename": "__InputValue" - }, - { - "name": "stripNull", - "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", "type": { "kind": "SCALAR", "name": "Boolean", @@ -10833,7 +10901,7 @@ "__typename": "__InputValue" }, { - "name": "deltaStore", + "name": "isQueued", "description": null, "type": { "kind": "SCALAR", @@ -10841,77 +10909,35 @@ "ofType": null, "__typename": "__Type" }, - "defaultValue": "false", + "defaultValue": null, "__typename": "__InputValue" }, { - "name": "deltaType", + "name": "isRunahead", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null, "__typename": "__Type" }, - "defaultValue": "\"added\"", - "__typename": "__InputValue" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Family", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "childTasks", - "description": "Tasks that inherit from this family.", - "args": [ - { - "name": "ids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", + "defaultValue": null, "__typename": "__InputValue" }, { - "name": "exids", + "name": "mindepth", "description": null, "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "Int", + "ofType": null, "__typename": "__Type" }, - "defaultValue": "[]", + "defaultValue": "-1", "__typename": "__InputValue" }, { - "name": "mindepth", + "name": "maxdepth", "description": null, "type": { "kind": "SCALAR", @@ -10923,7 +10949,7 @@ "__typename": "__InputValue" }, { - "name": "maxdepth", + "name": "graphDepth", "description": null, "type": { "kind": "SCALAR", @@ -10984,14 +11010,9 @@ } ], "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Task", - "ofType": null, - "__typename": "__Type" - }, + "kind": "OBJECT", + "name": "FamilyProxy", + "ofType": null, "__typename": "__Type" }, "isDeprecated": false, @@ -10999,8 +11020,8 @@ "__typename": "__Field" }, { - "name": "childFamilies", - "description": "Families that inherit from this family.", + "name": "ancestors", + "description": "First parent ancestors.", "args": [ { "name": "ids", @@ -11037,44 +11058,66 @@ "__typename": "__InputValue" }, { - "name": "mindepth", + "name": "states", "description": null, "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, - "defaultValue": "-1", + "defaultValue": "[]", "__typename": "__InputValue" }, { - "name": "maxdepth", + "name": "exstates", + "description": null, + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "isHeld", "description": null, "type": { "kind": "SCALAR", - "name": "Int", + "name": "Boolean", "ofType": null, "__typename": "__Type" }, - "defaultValue": "-1", + "defaultValue": null, "__typename": "__InputValue" }, { - "name": "sort", + "name": "isQueued", "description": null, "type": { - "kind": "INPUT_OBJECT", - "name": "SortArgs", + "kind": "SCALAR", + "name": "Boolean", "ofType": null, "__typename": "__Type" }, - "defaultValue": "null", + "defaultValue": null, "__typename": "__InputValue" }, { - "name": "stripNull", - "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", + "name": "isRunahead", + "description": null, "type": { "kind": "SCALAR", "name": "Boolean", @@ -11085,49 +11128,53 @@ "__typename": "__InputValue" }, { - "name": "deltaStore", + "name": "mindepth", "description": null, "type": { "kind": "SCALAR", - "name": "Boolean", + "name": "Int", "ofType": null, "__typename": "__Type" }, - "defaultValue": "false", + "defaultValue": "-1", "__typename": "__InputValue" }, { - "name": "deltaType", + "name": "maxdepth", "description": null, "type": { "kind": "SCALAR", - "name": "String", + "name": "Int", "ofType": null, "__typename": "__Type" }, - "defaultValue": "\"added\"", + "defaultValue": "-1", + "__typename": "__InputValue" + }, + { + "name": "graphDepth", + "description": null, + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "-1", + "__typename": "__InputValue" + }, + { + "name": "sort", + "description": null, + "type": { + "kind": "INPUT_OBJECT", + "name": "SortArgs", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "null", "__typename": "__InputValue" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "Family", - "ofType": null, - "__typename": "__Type" }, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "firstParent", - "description": "Family first parent.", - "args": [ { "name": "stripNull", "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", @@ -11166,9 +11213,14 @@ } ], "type": { - "kind": "OBJECT", - "name": "Family", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "OBJECT", + "name": "FamilyProxy", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, "isDeprecated": false, @@ -12003,6 +12055,20 @@ "deprecationReason": null, "__typename": "__Field" }, + { + "name": "estimatedFinishTime", + "description": "The estimated time this job will finish, if applicable. This is based on the task's mean run time, or if not available, the execution time limit.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, { "name": "jobId", "description": "The ID of this job in the job runner it was submitted to.", @@ -12229,223 +12295,15 @@ "isDeprecated": false, "deprecationReason": null, "__typename": "__Field" - }, - { - "name": "depth", - "description": "The family inheritance depth.", - "args": [], - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "proxies", - "description": "Associated cycle point proxies", - "args": [ - { - "name": "ids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "exids", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "ID", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "states", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "exstates", - "description": null, - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, - "defaultValue": "[]", - "__typename": "__InputValue" - }, - { - "name": "isHeld", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isQueued", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "isRunahead", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "mindepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "maxdepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "graphDepth", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Int", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "-1", - "__typename": "__InputValue" - }, - { - "name": "sort", - "description": null, - "type": { - "kind": "INPUT_OBJECT", - "name": "SortArgs", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "null", - "__typename": "__InputValue" - }, - { - "name": "stripNull", - "description": "A flag that when enabled strips out those fields not set in the protobuf object. And when this flag is disabled the default values of Protobuf fields are provided (boolean=false, list=[], string=\"\".", - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": null, - "__typename": "__InputValue" - }, - { - "name": "deltaStore", - "description": null, - "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "false", - "__typename": "__InputValue" - }, - { - "name": "deltaType", - "description": null, - "type": { - "kind": "SCALAR", - "name": "String", - "ofType": null, - "__typename": "__Type" - }, - "defaultValue": "\"added\"", - "__typename": "__InputValue" - } - ], - "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "OBJECT", - "name": "TaskProxy", - "ofType": null, - "__typename": "__Type" - }, + }, + { + "name": "depth", + "description": "The family inheritance depth.", + "args": [], + "type": { + "kind": "SCALAR", + "name": "Int", + "ofType": null, "__typename": "__Type" }, "isDeprecated": false, @@ -13345,7 +13203,7 @@ }, { "name": "setVerbosity", - "description": "Change the logging severity level of a running workflow.\n\nOnly messages at or above the chosen severity level will be logged.\nFor example, if you choose `WARNING`, only warning, error and\ncritical level messages will be logged.\n\nValid for: paused, running workflows.", + "description": "Change the logging severity level of a running workflow.\n\nOnly messages at or above the chosen severity level will be logged.\nFor example, if you choose `WARNING`, only warning, error and\ncritical level messages will be logged.\n\nValid for: paused, running, stopping workflows.", "args": [ { "name": "level", @@ -13784,42 +13642,274 @@ "__typename": "__InputValue" }, { - "name": "workflows", - "description": null, + "name": "workflows", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "WorkflowID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + } + ], + "type": { + "kind": "OBJECT", + "name": "Poll", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "release", + "description": "Release held tasks within a workflow.\n\nSee also the opposite command `hold`.\n\nValid for: paused, running workflows.", + "args": [ + { + "name": "tasks", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "NamespaceIDGlob", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "workflows", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "WorkflowID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + } + ], + "type": { + "kind": "OBJECT", + "name": "Release", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "remove", + "description": "Remove one or more task instances from a running workflow.\n\nValid for: paused, running, stopping workflows.", + "args": [ + { + "name": "flow", + "description": "\"Remove the tasks from the specified flows.\"\n\nThis should be a list of flow numbers.\nBy default, tasks will be removed from all flows.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Flow", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "noSpawn", + "description": "Remove the leading instance of a parentless task without\nspawning its next instance.\n\nThis only affects leading instances of parentless sequential\nxtriggered tasks and parentless tasks waiting at the\nrunahead-limit.\n\nWARNING: this is a low-level intervention that cuts tasks from\nthe future graph; it could cause your workflow to shut down\nprematurely as complete.\n\nIf `false` the scheduler will spawn the next task instance\nas normal (default).\n\nIf `true` the scheduler will not spawn the next task instance.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "false", + "__typename": "__InputValue" + }, + { + "name": "tasks", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "NamespaceIDGlob", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "workflows", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "WorkflowID", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + } + ], + "type": { + "kind": "OBJECT", + "name": "Remove", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "set", + "description": "Set task prerequisites or outputs.\n\nBy default, set all required outputs for target task(s) (including\n`submitted`, `started` and `succeeded` even if they are optional).\n\nSetting prerequisites contributes to the task's readiness to run.\n\nSetting outputs contributes to the task's completion, sets the\ncorresponding prerequisites of child tasks, and sets any implied\noutputs:\n - `started` implies `submitted`.\n - `succeeded` and `failed` imply `started`.\n - custom outputs and `expired` do not imply any other outputs.\n\nValid for: paused, running, stopping workflows.", + "args": [ + { + "name": "flow", + "description": "The flow(s) to set or trigger these tasks in.\n\nBy default, active tasks (n=0) stay in their assigned flow(s) and\ninactive tasks (n>0) will be assigned to all active flows.\n\nOtherwise give a list of integers or one of the following strings:\n* new - an automatically generated new flow number\n* none - activity won't flow on (ignored for active tasks)", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Flow", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "flowDescr", + "description": "If starting a new flow, this field can be used to provide the\nnew flow with a description for later reference.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "flowWait", + "description": "Should the workflow \"wait\" or \"continue on\" from this task?\n\nIf `false` the scheduler will spawn and run downstream tasks\nas normal (default).\n\nIf `true` the scheduler will not spawn the downstream tasks\nunless it has been caught by the same flow at a later time.\n\nFor example you might set this to True to trigger a task\nahead of a flow, where you don't want the scheduler to\n\"continue on\" from this task until the flow has caught up\nwith it.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "false", + "__typename": "__InputValue" + }, + { + "name": "outputs", + "description": "List of task outputs to set complete.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "OutputLabel", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "prerequisites", + "description": "List of task prerequisites to set satisfied.", "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "WorkflowID", - "ofType": null, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "PrerequisiteString", + "ofType": null, "__typename": "__Type" }, "__typename": "__Type" }, "defaultValue": null, "__typename": "__InputValue" - } - ], - "type": { - "kind": "OBJECT", - "name": "Poll", - "ofType": null, - "__typename": "__Type" - }, - "isDeprecated": false, - "deprecationReason": null, - "__typename": "__Field" - }, - { - "name": "release", - "description": "Release held tasks within a workflow.\n\nSee also the opposite command `hold`.\n\nValid for: paused, running workflows.", - "args": [ + }, { "name": "tasks", "description": null, @@ -13867,7 +13957,7 @@ ], "type": { "kind": "OBJECT", - "name": "Release", + "name": "SetPrereqsAndOutputs", "ofType": null, "__typename": "__Type" }, @@ -13876,12 +13966,12 @@ "__typename": "__Field" }, { - "name": "remove", - "description": "Remove one or more task instances from a running workflow.\n\nValid for: paused, running, stopping workflows.", + "name": "trigger", + "description": "Manually trigger tasks, even in a paused workflow.\n\nTriggering a task that is not yet queued will queue it.\n\nTriggering a queued task runs it immediately.\n\nCylc queues restrict the number of jobs that can be active\n(submitted or running) at once. They release tasks to run\nwhen their active task count drops below the queue limit.\nSo, depending on the active task count, you may need to\ntrigger a task twice to make it run immediately.\n\nAttempts to trigger active tasks will be ignored.\n\nValid for: paused, running workflows.", "args": [ { "name": "flow", - "description": "\"Remove the task(s) from the specified flows. \"\n\nThis should be a list of flow numbers, or 'all'\nto remove the task(s) from all flows they belong to\n(which is the default).", + "description": "The flow(s) to set or trigger these tasks in.\n\nBy default, active tasks (n=0) stay in their assigned flow(s) and\ninactive tasks (n>0) will be assigned to all active flows.\n\nOtherwise give a list of integers or one of the following strings:\n* new - an automatically generated new flow number\n* none - activity won't flow on (ignored for active tasks)", "type": { "kind": "LIST", "name": null, @@ -13898,7 +13988,31 @@ }, "__typename": "__Type" }, - "defaultValue": "[\"all\"]", + "defaultValue": "[]", + "__typename": "__InputValue" + }, + { + "name": "flowDescr", + "description": "If starting a new flow, this field can be used to provide the\nnew flow with a description for later reference.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "flowWait", + "description": "Should the workflow \"wait\" or \"continue on\" from this task?\n\nIf `false` the scheduler will spawn and run downstream tasks\nas normal (default).\n\nIf `true` the scheduler will not spawn the downstream tasks\nunless it has been caught by the same flow at a later time.\n\nFor example you might set this to True to trigger a task\nahead of a flow, where you don't want the scheduler to\n\"continue on\" from this task until the flow has caught up\nwith it.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "false", "__typename": "__InputValue" }, { @@ -13948,7 +14062,7 @@ ], "type": { "kind": "OBJECT", - "name": "Remove", + "name": "Trigger", "ofType": null, "__typename": "__Type" }, @@ -13957,37 +14071,27 @@ "__typename": "__Field" }, { - "name": "set", - "description": "Set task prerequisites or outputs.\n\nBy default, set all required outputs for target task(s) (including\n`submitted`, `started` and `succeeded` even if they are optional).\n\nSetting prerequisites contributes to the task's readiness to run.\n\nSetting outputs contributes to the task's completion, sets the\ncorresponding prerequisites of child tasks, and sets any implied\noutputs:\n - `started` implies `submitted`.\n - `succeeded` and `failed` imply `started`.\n - custom outputs and `expired` do not imply any other outputs.\n\nValid for: paused, running, stopping workflows.", + "name": "play", + "description": "Start, resume or restart a workflow run.\n\nValid for: stopped workflows.", "args": [ { - "name": "flow", - "description": "The flow(s) to trigger/set these tasks in.\n\nBy default:\n* active tasks (n=0) keep their existing flow assignment\n* inactive tasks (n>0) get assigned all active flows\n\nOtherwise you can assign (inactive tasks) or add to (active tasks):\n* a list of integer flow numbers\nor one of the following strings:\n* all - all active flows\n* new - an automatically generated new flow number\n* none - (ignored for active tasks): no flow", + "name": "abortIfAnyTaskFails", + "description": "If set workflow will abort with status 1 if any task fails.", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Flow", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, "__typename": "__Type" }, - "defaultValue": "[]", + "defaultValue": "false", "__typename": "__InputValue" }, { - "name": "flowDescr", - "description": "If starting a new flow, this field can be used to provide the\nnew flow with a description for later reference.", + "name": "cylcVersion", + "description": "Set the Cylc version that the workflow starts with.", "type": { "kind": "SCALAR", - "name": "String", + "name": "CylcVersion", "ofType": null, "__typename": "__Type" }, @@ -13995,8 +14099,8 @@ "__typename": "__InputValue" }, { - "name": "flowWait", - "description": "Should the workflow \"wait\" or \"continue on\" from this task?\n\nIf `false` the scheduler will spawn and run downstream tasks\nas normal (default).\n\nIf `true` the scheduler will not spawn the downstream tasks\nunless it has been caught by the same flow at a later time.\n\nFor example you might set this to True to trigger a task\nahead of a flow, where you don't want the scheduler to\n\"continue on\" from this task until the flow has caught up\nwith it.", + "name": "debug", + "description": "Output developer information and show exception tracebacks.", "type": { "kind": "SCALAR", "name": "Boolean", @@ -14007,14 +14111,62 @@ "__typename": "__InputValue" }, { - "name": "outputs", - "description": "List of task outputs to set complete.", + "name": "finalCyclePoint", + "description": "Set the final cycle point. This command line option overrides\nthe workflow config option `[scheduling]final cycle point`.", + "type": { + "kind": "SCALAR", + "name": "CyclePoint", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "holdCyclePoint", + "description": "Hold all tasks after this cycle point.", + "type": { + "kind": "SCALAR", + "name": "CyclePoint", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "host", + "description": "Specify the host on which to start-up the workflow. If not\nspecified, a host will be selected using the\n`[scheduler]run hosts` global config.", + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "initialCyclePoint", + "description": "Set the initial cycle point.\n\nRequired if not defined in flow.cylc.", + "type": { + "kind": "SCALAR", + "name": "CyclePoint", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "mainLoop", + "description": "Specify an additional plugin to run in the main loop. These\nare used in combination with those specified in\n`[scheduler][main loop]plugins`. Can be used multiple times.", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "OutputLabel", + "name": "String", "ofType": null, "__typename": "__Type" }, @@ -14024,14 +14176,50 @@ "__typename": "__InputValue" }, { - "name": "prerequisites", - "description": "List of task prerequisites to set satisfied.", + "name": "mode", + "description": null, + "type": { + "kind": "ENUM", + "name": "WorkflowRunMode", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "Live", + "__typename": "__InputValue" + }, + { + "name": "noTimestamp", + "description": "Don't timestamp logged messages.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "false", + "__typename": "__InputValue" + }, + { + "name": "pause", + "description": "Pause workflow immediately on starting.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "set", + "description": "Set the value of a Jinja2 template variable in the workflow\ndefinition. Values should be valid Python literals so strings\nmust be quoted e.g. `STR=\"string\"`, `INT=43`, `BOOL=True`.\nThis option can be used multiple times on the command line.\nNOTE: these settings persist across workflow restarts, but can\nbe set again on the `cylc play` command line if they need to be\noverridden.", "type": { "kind": "LIST", "name": null, "ofType": { "kind": "SCALAR", - "name": "PrerequisiteString", + "name": "String", "ofType": null, "__typename": "__Type" }, @@ -14041,27 +14229,53 @@ "__typename": "__InputValue" }, { - "name": "tasks", - "description": null, + "name": "setFile", + "description": "Set the value of Jinja2 template variables in the workflow\ndefinition from a file containing NAME=VALUE pairs (one per\nline). As with \"set\" values should be valid Python literals so\nstrings must be quoted e.g. `STR='string'`. NOTE: these\nsettings persist across workflow restarts, but can be set again\non the `cylc play` command line if they need to be overridden.", "type": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "NamespaceIDGlob", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "startCyclePoint", + "description": "Set the start cycle point, which may be after the initial cycle\npoint.\n\nIf the specified start point is not in the sequence, the next\non-sequence point will be used.\n\n(Not to be confused with the initial cycle point).\n\nThis replaces the Cylc 7 --warm option.", + "type": { + "kind": "SCALAR", + "name": "CyclePoint", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "stopCyclePoint", + "description": "Set the stop cycle point. Shut down after all tasks have PASSED\nthis cycle point. (Not to be confused with the final cycle\npoint.) This command line option overrides the workflow config\noption `[scheduling]stop after cycle point`.", + "type": { + "kind": "SCALAR", + "name": "CyclePoint", + "ofType": null, "__typename": "__Type" }, "defaultValue": null, "__typename": "__InputValue" }, + { + "name": "upgrade", + "description": "Allow the workflow to be restarted with a newer\nversion of Cylc.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "false", + "__typename": "__InputValue" + }, { "name": "workflows", "description": null, @@ -14087,7 +14301,7 @@ ], "type": { "kind": "OBJECT", - "name": "SetPrereqsAndOutputs", + "name": "Play", "ofType": null, "__typename": "__Type" }, @@ -14096,70 +14310,77 @@ "__typename": "__Field" }, { - "name": "trigger", - "description": "Manually trigger tasks, even in a paused workflow.\n\nTriggering a task that is not yet queued will queue it.\n\nTriggering a queued task runs it immediately.\n\nCylc queues restrict the number of jobs that can be active\n(submitted or running) at once. They release tasks to run\nwhen their active task count drops below the queue limit.\nSo, depending on the active task count, you may need to\ntrigger a task twice to make it run immediately.\n\nAttempts to trigger active tasks will be ignored.\n\nValid for: paused, running workflows.", + "name": "reinstallReload", + "description": "Validate, reinstall, then reload the workflow.\n\nThis command updates a workflow to reflect any new changes made in\nthe workflow source directory since it was installed.\n\nValid for: paused, running workflows.", "args": [ { - "name": "flow", - "description": "The flow(s) to trigger/set these tasks in.\n\nBy default:\n* active tasks (n=0) keep their existing flow assignment\n* inactive tasks (n>0) get assigned all active flows\n\nOtherwise you can assign (inactive tasks) or add to (active tasks):\n* a list of integer flow numbers\nor one of the following strings:\n* all - all active flows\n* new - an automatically generated new flow number\n* none - (ignored for active tasks): no flow", + "name": "clearRoseInstallOptions", + "description": "Clear options previous set by cylc-rose.", "type": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "NON_NULL", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "Flow", - "ofType": null, - "__typename": "__Type" - }, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, "__typename": "__Type" }, - "defaultValue": "[]", + "defaultValue": "false", "__typename": "__InputValue" }, { - "name": "flowDescr", - "description": "If starting a new flow, this field can be used to provide the\nnew flow with a description for later reference.", + "name": "reloadGlobal", + "description": "Reload global config as well as the workflow config", "type": { "kind": "SCALAR", - "name": "String", + "name": "Boolean", "ofType": null, "__typename": "__Type" }, + "defaultValue": "false", + "__typename": "__InputValue" + }, + { + "name": "roseOptConfKeys", + "description": "Add Rose optional configurations (if Rose is used).", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, "defaultValue": null, "__typename": "__InputValue" }, { - "name": "flowWait", - "description": "Should the workflow \"wait\" or \"continue on\" from this task?\n\nIf `false` the scheduler will spawn and run downstream tasks\nas normal (default).\n\nIf `true` the scheduler will not spawn the downstream tasks\nunless it has been caught by the same flow at a later time.\n\nFor example you might set this to True to trigger a task\nahead of a flow, where you don't want the scheduler to\n\"continue on\" from this task until the flow has caught up\nwith it.", + "name": "roseSuiteDefines", + "description": "Each of these overrides the `[SECTION]KEY` setting in a\n`rose-suite.conf` file.\n\nCan be used to disable a setting using the syntax\n`[SECTION]!KEY` or even `[!SECTION]`.", "type": { - "kind": "SCALAR", - "name": "Boolean", - "ofType": null, + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, "__typename": "__Type" }, - "defaultValue": "false", + "defaultValue": null, "__typename": "__InputValue" }, { - "name": "tasks", - "description": null, + "name": "roseTemplateVariables", + "description": "Define a Rose `[template variable]`s e.g, `FOO=1`.\n\nNote: Specifying `FOO=1` to this argument is equivalent to\nspecifying `[template variables]FOO=1` to the `define`\nargument.", "type": { - "kind": "NON_NULL", + "kind": "LIST", "name": null, "ofType": { - "kind": "LIST", - "name": null, - "ofType": { - "kind": "SCALAR", - "name": "NamespaceIDGlob", - "ofType": null, - "__typename": "__Type" - }, + "kind": "SCALAR", + "name": "String", + "ofType": null, "__typename": "__Type" }, "__typename": "__Type" @@ -14192,7 +14413,7 @@ ], "type": { "kind": "OBJECT", - "name": "Trigger", + "name": "ReinstallReload", "ofType": null, "__typename": "__Type" }, @@ -14201,8 +14422,8 @@ "__typename": "__Field" }, { - "name": "play", - "description": "Start, resume or restart a workflow run.\n\nValid for: stopped workflows.", + "name": "reinstallRestart", + "description": "Validate, reinstall, then restart the workflow.\n\nThis command updates a workflow to reflect any new changes made in\nthe workflow source directory since it was installed.\n\nValid for: stopped workflows.", "args": [ { "name": "abortIfAnyTaskFails", @@ -14216,6 +14437,18 @@ "defaultValue": "false", "__typename": "__InputValue" }, + { + "name": "clearRoseInstallOptions", + "description": "Clear options previous set by cylc-rose.", + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "defaultValue": "false", + "__typename": "__InputValue" + }, { "name": "cylcVersion", "description": "Set the Cylc version that the workflow starts with.", @@ -14341,6 +14574,57 @@ "defaultValue": null, "__typename": "__InputValue" }, + { + "name": "roseOptConfKeys", + "description": "Add Rose optional configurations (if Rose is used).", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "roseSuiteDefines", + "description": "Each of these overrides the `[SECTION]KEY` setting in a\n`rose-suite.conf` file.\n\nCan be used to disable a setting using the syntax\n`[SECTION]!KEY` or even `[!SECTION]`.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, + { + "name": "roseTemplateVariables", + "description": "Define a Rose `[template variable]`s e.g, `FOO=1`.\n\nNote: Specifying `FOO=1` to this argument is equivalent to\nspecifying `[template variables]FOO=1` to the `define`\nargument.", + "type": { + "kind": "LIST", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": null, + "__typename": "__InputValue" + }, { "name": "set", "description": "Set the value of a Jinja2 template variable in the workflow\ndefinition. Values should be valid Python literals so strings\nmust be quoted e.g. `STR=\"string\"`, `INT=43`, `BOOL=True`.\nThis option can be used multiple times on the command line.\nNOTE: these settings persist across workflow restarts, but can\nbe set again on the `cylc play` command line if they need to be\noverridden.", @@ -14431,7 +14715,7 @@ ], "type": { "kind": "OBJECT", - "name": "Play", + "name": "ReinstallRestart", "ofType": null, "__typename": "__Type" }, @@ -14780,7 +15064,7 @@ { "kind": "OBJECT", "name": "SetVerbosity", - "description": "Change the logging severity level of a running workflow.\n\nOnly messages at or above the chosen severity level will be logged.\nFor example, if you choose `WARNING`, only warning, error and\ncritical level messages will be logged.\n\nValid for: paused, running workflows.", + "description": "Change the logging severity level of a running workflow.\n\nOnly messages at or above the chosen severity level will be logged.\nFor example, if you choose `WARNING`, only warning, error and\ncritical level messages will be logged.\n\nValid for: paused, running, stopping workflows.", "fields": [ { "name": "result", @@ -15052,7 +15336,7 @@ { "kind": "SCALAR", "name": "NamespaceIDGlob", - "description": "A task or family ID e.g. `2000/foo`.\n\nGlobs can be used to match active tasks or families.\n\nE.g `2*/foo*` might match `2000/foot`.", + "description": "A task or family ID e.g. `2000/foo`.\n\nGlobs can be used to match tasks or families, e.g, `2*/foo*` might match\n`2000/foot`. Cycle point globs will only match active cycles.\n\nSelectors can be used to match active tasks by state, e.g, `*:failed` will\nmatch all failed tasks.", "fields": null, "inputFields": null, "interfaces": null, @@ -15167,7 +15451,7 @@ { "kind": "SCALAR", "name": "Flow", - "description": "An integer or one of all, new or none.", + "description": "An integer or new or none.", "fields": null, "inputFields": null, "interfaces": null, @@ -15295,8 +15579,8 @@ "interfaces": null, "enumValues": [ { - "name": "Dummy", - "description": "Submits real jobs with empty scripts.", + "name": "Simulation", + "description": "Simulates job submission with configurable execution time and succeeded/failed outcomes (but does not submit real jobs).", "isDeprecated": false, "deprecationReason": null, "__typename": "__EnumValue" @@ -15309,8 +15593,8 @@ "__typename": "__EnumValue" }, { - "name": "Simulation", - "description": "Simulates job submission with configurable exection time and succeeded/failed outcomes (but does not submit real jobs).", + "name": "Dummy", + "description": "Submits real jobs with empty scripts.", "isDeprecated": false, "deprecationReason": null, "__typename": "__EnumValue" @@ -15319,6 +15603,58 @@ "possibleTypes": null, "__typename": "__Type" }, + { + "kind": "OBJECT", + "name": "ReinstallReload", + "description": "Validate, reinstall, then reload the workflow.\n\nThis command updates a workflow to reflect any new changes made in\nthe workflow source directory since it was installed.\n\nValid for: paused, running workflows.", + "fields": [ + { + "name": "result", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "GenericScalar", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null, + "__typename": "__Type" + }, + { + "kind": "OBJECT", + "name": "ReinstallRestart", + "description": "Validate, reinstall, then restart the workflow.\n\nThis command updates a workflow to reflect any new changes made in\nthe workflow source directory since it was installed.\n\nValid for: stopped workflows.", + "fields": [ + { + "name": "result", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "GenericScalar", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + } + ], + "inputFields": null, + "interfaces": [], + "enumValues": null, + "possibleTypes": null, + "__typename": "__Type" + }, { "kind": "OBJECT", "name": "Clean", @@ -21003,7 +21339,7 @@ }, { "name": "subscriptionType", - "description": "If this server support subscription, the type that subscription operations will be rooted at.", + "description": "If this server supports subscription, the type that subscription operations will be rooted at.", "args": [], "type": { "kind": "OBJECT", @@ -21018,7 +21354,25 @@ { "name": "directives", "description": "A list of all directives supported by this server.", - "args": [], + "args": [ + { + "name": "includeDeprecated", + "description": null, + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "defaultValue": "false", + "__typename": "__InputValue" + } + ], "type": { "kind": "NON_NULL", "name": null, @@ -21289,6 +21643,20 @@ "isDeprecated": false, "deprecationReason": null, "__typename": "__Field" + }, + { + "name": "isOneOf", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" } ], "inputFields": null, @@ -21820,6 +22188,39 @@ "isDeprecated": false, "deprecationReason": null, "__typename": "__Field" + }, + { + "name": "isDeprecated", + "description": null, + "args": [], + "type": { + "kind": "NON_NULL", + "name": null, + "ofType": { + "kind": "SCALAR", + "name": "Boolean", + "ofType": null, + "__typename": "__Type" + }, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" + }, + { + "name": "deprecationReason", + "description": null, + "args": [], + "type": { + "kind": "SCALAR", + "name": "String", + "ofType": null, + "__typename": "__Type" + }, + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__Field" } ], "inputFields": null, @@ -21968,6 +22369,13 @@ "isDeprecated": false, "deprecationReason": null, "__typename": "__EnumValue" + }, + { + "name": "DIRECTIVE_DEFINITION", + "description": "Location adjacent to a directive definition.", + "isDeprecated": false, + "deprecationReason": null, + "__typename": "__EnumValue" } ], "possibleTypes": null, diff --git a/src/services/mock/json/userprofile.json b/src/services/mock/json/userprofile.json index 434c84029..7039392b0 100644 --- a/src/services/mock/json/userprofile.json +++ b/src/services/mock/json/userprofile.json @@ -6,28 +6,30 @@ "avatar_url": null, "color": null, "permissions": [ - "play", - "remove", - "resume", - "setGraphWindowExtent", - "setHoldPoint", - "set", - "setVerbosity", - "stop", - "trigger", - "read", "broadcast", + "clean", "extTrigger", - "pause", + "hold", "kill", "message", + "pause", + "play", "poll", + "read", + "reinstallReload", + "reinstallRestart", "release", "releaseHoldPoint", "reload", + "remove", + "resume", "scan", - "clean", - "hold" + "set", + "setGraphWindowExtent", + "setHoldPoint", + "setVerbosity", + "stop", + "trigger" ], "mode": "single user", "owner": "user", diff --git a/src/utils/aotf.js b/src/utils/aotf.js index bd44e6846..dcd2ecbbc 100644 --- a/src/utils/aotf.js +++ b/src/utils/aotf.js @@ -142,12 +142,13 @@ export function getMutationIcon (name) { case 'play': return mdiPlay case 'poll': return mdiRefreshCircle case 'release': return mdiPlayCircleOutline // to distinguish from play - case 'reload': return mdiReload case 'remove': return mdiMinusCircleOutline case 'resume': return mdiPlay case 'set': return mdiVectorPolylineEdit case 'stop': return mdiStop case 'trigger': return mdiCursorPointer + case 'reinstallReload': return mdiReload + case 'reinstallRestart': return mdiReload default: return mdiCog } } @@ -179,7 +180,8 @@ export const primaryMutations = { 'resume', 'pause', 'stop', - 'reload', + 'reinstallRestart', + 'reinstallReload', 'clean', 'log', ], diff --git a/tests/e2e/specs/menu.cy.js b/tests/e2e/specs/menu.cy.js index b3df97b3f..138a391a1 100644 --- a/tests/e2e/specs/menu.cy.js +++ b/tests/e2e/specs/menu.cy.js @@ -17,7 +17,7 @@ describe('Command Menu component', () => { const collapsedWorkflowMenuLength = 4 - const expandedWorkflowMenuLength = 21 + const expandedWorkflowMenuLength = 23 beforeEach(() => { cy.visit('/#/workspace/one')