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

Auto-Reconnect if Head workflow version unchanged #289

Open
5 tasks
okennedy opened this issue Oct 27, 2023 · 0 comments
Open
5 tasks

Auto-Reconnect if Head workflow version unchanged #289

okennedy opened this issue Oct 27, 2023 · 0 comments
Labels
layer-ui An issue involving the UI layer
Milestone

Comments

@okennedy
Copy link
Contributor

The problem with reconnecting ad-hoc is that a branch's workflow version may have changed. In principle, this means doing a complete refresh on the workflow, potentially wiping out everything that the user was working on. This is not something that we want to do automatically.

However, if the head workflow version is unchanged, we should be able to reconnect safely.

  • While disconnected, start periodically polling for a connection.
  • If the connection exists, check the branch head for equivalence before connecting a branch
  • Possibly needed: track the branch head version in the UI.
  • Update all of the cell states, outputs, and artifact lists to match what is current (these are read only, and should be safe)
  • Create a ticket to see if we can do something similar based on a workflow delta.
@okennedy okennedy added the layer-ui An issue involving the UI layer label Oct 27, 2023
@okennedy okennedy added this to the Version 2.1 milestone Oct 27, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
layer-ui An issue involving the UI layer
Projects
None yet
Development

No branches or pull requests

1 participant