Summary
apify create --source github depends on the target workspace being a connected git integration, but the CLI has no integrations command. When the workspace is missing, an agent can detect the problem and then do nothing about it — the recovery path is only reachable through a raw API call it has no reason to guess.
Version: apify-cli/1.10.0 (d227b1f).
What happened
apify create --help says, of --git-repo:
a workspace being an account or organization you have given Apify access to […] List yours with "apify api integrations/git".
So the documented way to list your own integrations is a raw API call. It returns:
{
"data": [
{
"id": "github-app",
"provider": "github",
"workspaces": [
{ "id": "apify-projects", "label": "apify-projects" },
{ "id": "apify", "label": "apify" }
],
"addWorkspaceUrl": "https://github.com/apps/apify/installations/new"
}
]
}
My personal GitHub account is not in workspaces, so --source github --git-repo <me>/<repo> cannot target it. The response contains exactly the field needed to fix that — addWorkspaceUrl — but nothing in the CLI surfaces it.
The gap
apify help lists no integrations command. There is no:
apify integrations git ls — show connected providers and workspaces
apify integrations git add — open addWorkspaceUrl in a browser
So the flow dead-ends. An agent driving the CLI can determine the workspace is missing and can print a URL, but cannot complete or even properly guide the recovery — and --source github presumably fails on an unconnected workspace without pointing at the install URL either.
Suggested
- Add
apify integrations git ls [--json] wrapping the endpoint the help text already tells people to call by hand.
- Add
apify integrations git add that opens addWorkspaceUrl (and prints it for non-interactive contexts).
- When
--source github --git-repo owner/name names an unconnected workspace, fail with the install URL in the error, not just "not found".
Point 3 alone would resolve most of the friction: it puts the recovery path where the failure happens.
Related: #1424, #1425.
Summary
apify create --source githubdepends on the target workspace being a connected git integration, but the CLI has nointegrationscommand. When the workspace is missing, an agent can detect the problem and then do nothing about it — the recovery path is only reachable through a raw API call it has no reason to guess.Version:
apify-cli/1.10.0 (d227b1f).What happened
apify create --helpsays, of--git-repo:So the documented way to list your own integrations is a raw API call. It returns:
{ "data": [ { "id": "github-app", "provider": "github", "workspaces": [ { "id": "apify-projects", "label": "apify-projects" }, { "id": "apify", "label": "apify" } ], "addWorkspaceUrl": "https://github.com/apps/apify/installations/new" } ] }My personal GitHub account is not in
workspaces, so--source github --git-repo <me>/<repo>cannot target it. The response contains exactly the field needed to fix that —addWorkspaceUrl— but nothing in the CLI surfaces it.The gap
apify helplists nointegrationscommand. There is no:apify integrations git ls— show connected providers and workspacesapify integrations git add— openaddWorkspaceUrlin a browserSo the flow dead-ends. An agent driving the CLI can determine the workspace is missing and can print a URL, but cannot complete or even properly guide the recovery — and
--source githubpresumably fails on an unconnected workspace without pointing at the install URL either.Suggested
apify integrations git ls [--json]wrapping the endpoint the help text already tells people to call by hand.apify integrations git addthat opensaddWorkspaceUrl(and prints it for non-interactive contexts).--source github --git-repo owner/namenames an unconnected workspace, fail with the install URL in the error, not just "not found".Point 3 alone would resolve most of the friction: it puts the recovery path where the failure happens.
Related: #1424, #1425.