github / github/vscode-github-actions

Doesn't always pick up custom url from github-enterprise.uri

オープン
#501 コメント 0 件 リアクション 1 件 担当者 0 名 GitHub で見る
bug
主要言語
TypeScript
スター
660
フォーク
213
PR マージ指標
30日以内にマージされた PR はありません

説明

**Describe the bug**

I've been using this plugin with the GitHub Enterprise instance, that's why I have `github-enterprise.uri` set in my vscode configuration. I've occasionally been experiencing empty tiles in the GitHub Actions panels with a message like `No GitHub repositories found. Please open a folder that contains a GitHub repository.` even if I have a project with the GitHub pipelines open. However, I've been using some of the workflows in there before. If I'd toggle the `github-actions.use-enterprise` off and on all previously actions appear again. I assume the plugin doesn't correctly detect the active projects.

**To Reproduce**

Steps to reproduce the behavior:
1. Set both `github-enterprise.uri` and `github-actions.use-enterprise` parameters.
2. Authenticate as usual.
3. Open a project. Check the available GitHub Actions pipeline. All good.
4. Close all the tabs. Close the IDE.
5. Re-open the IDE (same project). Open the project. Check the available GitHub Actions. The list is empty.
6. Open any GitHub Actions workflow file by double-clicking. Check the available GitHub Actions tiles. The list is empty.
7. Go to setting and toggle the `github-actions.use-enterprise` parameter off and on. The list is now populated.

**Expected behavior**

The plugin should correctly detect the projects and the pipelines when both `github-enterprise.uri` and `github-actions.use-enterprise` are set.

**Screenshots**

N/A

**Extension Version**

0.27.2

**Additional context**

N/A

コントリビューションガイド

コントリビューションガイドを開く

調査の方向性

まず、github-enterprise.uri と github-actions.use-enterprise を有効にして、報告された手順を再現します。VS Code を再起動した後、同じプロジェクトとワークフローを再度開き、その後設定を切り替えます。その手順に関係するプロジェクトとパイプラインの検出エントリーポイントを追跡します。設定を切り替えなくても GitHub Actions パネルに内容が表示され続ければ完了です。

索引モデルが issue の本文から書いたものです。

評価

技術スタック
github, github-actions, typescript, vscode
領域
ci-cd, devtools
issue の種類
バグ
難易度
4/5
見積もり時間
3〜5日
活発さ
停滞
明瞭さ
おおむね明確
初心者へのやさしさ
38/100

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。