-
Notifications
You must be signed in to change notification settings - Fork 1
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: add runtime version metadata to the first Momento call #66
Conversation
Add a new Runtime-Version key to the metadata of the first Momento call made by a client. It contains JVM or Android-specific version info. Move the implementation-specific sdk and runtime version logic into an expect class with jvm and android versions.
Switch the android build on github to ubuntu, since it is now recommended as the faster and cheaper way of running and android emulator.
@nand4011 Is this ready for review or should I wait till the android build passes? |
@nand4011 just bumping this I saw this come up in my github notifications |
Add client type to agent string. Switch isUserAgentSent in UserHeaderInterceptor to a local variable so the agent header will be sent with every client creation instead of once per run of the program.
You can review it. They android build issue is a github thing that I need to figure out. |
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 once CI is green
Use ubuntu 22.04 instead of ubuntu latest for running the android tests because the emulator runner has issues on 24.04 ReactiveCircus/android-emulator-runner#400 Add some improved test failure messages.
e74abde
to
2f60914
Compare
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.
looks good to me, just one minor nit
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.
Add a new Runtime-Version key to the metadata of the first Momento call made by a client. It contains JVM or Android-specific version info.
Move the implementation-specific sdk and runtime version logic into an expect class with jvm and android versions.