Page MenuHomePhabricator

[services] Blob - Pull more mutual code from base reactors - Add base reactor
ClosedPublic

Authored by karol on Apr 20 2022, 4:01 AM.
Tags
None
Referenced Files
Unknown Object (File)
Mon, Jul 1, 2:18 AM
Unknown Object (File)
Sun, Jun 30, 8:52 PM
Unknown Object (File)
Sun, Jun 30, 5:17 PM
Unknown Object (File)
Sun, Jun 30, 8:14 AM
Unknown Object (File)
Sun, Jun 30, 8:14 AM
Unknown Object (File)
Sun, Jun 30, 8:14 AM
Unknown Object (File)
Sun, Jun 30, 8:14 AM
Unknown Object (File)
Sun, Jun 30, 8:14 AM

Details

Summary

Depends on D3787

https://linear.app/comm/issue/ENG-916/consider-pulling-more-mutual-code-from-the-async-reactors

Adding a master base reactor for all reactors to the blob service

This is the same code as in D3785

Test Plan
cd services
yarn run-blob-service

Diff Detail

Repository
rCOMM Comm
Lint
Lint Not Applicable
Unit
Tests Not Applicable

Event Timeline

This is just a copy of D3785... wondering, can we share the BaseReactor definition across services, or is there some reason that it has to be different?

Sorry, added a note to the description that it is a copy

ashoat requested changes to this revision.Apr 22 2022, 11:18 AM

See my question above: can we share the BaseReactor definition across services, or is there some reason that it has to be different? (Will request changes this time to make sure it's noticed)

This revision now requires changes to proceed.Apr 22 2022, 11:18 AM
ashoat requested changes to this revision.Apr 28 2022, 11:45 AM

can we share the BaseReactor definition across services, or is there some reason that it has to be different?

See my question above: can we share the BaseReactor definition across services, or is there some reason that it has to be different? (Will request changes this time to make sure it's noticed)

Not sure if this is addressed on another diff, but I don't see an answer here...

This revision now requires changes to proceed.Apr 28 2022, 11:45 AM

I have the same questions as in D3785.

Also, I think that prioritizing code sharing is a really good idea.

Cool thanks, let's follow-up on the task

This revision is now accepted and ready to land.Apr 30 2022, 4:10 PM