Skip to content

Task messages: include severity level over GraphQL #5713

@MetRonnie

Description

@MetRonnie

Needed for cylc/cylc-ui#1276

Currently the only information is the message

  [[foo5]]
      script = cylc message 'WARNING:Hello world'
query {
 jobs {
   id
   messages
 }
}
{
 "data": {
   "jobs": [
     {
       "id": "~rdutta/JOB//1/foo5/01",
       "messages": [
         "started",
         "Hello world"
       ]
     }
   ]
 }
}

If we just include the SEVERITY: prefix in the message sent over GraphQL this ought to be backward compatible, I believe?

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions