Skip to content

Add feature management package version tracing #153

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

Merged
merged 3 commits into from
Feb 10, 2025

Conversation

zhiyuanliang-ms
Copy link
Contributor

@zhiyuanliang-ms zhiyuanliang-ms commented Jan 15, 2025

Why this PR?

Collect JS FM package version usage in request tracing

Note that there is an exported constant VERSION in JS FM package. This is by design to be a hook for us to know the package version.

Copy link

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

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

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Comments suppressed due to low confidence (2)

src/AzureAppConfigurationImpl.ts:332

  • Ensure that 'VERSION' is a valid property of the imported package. If it is not, this could lead to unexpected behavior.
this.#fmVersion = fmPackage?.VERSION;

src/AzureAppConfigurationImpl.ts:326

  • [nitpick] Consider renaming '#isPackageInspected' to '#isFmPackageInspected' for better clarity and consistency.
async #ensurePackageInspected() {

@zhiyuanliang-ms
Copy link
Contributor Author

@jimmyca15 @Linglingye @zhenlan @rossgrambo @mrm9084 @juniwang

I want to merge this PR before we stablize v2. Could you help review this PR please?

@zhiyuanliang-ms zhiyuanliang-ms merged commit ca7c5bb into preview Feb 10, 2025
4 checks passed
@zhiyuanliang-ms zhiyuanliang-ms deleted the zhiyuanliang/fm-version-tracing branch February 10, 2025 09:10
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.

2 participants