-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Client Domain Structure of Callers and Handlers should match Agent Callers and Handlers #567
Conversation
Yea make sure that Default exports, and utility function structure, and update all imports elsewhere, and have a look at tests too. Make sure to rebase on staging when ready for review too. |
Name of the PR should be more descriptive. I'm changing it. |
I think #565 should also be fixed here. |
@tegefaulkes go over ClientService, there might be a little things wrong about it, I couldn't quite figure out how to implement StartStop that well |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Two small things stand out, otherwise seems good.
I'm taking over this. Will note all things missing.
@addievo don't touch anything. |
Client service I think is a bit broken. Will need to fix it. |
6958b99
to
61f2b6e
Compare
* all client/handlers now default export + index now imports and exports default * server manifest in index.ts now * `client service handlers no longer need to use `Promise<PolykeyAgent>` due to changing to Start/Stop` * `ClientService` is changed to `StartStop`
61f2b6e
to
90e6a19
Compare
Rebased on top of staging. There are test failures here... could it be due to import changes? |
Agent handlers were not aligned properly... just noticed this. File naming wasn't done correctly. |
Ok so now we are just in the tedious process of updating all the |
Should be finished in a next hr or so, just need confirmation on why that password behaviour is happening. @tegefaulkes |
All tests in
Why are we testing small things, and not the big things? This needs to be done as we are deploying and reviewing the UX. |
cedc6d7
to
9838c1c
Compare
BTW @amydevs when sanity checking final build, what I do is |
Description
The client domain is out of spec with the updated node domain. The goal of this PR is to match spec of client domain with nodes domain.
Issues Fixed
client
domain structure #563ClientService
toStartStop
#565Tasks
ServerManifest
was moved into theindex.ts
.client/callers
.clientManifest
was moved intoclient/callers/index.ts
.errors.ts
,types.ts
andutils.ts
are inclient
directory now.ClientService
tostartStop
.tests/client
Final checklist