Skip to content

Import binder transport implementation#26901

Merged
sifmelcara merged 1 commit intogrpc:masterfrom
sifmelcara:import-transport-source-2021-08-05
Aug 10, 2021
Merged

Import binder transport implementation#26901
sifmelcara merged 1 commit intogrpc:masterfrom
sifmelcara:import-transport-source-2021-08-05

Conversation

@sifmelcara
Copy link
Copy Markdown
Contributor

This commit imports the transport implementation from internal
repository. (Some updates to existing wire_format code are also included)

After this, we still need to import codes that creates channel, unit
tests and e2e test to complete the transition to GitHub.

@sifmelcara sifmelcara added the release notes: no Indicates if PR should not be in release notes label Aug 5, 2021
@sifmelcara sifmelcara force-pushed the import-transport-source-2021-08-05 branch 3 times, most recently from f973c50 to 40b4893 Compare August 6, 2021 01:29
@sifmelcara sifmelcara force-pushed the import-transport-source-2021-08-05 branch from 40b4893 to af6bdd4 Compare August 6, 2021 19:58
@sifmelcara sifmelcara requested a review from ctiller August 6, 2021 20:04
@sifmelcara
Copy link
Copy Markdown
Contributor Author

Hi Craig can you help take a look at our transport implementation (transport/ folder)? You might notice that there are some missing pieces and some TODO items left in the transport implementation, but the code does work and we think the transport API will get replaced in the future anyway so didn't try to resolve them for now.

Thanks!

Copy link
Copy Markdown
Member

@ctiller ctiller left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suspect this is too much for me to review thoroughly at once, and there are no tests.

The most I can say is it looks consistent with the rest of the codebase.

This commit imports the transport implementation from internal
repository. (Some updates to existing wire_format code are also included)

After this, we still need to import codes that creates channel, unit
tests and e2e test to complete the transition to GitHub.
@sifmelcara sifmelcara force-pushed the import-transport-source-2021-08-05 branch from af6bdd4 to aecea6c Compare August 9, 2021 23:40
@sifmelcara
Copy link
Copy Markdown
Contributor Author

Thanks! We do have gtests that covers the transport implementation in internal repository, but due to the difference between cc_test and grpc_cc_test, we cannot use scripts to port them to GitHub. So we decide to manually port those tests to GitHub at once after we finished porting all the other code and transit our development to GitHub. (1 PR left after this PR)

@sifmelcara sifmelcara requested a review from TaWeiTu August 10, 2021 00:30
Copy link
Copy Markdown
Contributor

@TaWeiTu TaWeiTu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lacks some server-side connection features (done in internal repo) and there are known concurrency issue which I'm trying to fix. But for now I think this version works on our end-to-end tests (consists of different kinds of synchronized RPC calls).

Maybe I can try pushing a PR with tests so that it's easier to review?

@sifmelcara sifmelcara merged commit 0ef8507 into grpc:master Aug 10, 2021
@sifmelcara
Copy link
Copy Markdown
Contributor Author

This lacks some server-side connection features (done in internal repo) and there are known concurrency issue which I'm trying to fix. But for now I think this version works on our end-to-end tests (consists of different kinds of synchronized RPC calls).

Yeah we will keep syncing from internal repo for now.

Maybe I can try pushing a PR with tests so that it's easier to review?

Discussed offline

dennycd pushed a commit to dennycd/grpc that referenced this pull request Aug 11, 2021
This commit imports the transport implementation from internal
repository. (Some updates to existing wire_format code are also included)

After this, we still need to import codes that creates channel, unit
tests and e2e test to complete the transition to GitHub.
Vignesh2208 pushed a commit to Vignesh2208/grpc that referenced this pull request Aug 20, 2021
This commit imports the transport implementation from internal
repository. (Some updates to existing wire_format code are also included)

After this, we still need to import codes that creates channel, unit
tests and e2e test to complete the transition to GitHub.
lidizheng pushed a commit to lidizheng/grpc that referenced this pull request Sep 23, 2021
This commit imports the transport implementation from internal
repository. (Some updates to existing wire_format code are also included)

After this, we still need to import codes that creates channel, unit
tests and e2e test to complete the transition to GitHub.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

release notes: no Indicates if PR should not be in release notes

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants