Joystream / Joystream/joystream
Giza integration tests: Joystream CLI: Reuploading assets flow
Open
Nobody has claimed this yet.
estimate-6h
giza
network-integration-test
qn-hydra-board
query-node
to-triage
- Dominant language
- Rust
- Stars
- 1.4k
- Forks
- 116
- PR merge metrics
- No merged PRs in 30d
Description
Preconditions:
- A running Joystream node
- A running query-node
- A running storage node which accepts channel assets and has sufficient limits set to handle the scenario
- A running distributor node which accepts channel assets and has sufficient limits set to handle the scenario
- Storage lead is hired
Optimistic flow:
- Create and initialize a member (channel owner)
- Temporarly disable storage node, for example by:
- Using a dedicated api (operator api) if possible
- Setting invalid endpoint in StorageOperatorMetadata
- Removing bucket operator
- Create a channel w/ some assets
- Expect exit with
ActionCurrentlyUnavailableor some other exit code chosen for that scenario - Expect
Rejected content ids successfully saved to: ...output - Verify channel and assets using query node. Expect
accepted: falsefor each asset - Verify distributor node returns
Cannot download the asset from any storage nodestatus (503) - Re-enable storage node (depending on how it was disabled)
- Use
content:reuploadAssetscommand providing the generated file as input - Expect success
- Query node: Verify all assets are now accepted
- Distributor node: Verify all assets can be downloaded
- Optionally: Repeat steps 2-12 with other commands that can upload assets, ie.:
updateChannel,createVideo,updateVideo
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by locating the existing Giza integration tests and the Joystream CLI entry points for content:reuploadAssets, updateChannel, createVideo, and updateVideo. Run the relevant test setup with the node, query-node, storage node, and distributor node, then verify the rejected-content output, query-node acceptance state, distributor responses, and successful reupload described in the flow.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- rust
- Domain
- cli, testing-qa
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100