Sometimes issues with on-prem SHIR servers connectivity necessitates re-creation of a data-factory integration-runtime ( SHIR bindings ).
If following good SDLC, it's important to persist any changes to source-control.
However, for a git-enabled data-factory, it appears problematic to re-create the SHIR bindings in a feature-branch.
To delete an integration-runtime, requires first decoupling its linked-services.
In a feature branch, this easily accomplished by re-pointing each linked-service to the AutoResolveIntegrationRuntime.
However, unlinking in only the feature-branch is not sufficient : it's still not possible to delete the integration-runtime -- apparently because the linked-services are still linked in live mode.
It's possible to unlink in live mode, but for a git-enabled data-factory, it's not possible to publish these changes.
This seems to be a flaw in how data-factory manage dependencies.
Does anyone know a solution ?