CI Tests: PowerShellEditorServices build cannot restore .NET reference packs (NuGet feed returns 401), failing every branch since 2026-06-25
まだ誰も着手していません。
評価
- 難易度
- 2/5
- 見積もり時間
- 1〜3時間
- 初心者へのやさしさ
- 78/100
- issue の種類
- バグ
- 明瞭さ
- 明確に書かれている
- 活発さ
- 活発
- 技術スタック
- github-actions, powershell, yaml
- 領域
- build-system, ci-cd
調査の方向性
ci-test.yml とチェックアウト済みの PowerShellEditorServices/nuget.config から始め、Build, test and package ステップが .NET reference packs を復元する流れを追跡します。メンテナーが承認した source または checkout の修正を適用し、その後 CI Tests を再実行して、拡張機能のテストが復元に成功した状態で実行されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
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.
- 主要言語
- TypeScript
- スター
- 1.9k
- フォーク
- 548
- PR マージ指標
- 30日以内にマージされた PR はありません
コントリビューションガイド
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
PowerShell/vscode-powershell のほかの issue
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
PowerShell/vscode-powershell#5599 · コメント 3 件 ·
-
agentic-workflows
難易度 2/5 1〜3時間 初心者へのやさしさ 62/100
PowerShell/vscode-powershell#5583 · コメント 1 件 ·
-
powershell.scriptAnalysis.settingsPath (Description): Warning Message Should Provide A Workaround オープンArea-Code Formatting Issue-Enhancement
難易度 1/5 1時間未満 初心者へのやさしさ 68/100
PowerShell/vscode-powershell#4653 · コメント 3 件 · リアクション 4 件 ·
-
nothing オープンIssue-Bug Needs: Triage
難易度 5/5 1週間以上 初心者へのやさしさ 5/100
PowerShell/vscode-powershell#5603 · リアクション 1 件 ·
-
agentic-workflows
難易度 3/5 1〜2日 初心者へのやさしさ 52/100
PowerShell/vscode-powershell#5602 ·
PowerShell/vscode-powershell の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
-
area:tools bug good first issue help wanted priority:P2
難易度 2/5 1〜3時間 初心者へのやさしさ 90/100
TaewoooPark/Motifcode#14 ·
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
newrelic-experimental/preflight#793 · コメント 1 件 ·
-
bug 🐞
難易度 2/5 1〜3時間 初心者へのやさしさ 68/100
-
[Bounty proposal] fix(web): memory insights count an evening memory on the next day ($25 proposed) オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 84/100
BasedHardware/omi#15320 ·