ArtBlocks / ArtBlocks/abx

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

Open
#4 0 comments 0 reactions 0 assignees View on GitHub
enhancement
Dominant language
TypeScript
Stars
0
Forks
0
Avg merge
4h 8m
Merged PRs (30d)
16

Description

## Problem

`abx storage upload ` 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.

Contributor guide

Open the contributing guide

Research direction

Start from the CLI entry points for storage upload and directory deployment, then read the storage guide and existing CLI/help tests mentioned in the issue. Trace how directory and single-file uploads are distinguished and identify the supported locator-based reuse path, if any. Done means the warning and guidance appear only for directory uploads, tests cover the behavior, and the storage guide is updated.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
cli, documentation
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
64/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.