microsoft / microsoft/foundry-dev-tools

Model fine-tuning selection fails after GitHub auth flow

Open
#39 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
2.1k
Forks
260
Avg merge
42m
Merged PRs (30d)
29

Description

This may be related to my GH account being tied to an organizational account. When I select model fine tuning I am prompted to authenticate with GH. Going through that flow I'm prompted which organizational accounts I want to allow access to. I do not select any. As a Microsoft employee one of the organizations offered is Microsoft, so I suspect this is the root of my problem. Generally, I don't allow access to organizations unless I know what the request is trying to consume and here I don't.

Happy to chat over Teams as well and try some things.

This is the output trace for receiving the error.

[2024-01-08T20:38:05.044Z] [INFO] telemetry event:load_catalog sent
Debug: load-catalog[0]
12:38:37.97 0 ExecuteAsync Started
Error: load-catalog[0]
12:38:38.32 0 ExecuteAsync Failed message:Error loading JSON from GitHub: GitHub API request failed with status code Forbidden stack: at WorkspaceAutomation.Catalog.GitHubDownloaderExtensions.d__11.MoveNext() + 0x77d --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at WorkspaceAutomation.WorkspaceWorkflowWizard.<LoadModelCatalogAsync>d__7.MoveNext() + 0x151 --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at WorkspaceAutomation.CLI.AILoadModelsCommand.<ExecuteInternalAsync>d__1.MoveNext() + 0xb8 --- End of stack trace from previous location --- at System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw() + 0x20 at System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task) + 0xb2 at System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task, ConfigureAwaitOptions) + 0x4b at WorkspaceAutomation.CLI.CliAsyncCommand1.d__2.MoveNext() + 0x39e
[2024-01-08T20:38:40.623Z] [INFO] telemetry event:invoke_command_error sent
[2024-01-08T20:38:47.386Z] [INFO] Navigation to comingSoon was successful: true
[2024-01-08T20:38:47.388Z] [INFO] Loading View: comingSoon

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with the GitHub authentication flow and the GitHubDownloaderExtensions.LoadJsonFromGitHubAsync stack entry shown in the trace. Reproduce model fine-tuning selection while declining organizational access, then trace the Forbidden response; done means the model catalog loads or the failure is reported with a clear recovery path.

Written by the indexing model from the issue text.

Assessment

Tech stack
github, javascript
Domain
api, authentication
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.