-
Notifications
You must be signed in to change notification settings - Fork 364
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
feat: streaming updates python client [MD-246] #8778
Conversation
80dc1ee
to
1c35290
Compare
a0b958c
to
87bd990
Compare
✅ Deploy Preview for determined-ui canceled.
|
87bd990
to
e3c6e26
Compare
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8778 +/- ##
==========================================
+ Coverage 47.19% 47.21% +0.02%
==========================================
Files 1155 1162 +7
Lines 175115 175914 +799
Branches 2237 2237
==========================================
+ Hits 82648 83064 +416
- Misses 92309 92692 +383
Partials 158 158
Flags with carried forward coverage won't be shown. Click here to find out more.
|
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.
Works as expected
e3c6e26
to
6e82c5e
Compare
cde2786
to
3d45715
Compare
master/cmd/stream-gen/main.go
Outdated
overwritten if it would be modified. | ||
|
||
If --stamp is provided, the STAMP file will be touched after a successful run, which is useful for | ||
integration with build systems. |
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.
I'm curious how the stamp file is used for integration with build systems. Is there an example in the code base that I can take a look at?
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.
you know, looking at this... there isn't a good reason for a --stamp
output with how this function behaves. I'll just remove this.
3d45715
to
5af6e2b
Compare
I need to figure out the CI situation here before landing this. The code generation may complicate the relationships between stages. Ugh. |
This includes a new code generator. Our existing code generation is proto -> openapi -> tweaks -> python, with an alternate proto -> go path for the server code. This is more direct, it's go -> python; the go code is the source of truth and we can write the generator in go to use go's ast package.
no... that's not right. CI is fine. Since we still commit generated code, the I will include |
5af6e2b
to
045e508
Compare
This includes a new code generator. Our existing code generation is proto -> openapi -> tweaks -> python, with an alternate proto -> go path for the server code. This is more direct, it's go -> python; the go code is the source of truth and we can write the generator in go to use go's ast package.
This includes a new code generator.
Our existing code generation is proto -> openapi -> tweaks -> python, with an alternate proto -> go path for the server code.
This is more direct, it's go -> python; the go code is the source of truth and we can write the generator in go to use go's ast package.
Test Plan
Feature is not yet user-facing. Automated testing is sufficient.
Commentary
I configured the PR against the streaming updates "core functionality" feature branch lands for reviewability, but I plan on landing it to main after that branch lands.