You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The problem is that I don't know when the pipeline failed and if I need to clean up. If I fail in 4, I need to cleanup, if I fail in 1, I do not need to.
There used to be an idea for dagger down that would have the reverse of some steps. Maybe it would be better to have something like WithDefer, which creates an unwind stack? Perhaps this could have conditions for running like pass, fail, always?
Here's how some could prototype something like this given the current API:
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
TL;DR:
It'd be awesome if the Dagger API offers some DX friendly way of:
From @verdverm in Discord (https://discord.com/channels/707636530424053791/1124479852901310495/1124479852901310495)
Here's how some could prototype something like this given the current API:
cc @shykes
Beta Was this translation helpful? Give feedback.
All reactions