Prepare PoC for generic upload of TypeInstances even if Action failed #563
Labels
area/cli
Relates to CLI
area/documentation
Related to all activities around documentation
area/engine
Relates to Engine
area/hub
Relates to Hub
enhancement
New feature or request
Milestone
Description
Prepare PoC for generic upload of TypeInstances even if Action failed.
Currently, the upload TypeInstance step is the last one, and it's executed only if all other step exited with non-zero code.
This is problematic as in case of failed Action we don't have TypeInstances generated in previous steps.
AC
Even if Action fails:
.Actions[0].output.typeInstances
).Reason
To get the output of executed step (TypeInstances) for failed Action we need to download it directly from MinIO. It requires a lot of manual steps. Additionally, it generates a second problem, sometimes the format of artifacts from MinIO are different from the final TypeInstances format.
This enables also a rollback (#502) for failed Action too.
Use cases
The text was updated successfully, but these errors were encountered: