Skip to content

apify push: add an encrypted push, and a clear apify pull message for it #1652

Backlog

Description

@DaveHanns

Add the encrypted push to apify push: the source is uploaded as an encrypted archive that only the build can read. Unlike deleting the zip after the build, the version can still be rebuilt, and an archive left behind by an interrupted push is useless to anyone who finds it.

Blocked by the platform work in the parent Epic (spec, API, and build worker).

Scope

  • A flag on apify push that uploads the source as an encrypted archive, for projects of any size. The spec decides whether the CLI encrypts with a public key of the platform or sends the archive to a platform endpoint that encrypts it.
  • The earlier experimental flag that deletes the zip after the build is either removed or turned into an alias. Decide in the spec.
  • apify pull of such a version fails with a clear message that says the source can't be downloaded, instead of a download or zip error (src/commands/actors/pull.ts).
  • The flag works with --all, with monorepo pushes (actorPath), with --json, and with --wait-for-finish=0.
  • Against a platform that doesn't support it yet (for example an older local Actor runtime), the CLI stops with a clear message and uploads nothing.
  • If the spec makes this the default, add the way back to "Multiple source files" for people who want the Web IDE.

Acceptance criteria

  • A push with the flag leaves no readable source on the version or in a key-value store, and the version rebuilds from Apify Console.
  • apify pull of that version prints the new message.
  • Tests cover the push, the pull message, and the unsupported platform.
  • The CLI reference documents the flag.

Activity

  1. added
    t-builders
    on Nov 30, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    t-builders

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions