instill-core
instill-core copied to clipboard
Resource state change safety check
Similar to #109, if a resource (source/model-instance/destination) is online
- if the resource is used by any online pipeline, we should not allow the operation to change the resource state from ✅ to ⛔.
- if the resource is used by pipelines that are not online, we should allow the operation to change the resource state.
Related backends:
- [ ] connector-backend: @pinglin
- [ ] model-backend: @Phelan164