Skip to contents

Orchestrates the complete artwork processing pipeline in a background R session using {future} and {promises}. Calls [artpipelines::launch_artwork_pipeline()] to process uploaded files, extract metadata, generate thumbnails, analyze content, and store results in database and CDN. Typically wrapped by [new_pipeline_task()] rather than called directly.

Usage

run_pipeline(...)

Arguments

...

Named parameters passed to [artpipelines::launch_artwork_pipeline()]:

`artist`

Character scalar. Artist UUID.

`artwork`

Character scalar. Artwork UUID from [artcore::gen_artwork_id()].

`collection`

Character scalar. Collection UUID.

`artist_name`

Character scalar. Artist display name.

`art_title`

Character scalar. Artwork title.

`art_story`

Character scalar. Artwork story/description.

`file_image`

Character scalar. Path to artwork PNG image.

`file_canvas`

Character scalar. Path to .procreate canvas file.

`file_video`

Character scalar. Path to MP4 timelapse video.

`zip_frames`

Character scalar. Path to ZIP archive of frames.

`file_stats`

Character scalar. Path to canvas stats image.

`file_variants`

Character scalar. Path to additional variant images.

Value

A [promises::promise()] that resolves to UI output from [buildAboutArtUI()] on success, or `NULL` if pipeline fails. The promise executes in a background R session with packages loaded.

See also

* [artpipelines::launch_artwork_pipeline()] for pipeline implementation * [new_pipeline_task()] which wraps this function * [buildAboutArtUI()] for result UI generation

Other pipeline: new_pipeline_task(), pipeline

Examples

if (FALSE) { # \dontrun{
# Typically not called directly - use new_pipeline_task() instead
# See new_pipeline_task() examples for proper usage pattern
} # }