Open e-simo opened 1 year ago
First of all thank you @e-simo for installing and trying it out...AND reporting back! Is this a repro that is public I can try myself? If not is it GitHub Enterprise?
@e-simo I suspect there might be an exception happening in loading the repo workflow information (since you said secrets are shown). I just published a small update to log the widest exception to the output window. If you can take that update and see if it shows anything in output windows, that would be great.
I'm happy to debug your repo as well if it is public (or you are comfortable adding me as a member for a small bit)
@timheuer Thanks for the feedback. The repository is not public, it's a private repo of a client I am working with. If I can help you in some other way, just let me know. We can even have a quick online call if you wish.
@timheuer Thanks for the feedback. The repository is not public, it's a private repo of a client I am working with. If I can help you in some other way, just let me know. We can even have a quick online call if you wish.
Got it -- if you can try the latest version update (0.1.70) and see if an exception shows up, that'd be good.
@timheuer reinstalled the new version and I got this exceptions:
System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Octokit.Internal.HttpClientAdapter.
Also i don't know if it helps, but i am able to browse to the actions when i press Open Repo in Browser button.
For any further help, let me know.
It gives me a pointer! This is trying to retrieve Environments...I wonder if there is a permission thing here...looking
Ok, I think 0.1.71 may resolve your issue...let me know. Also added a few more output logging.
hmm still not. Pasting the output log and the exceptions again:
Extension settings retrieved and applied Loading Secrets... Number of Repository Secrets found: 1 Loading Environments... Loading Workflows... Loading Workflow Runs...
System.Threading.Tasks.TaskCanceledException: A task was canceled.
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Octokit.Internal.HttpClientAdapter.1.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at GitHubActionsVS.GHActionsToolWindow.<RefreshEnvironmentsAsync>d__14.MoveNext() in D:\a\GitHubActionsVS\GitHubActionsVS\src\ToolWindows\GHActionsToolWindow.xaml.cs:line 274 System.Threading.Tasks.TaskCanceledException: A task was canceled. at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Octokit.Internal.HttpClientAdapter.<SendAsync>d__10.MoveNext() in /_/Octokit/Http/HttpClientAdapter.cs:line 199 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Octokit.Internal.HttpClientAdapter.<Send>d__3.MoveNext() in /_/Octokit/Http/HttpClientAdapter.cs:line 50 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Octokit.Connection.<RunRequest>d__64.MoveNext() in /_/Octokit/Http/Connection.cs:line 704 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Octokit.Connection.<Run>d__63
1.MoveNext() in /_/Octokit/Http/Connection.cs:line 695
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Octokit.ApiConnection.1.<<GetAll>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Octokit.ApiPagination.<GetAllPages>d__0
1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Octokit.ActionsWorkflowsClient.d12.MoveNext() in //Octokit/Clients/ActionsWorkflowsClient.cs:line 246
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at GitHubActionsVS.GHActionsToolWindow.
1.MoveNext() in /_/Octokit/Http/Connection.cs:line 695 --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Octokit.ApiConnection.<GetPage>d__46
1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Octokit.ApiConnection.<>cDisplayClass19_01.<<GetAll>b__0>d.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task) at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task) at Octokit.ApiPagination.<GetAllPages>d__0
1.MoveNext()
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at Octokit.ActionsWorkflowRunsClient.d_3.MoveNext() in //Octokit/Clients/ActionsWorkflowRunsClient.cs:line 70
--- End of stack trace from previous location where exception was thrown ---
at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw()
at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)
at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)
at GitHubActionsVS.GHActionsToolWindow.
13.MoveNext() in D:\a\GitHubActionsVS\GitHubActionsVS\src\ToolWindows\GHActionsToolWindow.xaml.cs:line 169
Note that under Environments it shows now: Unable to retrieve Environments, please check logs.
Current Branch and Workflows still not populated.
Thanks @e-simo I have to think it is a bit of a permission thing. The exception details not enough here, but added some more Api logging to see if the message will come through. Pushing a new release now with this logging.
Installed the extension. It stays loading for a minute and so but it does not populate Current Branch, and Workflow section, even though i am sucessfully connected to the branch. It recognizes Secrets though.