oasisprotocol / oasisprotocol/cli

`oasis rofl build`: Support resuming downloading the artifacts

Open
#348 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

enhancement rofl
Dominant language
Go
Stars
80
Forks
23
Avg merge
9h 43m
Merged PRs (30d)
3

Description

When building ROFL TDX container .orc, some artifacts may take a while to download even if we support caching afterwards once it's downloaded. Support resuming the download in cmd/rofl/build/artifacts.go in func maybeDownloadArtifact(kind, uri string) string.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start in cmd/rofl/build/artifacts.go at maybeDownloadArtifact(kind, uri string) and inspect how artifact downloads and caching currently work. Exercise the oasis rofl build path for a ROFL TDX container .orc, interrupt a large artifact download, and verify that a subsequent build resumes it and completes successfully.

Written by the indexing model from the issue text.

Assessment

Tech stack
go
Domain
cli
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
68/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.