The hourly pass started operations sync without waiting for the portfolio works to finish. For large accounts, operations coverage therefore ended before the snapshot fetchedAt, and performance returned OPERATIONS_HISTORY_INCOMPLETE even though the history was fully loaded.
refreshAccounts waits for the portfolio works (via the existing waitWorks with its bound) before dispatching operations.
e2e: operations do not start while any portfolio work is running. Without the fix the test fails.
Verification
npm run verify: pass (364 tests)
npm run test:e2e: pass, including tbank-hourly-lifecycle 29/29
## Summary
The hourly pass started operations sync without waiting for the portfolio works to finish. For large accounts, operations coverage therefore ended before the snapshot `fetchedAt`, and performance returned `OPERATIONS_HISTORY_INCOMPLETE` even though the history was fully loaded.
## Linked Issue
#201 (related: WealthLedger/main#54, WealthLedger/main#55)
## Changes
- `refreshAccounts` waits for the portfolio works (via the existing `waitWorks` with its bound) before dispatching operations.
- e2e: operations do not start while any portfolio work is `running`. Without the fix the test fails.
## Verification
- `npm run verify`: pass (364 tests)
- `npm run test:e2e`: pass, including `tbank-hourly-lifecycle` 29/29
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Summary
The hourly pass started operations sync without waiting for the portfolio works to finish. For large accounts, operations coverage therefore ended before the snapshot
fetchedAt, and performance returnedOPERATIONS_HISTORY_INCOMPLETEeven though the history was fully loaded.Linked Issue
#201 (related: WealthLedger/main#54, WealthLedger/main#55)
Changes
refreshAccountswaits for the portfolio works (via the existingwaitWorkswith its bound) before dispatching operations.running. Without the fix the test fails.Verification
npm run verify: pass (364 tests)npm run test:e2e: pass, includingtbank-hourly-lifecycle29/29