Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Task messages: include severity level over GraphQL #5713

Open
MetRonnie opened this issue Aug 30, 2023 · 0 comments · May be fixed by #5714
Open

Task messages: include severity level over GraphQL #5713

MetRonnie opened this issue Aug 30, 2023 · 0 comments · May be fixed by #5714
Assignees
Milestone

Comments

@MetRonnie
Copy link
Member

MetRonnie commented Aug 30, 2023

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?

@MetRonnie MetRonnie added this to the cylc-8.2.2 milestone Aug 30, 2023
@MetRonnie MetRonnie self-assigned this Aug 31, 2023
@MetRonnie MetRonnie linked a pull request Aug 31, 2023 that will close this issue
8 tasks
@MetRonnie MetRonnie changed the title Task messages: include severity level in the GraphQL schema Task messages: include severity level over GraphQL Aug 31, 2023
@MetRonnie MetRonnie modified the milestones: cylc-8.2.2, cylc-8.3.0 Sep 1, 2023
@oliver-sanders oliver-sanders modified the milestones: cylc-8.3.0, cylc-8.4.0 Feb 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants