refactor!: simplify runtime coordination #7
Keep financial ownership, atomic publication and refresh CAS. Failed refresh leaves cookies untouched; logout still clears them. Remove full-history candle prefetch and special metadata retries. Use native Pino request context instead of parallel middleware. BREAKING CHANGE: remove investment stateVersion, queued sync state, and tbank-sync status progress/resources. Consumers must observe resources through sync=observe with the updated frontend contract.
This commit is contained in:
@@ -134,12 +134,6 @@ describe('T-Bank persisted read budget', () => {
|
||||
'bond',
|
||||
instruments.find((item) => item.uid === uid),
|
||||
),
|
||||
getLastPrice: (_token: string, uid: string) =>
|
||||
counted('lastPrice', {
|
||||
instrumentUid: uid,
|
||||
price: { units: '100' },
|
||||
time: { seconds: Date.UTC(2026, 7, 31) / 1000 },
|
||||
}),
|
||||
getLastPrices: (_token: string, uids: string[]) =>
|
||||
counted(
|
||||
'lastPrices',
|
||||
|
||||
Reference in New Issue
Block a user