-
Notifications
You must be signed in to change notification settings - Fork 41
minds: actionable guidance when creating from a private GitHub repo #2425
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from 2 commits
Commits
Show all changes
14 commits
Select commit
Hold shift + click to select a range
0777dcc
minds: explain private-repo create failures with actionable guidance
pseay-imbue 20d3897
minds: extract _git_noninteractive_env helper for the clone env
pseay-imbue 2de42ff
Merge remote-tracking branch 'origin/main' into preston/minds-inspira…
pseay-imbue f9c576c
rename: FCT reference in agent_creator docstring to default-workspace…
pseay-imbue 28194ee
fix docstring prose from automated template rename
pseay-imbue b1295a3
minds: classify ANY failed github.com clone as GIT_AUTH_REQUIRED
pseay-imbue b17b349
Merge remote-tracking branch 'origin/main' into preston/minds-inspira…
pseay-imbue cf1facf
minds: rename GIT_AUTH_REQUIRED -> GITHUB_AUTH_REQUIRED (don't confla…
pseay-imbue 9914d0d
changelog: use default-workspace-template, not the retired FCT codename
pseay-imbue ccad422
minds: add generic GIT_AUTH_REQUIRED for non-GitHub git remotes
pseay-imbue 2b6acd3
ruff format agent_creator_test.py (wrap long assertion lines)
pseay-imbue ed83224
minds inspirations plan: README describes the inspiration
pseay-imbue b2ba358
Merge remote-tracking branch 'origin/main' into preston/minds-inspira…
pseay-imbue f93b5c3
dev: re-add changelog entry consumed by main's changelog consolidation
pseay-imbue File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,5 @@ | ||
| Creating a workspace from a private (or nonexistent) GitHub repository URL now shows helpful guidance instead of just a raw git error. When the clone fails with an authentication-shaped error for a github.com URL, the creating page explains that the repository looks private, recommends signing in with the GitHub CLI (`gh auth login`, with a link to the official quickstart), and offers the alternative of cloning the repository locally and entering its path in the form instead. | ||
|
|
||
| The desktop client's local `git clone` of the workspace source now runs with `GIT_TERMINAL_PROMPT=0`, so cloning a repository this computer has no credentials for fails fast with a clear error instead of hanging on a credential prompt (mirroring the earlier fix in the FCT bootstrap's git calls). | ||
|
|
||
| The create-operation status API (`GET /api/v1/workspaces/operations/create/<id>`) gained an optional `error_kind` field carrying a machine-readable failure classification (currently `GIT_AUTH_REQUIRED`) alongside the human-readable `error` message. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.