Skip to content

reconciler: avoid loading ChangesetSource if not required

Warren Gifford requested to merge mrn+es/lazy-changeset-source into main

Created by: mrnugget

Problem: the reconciler tried to detach changesets that weren't published but no Batch Change credentials were setup.

That lead to "Failed: could not detach changeset, no credentials" errors even though no credentials are necessary to only detach a changeset.

This code changes the executor to lazily load the changeset source only when required.

Merge request reports

Loading