Skip to content

Extension incorrectly attempts x64 update on Arm64 platform #3435

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

Closed
pb5050 opened this issue May 29, 2021 · 3 comments · Fixed by #4298
Closed

Extension incorrectly attempts x64 update on Arm64 platform #3435

pb5050 opened this issue May 29, 2021 · 3 comments · Fixed by #4298
Assignees
Labels

Comments

@pb5050
Copy link

pb5050 commented May 29, 2021

I use nothing but native arm64.....

I get this alert in visual studio code (arm64) an alert about an updated version of powershell.

Powershell Issue

when clicking it tries to install x64 version instead of arm. would be nice to have an arm installer or recognize im using arm and not x64.

@schuelermine
Copy link

This seems like it's a bug in the PowerShell extension, since there is an arm64 version available.

However, if you're on Linux, it seems there's only amd64 .deb and .rpm packages available, so that may be the reason.

@daxian-dbw daxian-dbw transferred this issue from PowerShell/PowerShell Jun 23, 2021
@ghost ghost added the Needs: Triage Maintainer attention needed! label Jun 23, 2021
@daxian-dbw daxian-dbw changed the title P PS extension incorrectly suggests update on arm64 platform Jun 23, 2021
@andyleejordan andyleejordan added Issue-Bug A bug to squash. Area-Startup and removed Needs: Triage Maintainer attention needed! labels Jun 24, 2021
@andyleejordan andyleejordan added this to the Committed-vNext milestone Jun 24, 2021
@andyleejordan
Copy link
Member

andyleejordan commented Jun 24, 2021

We (unfortunately) have our own logic in the extension to suggest updating PowerShell. Perhaps we'll fix this bug, but frankly I've been contemplating removing that logic entirely. PowerShell already has its own logic to prompt users to update; I don't think the extension has any business adding duplicative logic on top of that, especially (as evidenced by this bug, among several) that it's buggy. It's not worth the maintenance cost.

@rjmholt @SydneyhSmith thoughts?

@andyleejordan
Copy link
Member

Well, I thought this would be a moderately quick fix until I dug into it. It's worms all the way down with our own custom PowerShellProcessArchitecture that has no notion of ARM64, and in the end just queries the environment variable PROCESSOR_ARCHITECTURE in PowerShell...

@SydneyhSmith SydneyhSmith moved this from Todo to P0 - Todo in American Pharoah May 9, 2022
@SydneyhSmith SydneyhSmith removed this from the Consider-vNext milestone Aug 9, 2022
@andyleejordan andyleejordan moved this from Todo to Missed in American Pharoah Oct 4, 2022
@andyleejordan andyleejordan changed the title PS extension incorrectly suggests update on arm64 platform Extension incorrectly attempts x64 update on Arm64 platform Dec 2, 2022
Repository owner moved this from Punted to Done in American Pharoah Dec 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

4 participants