This message was deleted.
# office-hours
s
This message was deleted.
s
Awaiting data entry for an indeterminate amount of time in a web app is a bit of a can of worms (entangled with session timeouts, etc.)
not to mention navigating away from the screen
b
yeah it's tricky šŸ˜ž
s
can you describe the workflow case, I’m a bit fuzzy on that
b
we have a few patch plans that do a lot and sometimes we want to halt a plan, do manual verification and continue, or enter a specific version number that should be deployed somewhere
s
ahh, so a manual review step
and then a ā€œbail/proceedā€
b
so at the moment we have out::message like 'review monitoring, if stuff is working, write YES into /tmp/something on $primary'
and in a loop we read that file until we get YES
that's a really ugly hack but works
s
so there’s some thing you just won’t know until part of the plan has run
b
yes
s
gotcha
and is it potentially badā„¢ if the first part runs without the second?
just trying to think of some sort of run stages thing
b
we considered splitting it up. but the first part generates some state that needs to be used in the second part, like "I patched packages Z,X,Y on nodes A,B,C. D,F,G rebooted"
so if we split it up we need to store that information somewhere
s
yeah, tricky
kinda need yet another layer on top of plans šŸ˜‰
b
if this would be reengineerend, it would probably be split up into multiple plans somehow. but this was initially ported from bolt to PE and it's always tricky to explain to customers why an open source feature is missing in the enterprise version. usually it's the other way around
s
understood
b
of course on a CLI this is way easier to implement compared to the Web UI magic
s
yep, but also riskier šŸ˜‰
b
yeah šŸ˜„
s
I’ll roll that around a bit, kinda unfortunate that relay is EOL because that’s excactly the sort of thing it was good at
this 1
b
mhm right