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 instance stats to version check #3835

Merged
merged 11 commits into from
Jun 13, 2023

Conversation

daveleek
Copy link
Contributor

About the changes

Adds feature usage info and custom strategy counters to the version check object.

Closes #

Important files

Discussion points

@vercel
Copy link

vercel bot commented May 23, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
unleash-docs ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 13, 2023 1:41pm
unleash-monorepo-frontend ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 13, 2023 1:41pm

@@ -23,11 +26,20 @@ export interface IVersionResponse {
latest: boolean;
}

export interface IFeatureUsageInfo extends InstanceStats {
Copy link
Member

Choose a reason for hiding this comment

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

My gut feels is that IFeatureUsageInfo is a sub interface of InstanceStats by coincidence rather than a thing that should always be true. We may very well choose to change both these data blobs in ways that make the other one sad. I would just create a new interface here with the same fields

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yeah good point! thanks!

@daveleek daveleek marked this pull request as ready for review May 29, 2023 13:24
@daveleek daveleek changed the title [WIP] feat: add instance stats to version check feat: add instance stats to version check May 29, 2023
Copy link
Member

@sighphyre sighphyre left a comment

Choose a reason for hiding this comment

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

LGTM!

@daveleek daveleek merged commit 98d315e into main Jun 13, 2023
17 checks passed
@daveleek daveleek deleted the feat/feature-info-in-version-check branch June 13, 2023 13:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

None yet

2 participants