Bezerker
Bezerker10h ago

How does windmill handle multiple people editing the same flow and drafts?

Essentially, if multiple users are editing a flow and both save drafts, it appears they overwrite eachother on refresh?
9 Replies
rubenf
rubenf10h ago
it's well handled since today @Ash/Pyra build a beautiful UX that will warn you if you are overwriting someone and show you the diff one step ahead actually we only take care of deploy not drafts @Ash/Pyra we might need to do the same trick but storing the draft last_updated_at
Bezerker
Bezerker10h ago
Gotcha. Sweet. I am about a week old at this point so im due to update haha
rubenf
rubenf10h ago
so to be clear, it's still the case for draft that you will overwrite each other without warning but it's not the case anymore that you can overwrite someone deployed script/flow/apps without realizing it if you started from a version that got overwritten since, it will warn you
Bezerker
Bezerker10h ago
Nice. awesome to hear. (I ask this only because we're collaborating on a meta workflow calling other flows and we just noticed that overwrites)
rubenf
rubenf10h ago
we may improve the system to have draft in those but ideally we can extend multiplayer to allow for multiplayer on apps and flows as well
Bezerker
Bezerker10h ago
yeah I think that's probably a decent option there
rubenf
rubenf10h ago
(works well on scripts though)
Bezerker
Bezerker10h ago
(agreed)
Pyra
Pyra10h ago
Its nice to push a change a see One interested in what this change solved. Yep, its now handled really nicely. Enjoy! Hehe 😁