Page MenuHomePhabricator

[lib] Pass allKeyserverIDs on in getBoundKeyserverActionFunc
ClosedPublic

Authored by ashoat on Jan 18 2024, 12:49 PM.
Tags
None
Referenced Files
F3393536: D10723.diff
Sat, Nov 30, 2:42 PM
Unknown Object (File)
Thu, Nov 21, 12:12 PM
Unknown Object (File)
Wed, Nov 13, 6:14 AM
Unknown Object (File)
Wed, Nov 13, 6:14 AM
Unknown Object (File)
Oct 22 2024, 4:58 PM
Unknown Object (File)
Oct 22 2024, 4:58 PM
Unknown Object (File)
Oct 22 2024, 4:58 PM
Unknown Object (File)
Oct 13 2024, 11:47 PM
Subscribers

Details

Summary

This diff resolves ENG-6469. Context on allKeyserverIDs in this code comment.

I accidentally left it out in D10695. This code should have mirrored the non-global version here.

I'm not sure how I missed this during testing. I recall testing web and seeing that it loaded, which was definitely not the case after I tested again after receiving @kamil's report.

Test Plan

I am able to repro the issue before this diff. After this diff, the web app loads normally and I don't see any relevant entries in the console log

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

ashoat published this revision for review.Jan 18 2024, 12:51 PM

Publishing early since it resolves an urgent issue (ENG-6469)

lib/keyserver-conn/call-keyserver-endpoint-provider.react.js
392โ€“395 โ†—(On Diff #35846)

This will get recalculated any time keyserverCallInfos changes at all, but that's okay because:

  1. keyserverCallInfos is optimized to rarely change by using useDerivedObject
  2. callKeyserverEndpoint already depends on keyserverCallInfos by way of getCallSingleKeyserverEndpoint
This revision is now accepted and ready to land.Jan 18 2024, 12:57 PM