feat: add hourly portfolio sync history
Backend verify / commits (pull_request) Successful in 33s
Backend verify / security (pull_request) Failing after 12s
Backend verify / verify (pull_request) Skipped

This commit is contained in:
2026-10-09 09:04:41 +03:00
parent 03e75f8d2b
commit 0057925888
49 changed files with 1674 additions and 1870 deletions
+2 -1
View File
@@ -319,7 +319,7 @@ describe('Request-driven operations synchronization (SQLite)', () => {
expect(observed.plan?.intervals[0]).toMatchObject({
availability: 'complete',
asOf,
stale: true,
stale: false,
});
expect(upstream.getOperationsByCursor).not.toHaveBeenCalled();
upstream.getOperationsByCursor.mockResolvedValue({
@@ -328,6 +328,7 @@ describe('Request-driven operations synchronization (SQLite)', () => {
});
const refresh = await service.readPlan('owner', [target], {
movingEnd: true,
force: true,
});
await state(requiredHandle(refresh.handle), 'complete');
expect(upstream.getOperationsByCursor).toHaveBeenCalledTimes(1);