Instead of computing hash for each store by hand, iterate over specs and compute all the hashes for them.
https://linear.app/comm/issue/ENG-4631/migrate-checkstate-from-session-utils-to-a-spec
Depends on D8946
Paths
| Differential D8948 Authored by tomek on Aug 25 2023, 5:27 AM.
Details Summary Instead of computing hash for each store by hand, iterate over specs and compute all the hashes for them. https://linear.app/comm/issue/ENG-4631/migrate-checkstate-from-session-utils-to-a-spec Depends on D8946 Test Plan Bring back the old hash logic and compare the results with the new version.
Diff Detail
Event TimelineHerald added a subscriber: ashoat. · View Herald TranscriptAug 25 2023, 5:27 AM2023-08-25 05:27:59 (UTC-7) Harbormaster completed remote builds in B22084: Diff 30312.Aug 25 2023, 5:45 AM2023-08-25 05:45:26 (UTC-7) This revision is now accepted and ready to land.Aug 25 2023, 7:33 AM2023-08-25 07:33:12 (UTC-7) Closed by commit rCOMM09562b850b78: [keyserver] Generalize state_check status handling using specs (authored by tomek). · Explain WhyAug 30 2023, 9:16 AM2023-08-30 09:16:22 (UTC-7) This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 30577 keyserver/src/shared/state-sync/current-user-state-sync-spec.js
keyserver/src/shared/state-sync/entries-state-sync-spec.js
keyserver/src/shared/state-sync/state-sync-spec.js
keyserver/src/shared/state-sync/threads-state-sync-spec.js
|