Skip to content

Conversation

@surgupta-msft
Copy link
Contributor

@surgupta-msft surgupta-msft commented Jan 5, 2026

Issue describing the changes in this PR

resolves https://dev.azure.com/azfunc/internal/_workitems/edit/4428

Pull request checklist

IMPORTANT: Currently, changes must be backported to the in-proc branch to be included in Core Tools and non-Flex deployments.

  • Backporting to the in-proc branch is not required
    • Otherwise: Link to backporting PR
  • My changes do not require documentation changes
    • Otherwise: Documentation issue linked to PR
  • My changes should not be added to the release notes for the next release
    • Otherwise: I've added my notes to release_notes.md
  • My changes do not need to be backported to a previous version
    • Otherwise: Backport tracked by issue/PR #issue_or_pr
  • My changes do not require diagnostic events changes
    • Otherwise: I have added/updated all related diagnostic events and their documentation (Documentation issue linked to PR)
  • I have added all required tests (Unit tests, E2E tests)

Additional information

Adding a log to check whether any component is setting the environment variable "LocalSitePackagesPath" to a value other than "/local/sitepackages".

@surgupta-msft surgupta-msft requested a review from a team as a code owner January 5, 2026 20:58
Copilot AI review requested due to automatic review settings January 5, 2026 20:58
Copy link
Contributor

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.

Pull request overview

This pull request adds diagnostic logging to track the LocalSitePackages environment variable value and the resolved path used during package deployment on Linux containers. This helps troubleshoot configuration issues in Azure Functions runtime specialization.

  • Adds logging to record both the environment variable value and the resolved path
  • Refactors the environment variable retrieval logic to separate the raw value from the resolved value

…romPackageHandler.cs

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
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