Skip to content
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

Merged
merged 6 commits into from
Jul 10, 2024

Conversation

nand4011
Copy link
Collaborator

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.

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.
@nand4011 nand4011 requested a review from a team June 14, 2024 22:39
Switch the android build on github to ubuntu, since it is now
recommended as the faster and cheaper way of running and android
emulator.
@malandis
Copy link

@nand4011 Is this ready for review or should I wait till the android build passes?

@bruuuuuuuce
Copy link

@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.
@nand4011
Copy link
Collaborator Author

nand4011 commented Jul 1, 2024

You can review it. They android build issue is a github thing that I need to figure out.

cprice404
cprice404 previously approved these changes Jul 8, 2024
Copy link
Contributor

@cprice404 cprice404 left a 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.
@nand4011 nand4011 requested a review from cprice404 July 10, 2024 21:46
Copy link
Contributor

@cprice404 cprice404 left a 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

.github/workflows/ci.yml Show resolved Hide resolved
@nand4011 nand4011 requested a review from cprice404 July 10, 2024 22:02
Copy link
Contributor

@cprice404 cprice404 left a comment

Choose a reason for hiding this comment

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

home

@nand4011 nand4011 merged commit 89a795d into main Jul 10, 2024
4 checks passed
@nand4011 nand4011 deleted the runtime-version branch July 10, 2024 22:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants