Modifying the keyserver by setting a parameter of a hook appeared to be really complicated when we don't know the keyserver when rendering a component. This diff allows overriding when calling a function.
Depends on D10308
Paths
| Differential D10311 Authored by tomek on Dec 12 2023, 4:12 AM.
Details Summary Modifying the keyserver by setting a parameter of a hook appeared to be really complicated when we don't know the keyserver when rendering a component. This diff allows overriding when calling a function. Depends on D10308 Test Plan Check if calling link verification works with default and overridden keyserver.
Diff Detail
Event TimelineHerald added a subscriber: ashoat. ยท View Herald TranscriptDec 12 2023, 4:12 AM2023-12-12 04:12:46 (UTC-8) Harbormaster completed remote builds in B24990: Diff 34530.Dec 12 2023, 5:04 AM2023-12-12 05:04:43 (UTC-8) Harbormaster completed remote builds in B24991: Diff 34531.Dec 12 2023, 5:51 AM2023-12-12 05:51:21 (UTC-8) tomek added inline comments.
Comment Actions Probably fix the override. This still requires a lot of testing and thinking about Harbormaster completed remote builds in B25019: Diff 34565.Dec 13 2023, 6:51 AM2023-12-13 06:51:36 (UTC-8) Comment Actions This diff still has an issue: when calling a new keyserver, it returns sessionChange which causes setNewSession to be dispatched - this results in the keyserver being added to a store in an incorrect way and breaks more things down the line. Comment Actions
I'm seeing the same thing with the getVersion call in the new registration flow. Created ENG-6097 to track. Harbormaster completed remote builds in B26420: Diff 36530.Feb 1 2024, 8:17 AM2024-02-01 08:17:38 (UTC-8)
Revision Contents
Diff 36530 lib/actions/link-actions.js
lib/utils/keyserver-call.js
|