refactor: remove obsolete external object batch refresh entrypoints

Exercise lease, selection, and recovery behavior through the registered scheduler owner.

Co-Authored-By: Paperclip <noreply@paperclip.ing>
This commit is contained in:
DottaandPaperclip committed 2026-10-30 18:09:41 -05:00
1 parent 4771986772
commit 4e97daafa0
5 files changed
+43 -95

No files matched your search

@@ -100,14 +100,6 @@ const active: ExternalObjectResolveResult = { ok: true, snapshot: {
});
}
it("captures the old configured-empty aggregate SQL cost", async () => {
const svc = service(); await fixture();
const selects = vi.spyOn(db, "select");
for (let i = 0; i < 3; i++) await svc.refreshDueObjectsForActiveCompanies();
expect(selects).toHaveBeenCalledTimes(6);
expect(provider).not.toHaveBeenCalled();
});
it("activates saved work when the ordinary feature and company settings enable it", async () => {
clock(); const settings = instanceSettingsService(db);
await settings.updateExperimental({ enableExternalObjects: true });