-
Notifications
You must be signed in to change notification settings - Fork 40
feat: typescript conversion on video-intelligence #375
Conversation
Codecov Report
@@ Coverage Diff @@
## master #375 +/- ##
===========================================
+ Coverage 25.65% 89.93% +64.27%
===========================================
Files 38 12 -26
Lines 9135 2463 -6672
Branches 0 154 +154
===========================================
- Hits 2344 2215 -129
+ Misses 6791 243 -6548
- Partials 0 5 +5
Continue to review full report at Codecov.
|
const VideoIntelligenceServiceClient = v1.VideoIntelligenceServiceClient; | ||
const StreamingVideoIntelligenceServiceClient = | ||
v1p3beta1.StreamingVideoIntelligenceServiceClient; | ||
export { |
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.
Just for confirmation, we want StreamingVideoIntelligenceServiceClient
from v1p3beta1
as default, correct?
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.
StreamingVideoIntelligenceServiceClient is new Client introduced in v1p3beta1. I am not 100% sure if we want put it in export default. @alexander-fenster could you give me suggestion? Thanks
Seems these two tests fail for
And there's assertion error, that means, it got some results which is different from the expectation. Please debug a little bit, it might be useful to trace back when it starts to fail, and what changes did you make. Thank you! |
Sometime the system test passed and sometimes failed. It fails because call to |
) | ||
|
||
# skip index, protos, package.json, and README.md | ||
s.copy(library, excludes=["package.json", "README.md", "src/index.js", "smoke-test/video_intelligence_service_smoke_test.js"]) | ||
s.copy(library, excludes=["package.json", "README.md", "src/index.ts", |
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.
Are we still generating smoke tests like this? Seems snowflakey :)
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.
This is not a real "smoke test", it's a system test that is not named properly. @summer-ji-eng The new generator does not make any smoke tests, so we should just "upgrade" the generated smoke test to a system test and commit it into system-tests
folder once and forever.
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.
LGTM w/ nit
docs-test fails due to broken link, fixing in https://critique-ng.corp.google.com/cl/298705338
Other than that, it is ready to review.