Skip to content

Self-hosted, Self-Improving, Federated Everything App — dev management, agent orchestration, persistent mind, digital twin, second brain, and creative pipeline from a single dashboard over Tailscale to port the user into the OS

test: assert Antigravity repair invocation in usageBackfill unit tests

[._.]/ Adam Eivyd466f4ae6bd7
diff --git a/server/services/usageBackfill.test.js b/server/services/usageBackfill.test.js
index 293530249c..17b28c7b0f 100644
--- a/server/services/usageBackfill.test.js
+++ b/server/services/usageBackfill.test.js
@@ -138,6 +138,7 @@ it('notifies clients when the worker fails', async () => {
}));
expect(updated).toHaveBeenCalledWith({});
expect(applyGrokUsageRepair).toHaveBeenCalledTimes(1);
+ expect(applyAgyUsageRepair).toHaveBeenCalledTimes(1);
});
it('puts the Grok repair on the reconcile result and runs it once', async () => {
@@ -169,6 +170,7 @@ it('puts the Grok repair on the reconcile result and runs it once', async () =>
}));
expect(getHistoricalUsageBackfillStatus().grok.backupDir).toBeUndefined();
expect(applyGrokUsageRepair).toHaveBeenCalledTimes(1);
+ expect(applyAgyUsageRepair).toHaveBeenCalledTimes(1);
});
it('keeps a transcript failure from dropping a Grok repair that already landed', async () => {