Skip to content

Conversation

@zhiyuanliang-ms
Copy link
Member

@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 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
Member 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.

3 participants