Skip to content

Warn when a pre-deploy directory upload will not be reused #4

Description

@ryley-o

Problem

abx storage upload <directory> followed by a normal directory deployment does not reuse the prior upload; the deploy command uploads the directory again. This is confusing on IPFS and can duplicate paid permanent storage on Arweave.

Desired outcome

Make the non-reuse behavior explicit and provide a supported reuse workflow if one is intended.

Acceptance criteria

  • Warn before or after directory upload that deploy commands will upload their source independently.
  • Point users to a supported locator-based workflow when reuse is possible; otherwise state that it is not supported.
  • Do not warn for single-file upload intended for abx attach.
  • Add CLI/help tests and update the storage guide.

Activity

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

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions