-
Notifications
You must be signed in to change notification settings - Fork 27
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
outputs: Transitory message tag appearance #1145
Comments
Have managed to reproduce. The root cause of this issue is the way we handle lists in deltas.
The ui data store assumes (1) since otherwise it would not be possible for items to be removed from |
Evidence extracted from the deltas... First we get the messages {
"jobs": [
{
"id": "~osanders/ambient//10020101T0000Z/foo/02",
"startedTime": "2022-11-23T14:41:59Z",
"state": "running",
"messages": [
"biosphere",
"started"
],
"taskProxy": { ... },
"__typename": "Job"
}
]
} Then later we just get the message {
"jobs": [
{
"id": "~osanders/ambient//10020101T0000Z/foo/02",
"finishedTime": "2022-11-23T14:42:01Z",
"state": "failed",
"messages": [
"failed/ERR"
],
"taskProxy": { ... },
"__typename": "Job"
}
]
} |
We could "append" new messages rather than overwriting the entire list, however, this would require maintaining a list of fields for which the merging rules differ at the UI end. |
PR up: have tested it in graphiql, seems to work. |
From Element: Actually
so the field resolver pulls from the data-store not the delta-store... So subfield lists with ID lookups can be configured (in the query args) to do either behavior. |
Closed by cylc/cylc-flow#5240 |
Describe the bug
When triggering a second task with a cylc message outputs the output shows up only briefly in the tree view until/unless page refreshed:
Release version(s) and/or repository branch(es) affected?
Found when checking that #1108 fixed #838.
Steps to reproduce the bug
Using workflow
run workflow. Re trigger task foo.
Expected behavior
Screenshots
Additional context
Pull requests welcome!
This is an Open Source project - please consider contributing a bug fix
yourself (please read
CONTRIBUTING.md
before starting any work though).The text was updated successfully, but these errors were encountered: