Skip to content

Better progress indication for OCI upload #227

@itowlson

Description

@itowlson

Although OCI upload should usually be reasonably quick, it can take some time if the app is large or if network conditions are causing problems. spinframework/spin#3139 reports a 63MB upload taking 15 minutes or longer before failing or having to be cancelled.

It would be useful to provide feedback to the user while a long upload is happening.

A challenge here is that we currently rely on the oci-distribution crate, which does not (as far as I can tell) provide a mechanism for giving progress feedback from within its push function. (The new version, oci-client, has the same limitation.) So we would need to either port the Client::push() code into Spin itself, or get upstream to accept a PR adding feedback support before we could work on this.

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