{{ message }}
Repository navigation
feat: Made dev folder for Actor runtime default - #1415
Merged
Merged
Conversation
When the CLI is pointed at a local Actor runtime (APIFY_CLIENT_BASE_URL is not the Apify cloud), `apify push` now registers the pushed directory as the Actor's live dev folder via the runtime's `POST /actor-runtime/dev-folder/:actorId` right after uploading, so every later `apify call` mounts the local source over the built image with no extra step. - `apify push --no-dev-folder` skips the registration and clears any earlier one. - `apify call --no-dev-folder` runs once from the built image alone by sending the runtime's `?devFolder=false` run-start extension; the registration stays. - Against the Apify platform neither flag sends a request: push is silent, call warns once that the flag is ignored. A non-cloud target that 404s the endpoint is treated as "not a runtime" and skipped with a debug log only. - `apify push --json` reports `localDevFolder` when a runtime answered. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TQMu5bht6poYGSeBYG1m7X
…er call Verified end to end against a runtime built from the branch: the bind mount hides the image's compiled dist/, so a TypeScript Actor's first `apify call` after an automatic registration fails until `npm run build` has run locally. The push message now says so. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TQMu5bht6poYGSeBYG1m7X
…cal source Against a local Actor runtime, `apify call` now reads the Actor's registered dev folder (`GET /actor-runtime/dev-folder/:actorId`) and, when one is set and --no-dev-folder was not passed, prints a red banner naming the folder, the local-compile requirement for TypeScript Actors, and the `--no-dev-folder` way out. Older runtimes without the GET answer 404 and get no banner. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TQMu5bht6poYGSeBYG1m7X
Against a local Actor runtime, push always registers the pushed directory. The only user-facing switch is 'apify call --no-dev-folder'. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TQMu5bht6poYGSeBYG1m7X
The runtime now opens the run log with a "Local Actor runtime" section carrying the warning, which apify call streams anyway. The CLI keeps only --no-dev-folder and the automatic registration on push. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TQMu5bht6poYGSeBYG1m7X
Smaller registration helper with a two-state result, no Windows path guessing, no localDevFolder in the push output, and only the tests that pin behaviour. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_01TQMu5bht6poYGSeBYG1m7X
Pijukatel
marked this pull request as ready for review
September 10, 2026 15:53
Pijukatel
requested review from
DaveHanns,
l2ysho and
szaganek
as code owners
September 10, 2026 15:53
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.

Actors running through local actor runtime will by default work in local dev folder mode.
Depends on: apify/actor-runtime#43