ecluse:ecluse-core
Safe HaskellNone
LanguageGHC2021

Ecluse.Core.Worker.Fetch

Synopsis

Documentation

data ArtifactFetchFault Source #

Why a mirror-artifact fetch failed, split by whether a redelivery could ever help, so the job's ack decision (mirrorArtifact) follows from the type rather than re-parsing a reason string.

Constructors

ArtifactOverCap Text

The artifact exceeded the plan-sized byte cap. Deterministic in the artifact's own size, so a redelivery re-fetches the same over-cap bytes and fails identically: terminal, never worth retrying. Carries the detail.

ArtifactUnavailable Text

A transient fetch fault (an unformable URL, a network failure): a redelivery may succeed. Carries the detail.