Commit Graph
177 Commits
Author SHA1 Message Date
Justin ChungandCopilot 7901fec9bd Move MSIX configuration coverage to elevated tests
Keep xUnit focused on pure three-scope merge and union behavior. Move the real LocalMachine write, removal, and ACL checks into the existing elevated execution-policy Pester suite, where the test runs only with MSIX package identity.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ab738c1b-4d18-491b-a40f-0515b586857b
2026-07-31 12:22:13 -05:00
Justin ChungandCopilot 638173942c Test MSIX machine configuration in package context
Remove the trivial path-composition overload and unit tests. Expose package identity through InternalTestHooks and add an elevated MSIX-gated Pester test that verifies the real LocalMachine ProgramData write and inherited ACL boundaries.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ab738c1b-4d18-491b-a40f-0515b586857b
2026-07-31 11:35:32 -05:00
Justin ChungandCopilot 213ba396e7 Simplify the MSIX config path and inherit file ACLs
Store package-family configuration directly beneath the PowerShell ProgramData directory. Keep the PowerShell and PFN directories as protected ACL boundaries while allowing the configuration file and future children to inherit the PFN permissions.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ab738c1b-4d18-491b-a40f-0515b586857b
2026-07-30 17:58:49 -05:00
Justin ChungandCopilot faa962ddd5 Keep Unix MachineFolder writes on AllUsers
Resolve an explicit MachineFolder write to the legacy AllUsers scope on Unix before selecting a path or cache entry. Compile MachineFolder directory provisioning only for Windows and cover the Unix fallback with a configuration test.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ab738c1b-4d18-491b-a40f-0515b586857b
2026-07-30 09:31:15 -05:00
Justin ChungandCopilot 469e39b3d5 Align MSIX configuration with MachineFolder model
Keep PSHOME as immutable product defaults while resolving the writable PFN-isolated ProgramData path in Utils. Redirect AllUsers writes, preserve policy and preference merge semantics, and secure the manually provisioned hierarchy without changing non-MSIX or experimental-feature behavior.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>

Copilot-Session: ab738c1b-4d18-491b-a40f-0515b586857b
2026-07-29 13:12:19 -05:00
Justin ChungandCopilot 8fc58754d7 Scope system configuration to MSIX
Remove the experimental-feature mutation cmdlets while preserving discovery.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ab738c1b-4d18-491b-a40f-0515b586857b
2026-07-28 15:43:06 -05:00
Justin Chung 381db70a0f Merge branch 'master' into relocSystemConfig 2026-07-28 14:54:41 -05:00
Justin ChungandCopilot 21ef653ff0 Use package-aware ProgramData for system configuration
Keep immutable product defaults in PSHOME while resolving writable machine configuration from ProgramData, isolated by package family for MSIX. Apply secure Windows ACLs, preserve policy and preference merge semantics, and remove Get-PowerShellConfiguration.

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
Copilot-Session: ab738c1b-4d18-491b-a40f-0515b586857b
2026-07-27 16:15:28 -05:00
PowerShell Team Bot 0c226762e2 [master] Update branch for release (#27683) 2026-07-14 22:35:53 +00:00
7d596de5f5 Fix progress bar rendering with double-width unicode characters (#26185)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Co-authored-by: Justin Chung <124807742+jshigetomi@users.noreply.github.com>
2026-06-26 11:15:10 -05:00
PowerShell Team BotandAditya Patwardhan 6ae5efcd4a [master] Update branch for release (#27582)
Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2026-06-10 15:02:31 -04:00
Justin Chung 5252a123b4 Address copilot comments second 2026-05-27 12:42:51 -05:00
Justin Chung 5ff044a4b6 Fix xUnit test configuration to use temp directory for system config location. 2026-05-27 09:53:14 -05:00
Justin Chung 8ef8ae1138 Move AllUsers config out of $PSHOME and add Get-PowerShellConfiguration cmdlet 2026-05-26 16:20:04 -05:00
PowerShell Team Bot f1aaf15413 Update branch to use the .NET 11 SDK 11.0.100-preview.4 (#27504) 2026-05-22 17:28:08 -07:00
PowerShell Team Bot 6cc1e7071d [master] Update branch for release (#27291) 2026-04-17 13:03:11 -05:00
312291762e Fix ConvertFrom-ClearlyDefinedCoordinates to handle API object coordinates (#26893)
Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: TravisEz13 <10873629+TravisEz13@users.noreply.github.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
Co-authored-by: PowerShell Team Bot <69177312+pwshBot@users.noreply.github.com>
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2026-03-10 18:16:18 -04:00
PowerShell Team BotandDongbo Wang dab346a6b7 Move PowerShell build to depend on .NET SDK 10.0.102 (#26697)
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2026-01-20 16:50:23 -08:00
PowerShell Team Bot 20382c8565 Update outdated package references (#26656) 2026-01-12 10:50:04 -08:00
PowerShell Team Bot 015b5cd801 Update build to use .NET SDK 10.0.100 (#26448) 2025-11-17 17:26:45 -08:00
df8fe254b9 Update SDK to 10.0.100-rc.2.25502.107 (#26305)
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-10-28 16:49:53 -07:00
xtqqczze f51860c1d1 Remove unused timeout variable from RemoteHyperVTests class (#26297) 2025-10-25 15:58:16 +00:00
PowerShell Team Bot ae12e4cb8c Update outdated package references (#26148) 2025-10-20 16:26:48 -07:00
xtqqczze a10ff105c9 Fix SA1028: Code should not contain trailing whitespace. Part 1. (#26203) 2025-10-16 12:58:28 +05:00
xtqqczze d2d0defd5f Fix CA1852: Seal internal types. Part 1 (#26205) 2025-10-16 05:23:32 +00:00
PowerShell Team Bot a1fad7f738 Update package references for the master branch (#26124) 2025-09-30 13:48:45 -07:00
Travis Plunk 2376e28482 Ensure that socket timeouts are set only during the token validation (#26066)
The main goal is to ensure that socket timeouts are set only during the token validation phase and are properly reset afterward, improving reliability and preventing unintended blocking or premature timeouts in subsequent operations.
2025-09-22 10:56:19 -07:00
Travis Plunk 42e86f6c5f Fix race condition in RemoteHyperVSocket (#26057) 2025-09-15 11:37:04 -07:00
PowerShell Team Bot 2fb12a31f3 Update PowerShell to use .NET SDK v10-preview.7 (#25876) 2025-08-20 14:38:09 -07:00
PowerShell Team Bot 5de50164c9 Update to .NET 10 Preview 6 (#25828) 2025-08-06 22:28:13 +00:00
PowerShell Team BotandDongbo Wang 82f016ffe2 Move to .NET 10 preview 4 and update package references (#25602)
Co-authored-by: Dongbo Wang <dongbow@microsoft.com>
2025-06-03 09:50:33 -07:00
PowerShell Team Bot af831cde4a Update outdated package references (#25506) 2025-05-04 20:45:27 +00:00
Armaan Mcleod 92c6f7a632 Add single/double quote support for Join-String Argument Completer (#25283) 2025-04-21 09:48:33 +05:00
Armaan Mcleod e308222e19 Fix WildcardPattern.Escape to escape lone backticks correctly (#25211) 2025-03-25 09:05:42 +05:00
PowerShell Team BotandTravis Plunk 94a37db4cb Update .NET SDK to 10.0.100-preview.2 (#25225)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-03-24 21:06:42 +00:00
Armaan Mcleod 94d0361d59 Add QuoteCompletionText method to CompletionHelpers class (#25180)
Unifies how quoting a given completion text works.
2025-03-22 18:04:54 +05:00
Dongbo Wang 48b25da147 Remove the old fuzzy suggestion and fix the local script file name suggestion (#25177) 2025-03-17 10:19:15 -07:00
Armaan Mcleod e8bf560787 Add XUnit test for HandleDoubleAndSingleQuote in CompletionHelpers class (#25181) 2025-03-17 09:53:01 +00:00
PowerShell Team Bot 563892f673 Update outdated package references (#25026) 2025-02-25 00:00:56 +00:00
PowerShell Team BotandTravis Plunk 6d6515b7e4 Update branch for release - Transitive - false - none (#24995)
Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2025-02-12 12:21:42 -06:00
Matěj Kafka 9071eac574 Stringify ErrorRecord with empty exception message to empty string (#24949) 2025-02-10 11:43:10 +05:00
PowerShell Team BotandAditya Patwardhan 9935033b0f Update outdated package references (#24758)
* Update package references

* Update cgmanifest

---------

Co-authored-by: Aditya Patwardhan <adityap@microsoft.com>
2025-01-16 20:55:30 +00:00
PowerShell Team Bot e7311eb08c Update outdated package references (#24580) 2025-01-06 14:03:20 -08:00
PowerShell Team BotandTravis Plunk 7db6a70b56 [master] Update branch for release (#24534)
* Update package references

* Update cgmanifest

* Update IsolatedModule.Tests.ps1

---------

Co-authored-by: Travis Plunk <travis.plunk@microsoft.com>
2024-10-31 15:15:28 -07:00
Armaan Mcleod b39b5f4252 Add ConvertTo-CliXml and ConvertFrom-CliXml cmdlets (#21063) 2024-07-26 22:12:44 +05:00
dependabot[bot] 8dfe19e577 Bump XunitXml.TestLogger from 3.1.17 to 3.1.20 (#21207) 2024-02-12 12:02:46 -08:00
dependabot[bot] 023b1f565c Bump xunit from 2.6.5 to 2.6.6 (#21071) 2024-01-16 12:39:24 -08:00
dependabot[bot] c95557096a Bump xunit from 2.6.4 to 2.6.5 (#21008) 2024-01-08 15:56:33 -08:00
dependabot[bot] 4200af1328 Bump xunit.runner.visualstudio from 2.5.5 to 2.5.6 (#20966)
Bumps [xunit.runner.visualstudio](https://github.com/xunit/visualstudio.xunit) from 2.5.5 to 2.5.6.
- [Release notes](https://github.com/xunit/visualstudio.xunit/releases)
- [Commits](https://github.com/xunit/visualstudio.xunit/compare/2.5.5...2.5.6)

---
updated-dependencies:
- dependency-name: xunit.runner.visualstudio
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 11:31:11 +05:00
dependabot[bot] 57b1c741b8 Bump xunit from 2.6.3 to 2.6.4 (#20967)
Bumps [xunit](https://github.com/xunit/xunit) from 2.6.3 to 2.6.4.
- [Commits](https://github.com/xunit/xunit/compare/2.6.3...2.6.4)

---
updated-dependencies:
- dependency-name: xunit
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-01-02 11:30:39 +05:00