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

Tree view: empty historical cycle points shown after expanding N-window #1813

Open
MetRonnie opened this issue May 28, 2024 · 0 comments
Open
Labels
bug Something isn't working
Milestone

Comments

@MetRonnie
Copy link
Member

MetRonnie commented May 28, 2024

Description & reproducible example

  1. Run the workflow P1 = c[-P1] => a => b => c
  2. When 2/b is running, pause the workflow, then set the graph window to 3
  3. Observe cycle 1 re-appears but empty
    image

Automated version of this example:

[scheduler]
    allow implicit tasks = True
[scheduling]
    cycling mode = integer
    runahead limit = P0
    [[graph]]
        P1 = c[-P1] => a => b => c
[runtime]
    [[b]]
        script = """
if [[ $CYLC_TASK_CYCLE_POINT == 2 ]]; then

cylc pause $CYLC_WORKFLOW_ID
sleep 3

set +e  # (read exits 1 for some reason)
read -r -d '' gqlDoc <<_DOC_
{"request_string": "
mutation {
setGraphWindowExtent (
    workflows: [\"${CYLC_WORKFLOW_ID}\"],
    nEdgeDistance: 3) {
    result
}
}",
"variables": null}
_DOC_
set -e

cylc client "$CYLC_WORKFLOW_ID" graphql < <(echo ${gqlDoc})

fi
"""

More information

The familyTree for the node passed to the TreeItem for cycle point 1 is an empty array.

image

This is a UI data store issue as it goes away on reload. I have inspected the deltas and they seem fine.

@MetRonnie MetRonnie added the bug Something isn't working label May 28, 2024
@MetRonnie MetRonnie added this to the 2.6.0 milestone May 28, 2024
@oliver-sanders oliver-sanders modified the milestones: 2.6.0, 2.7.0 Oct 9, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants