-
Notifications
You must be signed in to change notification settings - Fork 33
feat!: monitoring convert to typescript #360
Conversation
6336365
to
2a86bab
Compare
Codecov Report
@@ Coverage Diff @@
## master #360 +/- ##
=========================================
Coverage ? 76.59%
=========================================
Files ? 8
Lines ? 14628
Branches ? 287
=========================================
Hits ? 11205
Misses ? 3417
Partials ? 6
Continue to review full report at Codecov.
|
Good news is that system tests pass on Kokoro (that means that the permission denied error is something related to your account setup). As for samples tests, there are some path templates missing which make them fail. We need to discuss with @xiaozhenliu-gg5 (who knows most about path templates :) ) and see if their omission is indended or not. |
this should be fixed by googleapis/gapic-generator-typescript#239 |
@summer-ji-eng since it has breaking changes now (path template helper names), I changed the title to |
Agree. Thanks for reminding. |
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 with one nit (google-gax
version). Thank you!
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.
we should either try to get onto @JustinBeckwith's@2.x.x branch of gts
, or add eslint
as well for the JavaScript files in the samples directory 👌
otherwise things are looking good to me.
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.
Mostly LGTM. I'd like to block on making sure we fix URLs in the upstream monitoring protos and get them synced to third party. If it's broken here, it's broken 7 other times.
Thanks Justin, could you show me how to fix URLs or who should I contact to fix URLs? UPDATE:: Alex showed me how. I will fix the URLs in upstream. |
@summer-ji-eng Can you try adding back the As for the source protos, I'll show where they are in the chat room. |
@JustinBeckwith Could you give us suggestion here? Is @2.x.x |
I don't think we want to start messing with
I think we were missing the change in the |
…toring into summer_conversion
package.json
Outdated
@@ -32,9 +32,16 @@ | |||
"samples-test": "cd samples/ && npm link ../ && npm install && npm test && cd ../", | |||
"system-test": "mocha build/system-test", | |||
"test": "c8 mocha build/test", | |||
<<<<<<< HEAD |
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.
that don't look right :)
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.
Weird, it doesn't show on my local. The latest commit doesn't contain these "HEAD".
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 looking good to me; we should make sure before we merge that we clearly document what changes are breaking (that we know of).
change the body of your commit message when squashing to:
BREAKING CHANGE: description of breaking changes.
👍
@summer-ji-eng Please regen the code once more (run It might change the code and we want to include it here. |
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.
Perfect! Well done 🎉
BREAKING CHANGE: generated client in typescript changed the path template helper names
deleted js file and add js from generator
update package.json
correct the path of template in the samples test
npm install 👍
npm test👍
npm run lint👍
npm run docs-test👍
npm run system-test👍
npm run samples-test👍