feat: add 'apify runtime status', 'connect' and 'disconnect' by Pijukatel · Pull Request #1430 · apify/apify-cli · GitHub
Skip to content

feat: add 'apify runtime status', 'connect' and 'disconnect' - #1430

Merged
Pijukatel merged 1 commit into
actor-runtimefrom
claude/gifted-ptolemy-xa9z4i
Sep 11, 2026
Merged

Pijukatel merged 1 commit into
actor-runtimefrom
claude/gifted-ptolemy-xa9z4i

Conversation

@Pijukatel

Copy link
Copy Markdown
Contributor

'apify runtime status' reports whether the runtime container is running, on which engine and image, the ports it publishes, the host directory mounted as its data directory, and which API the CLI currently targets. It exits 1 when the runtime is down, and takes --json.

'apify runtime connect' makes every CLI command target the local runtime, and 'apify runtime disconnect' reverts to the Apify platform. The connection is stored next to the installed image in ~/.apify/actor-runtime/config.json, so it holds across terminals and does not touch the login. APIFY_CLIENT_BASE_URL and APIFY_CONSOLE_URL keep taking precedence wherever they are set, so the current per-shell behavior is unchanged; both commands say so when they are set.

Claude-Session: https://claude.ai/code/session_01PaySaAvWxMBNuVMSXXLqno

'apify runtime status' reports whether the runtime container is running, on
which engine and image, the ports it publishes, the host directory mounted as
its data directory, and which API the CLI currently targets. It exits 1 when
the runtime is down, and takes --json.

'apify runtime connect' makes every CLI command target the local runtime, and
'apify runtime disconnect' reverts to the Apify platform. The connection is
stored next to the installed image in ~/.apify/actor-runtime/config.json, so it
holds across terminals and does not touch the login. APIFY_CLIENT_BASE_URL and
APIFY_CONSOLE_URL keep taking precedence wherever they are set, so the current
per-shell behavior is unchanged; both commands say so when they are set.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01PaySaAvWxMBNuVMSXXLqno
@Pijukatel
Pijukatel marked this pull request as ready for review September 11, 2026 08:57
@Pijukatel
Pijukatel merged commit edaa1c9 into actor-runtime Sep 11, 2026
@Pijukatel
Pijukatel deleted the claude/gifted-ptolemy-xa9z4i branch September 11, 2026 08:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants