CI Tests: PowerShellEditorServices build cannot restore .NET reference packs (NuGet feed returns 401), failing every branch since 2026-06-25
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 2/5
- Tiempo estimado
- 1-3 horas
- Aptitud para principiantes
- 78/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- github-actions, powershell, yaml
- Área
- build-system, ci-cd
Línea de trabajo
Comienza con ci-test.yml y el PowerShellEditorServices/nuget.config del checkout; sigue cómo el paso Build, test and package restaura los paquetes de referencia de .NET. Aplica la corrección de source o checkout aprobada por los mantenedores, luego vuelve a ejecutar CI Tests y confirma que las pruebas de la extensión se ejecutan con una restauración exitosa.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
CI Tests has failed on every branch since 2026-06-25, including main (the last successful run was 2026-06-25). It fails in the Build, test and package step while building the sibling PowerShellEditorServices checkout, before any of this repository's own tests run:
error : Failed to download package 'Microsoft.NETCore.App.Ref.8.0.31' from 'https://pkgs.dev.azure.com/powershell/.../nuget/v3/flat2/microsoft.netcore.app.ref/8.0.31/microsoft.netcore.app.ref.8.0.31.nupkg'.
error : Response status code does not indicate success: 401 (Unauthorized - No local versions of package 'microsoft.netcore.app.ref'; please provide authentication to access versions from upstream that have not yet been saved to your feed.)
PowerShellEditorServices/nuget.config clears all sources and only lists https://pkgs.dev.azure.com/powershell/PowerShell/_packaging/powershell/nuget/v3/index.json. That feed's index.json is public (HTTP 200), but package downloads return 401 to anonymous clients, for both the name-based and GUID-based URLs, e.g. microsoft.netcore.app.ref 8.0.19 and 8.0.31. The same package is publicly downloadable from nuget.org (HTTP 302). Since ci-test.yml checks out PSES's default branch and builds it, public GitHub runners can no longer restore these .NET reference packs.
Effect: no PR can get a green CI Tests run; several PRs (e.g. #5558) are stuck on this.
Workaround that unblocks a run — add nuget.org to the sources after checking out PSES (see the temporary commit in #5558):
- name: Add nuget.org to the PowerShellEditorServices sources
shell: pwsh
run: |
# keep the PowerShell feed, add nuget.org as a fallback for the ref packs
With it, the build succeeds and the extension's tests actually execute (the remaining macOS failure in that run was the unrelated, flaky VS Code Insiders download: spawn ... Electron ENOENT).
Suggested fixes (maintainer's call):
- Add
nuget.orgtoPowerShellEditorServices/nuget.config, or enable anonymous upstream access on the feed. - Check out a pinned PSES tag in
ci-test.ymlrather than its default branch.
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.9k
- Forks
- 548
- Métricas de merge de PR
- Sin PR fusionados en 30 d
Guía de contribución
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de PowerShell/vscode-powershell
-
[aw] Agentic Issue Triage failed Abiertoagentic-workflows
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
PowerShell/vscode-powershell#5599 · 3 comentarios ·
-
[aw] Agentic Issue Triage failed Abiertoagentic-workflows
Dificultad 2/5 1-3 horas Aptitud para principiantes 62/100
PowerShell/vscode-powershell#5583 · 1 comentario ·
-
powershell.scriptAnalysis.settingsPath (Description): Warning Message Should Provide A Workaround AbiertoArea-Code Formatting Issue-Enhancement
Dificultad 1/5 Menos de una hora Aptitud para principiantes 68/100
PowerShell/vscode-powershell#4653 · 3 comentarios · 4 reacciones ·
-
nothing AbiertoIssue-Bug Needs: Triage
Dificultad 5/5 Más de una semana Aptitud para principiantes 5/100
PowerShell/vscode-powershell#5603 · 1 reacción ·
-
agentic-workflows
Dificultad 3/5 1-2 días Aptitud para principiantes 52/100
PowerShell/vscode-powershell#5602 ·
Todos los issues de PowerShell/vscode-powershell
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
-
area:tools bug good first issue help wanted priority:P2
Dificultad 2/5 1-3 horas Aptitud para principiantes 90/100
TaewoooPark/Motifcode#14 ·
-
bug
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
newrelic-experimental/preflight#793 · 1 comentario ·
-
bug 🐞
Dificultad 2/5 1-3 horas Aptitud para principiantes 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) Abierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
BasedHardware/omi#15320 ·