Skip to content

Fix Packager base dir for Azure Arc - #371

Merged
kjohn-msft merged 1 commit into
masterfrom
garamrak-archf
Jul 30, 2026
Merged

Fix Packager base dir for Azure Arc#371
kjohn-msft merged 1 commit into
masterfrom
garamrak-archf

Conversation

@GAURAVRAMRAKHYANI

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 30, 2026 06:31

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adjusts the packager script so the generated extension ZIP is built from the intended output directory contents, aligning the archive layout with Azure Arc’s expectations.

Changes:

  • Updates shutil.make_archive(...) to use base_dir='.' instead of base_dir='..' when zipping from the out/ directory, preventing parent-directory content from being included and avoiding .. path entries in the archive.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@codecov

codecov Bot commented Jul 30, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 94.10%. Comparing base (fc7f336) to head (2d73fc2).

Additional details and impacted files
@@           Coverage Diff           @@
##           master     #371   +/-   ##
=======================================
  Coverage   94.10%   94.10%           
=======================================
  Files         109      109           
  Lines       20642    20642           
=======================================
  Hits        19425    19425           
  Misses       1217     1217           
Flag Coverage Δ
python27 94.10% <ø> (ø)
python312 94.10% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@kjohn-msft
kjohn-msft merged commit e5a907b into master Jul 30, 2026
10 checks passed
@kjohn-msft
kjohn-msft deleted the garamrak-archf branch July 30, 2026 06:40
kjohn-msft pushed a commit that referenced this pull request Jul 30, 2026
This release contains:
- Fix Packager base dir for Azure Arc
[#371](#371)
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