Skip to content

[P1-07] Add external artifact storage and lifecycle management #177

Description

@erikhoward

Goal

Support large and binary workflow data without putting it directly into envelopes, events, or API responses.

Scope

  • Define a pluggable artifact/blob store with content-addressed or stable references.
  • Enforce content type, size, retention, authorization, and download policies.
  • Store metadata and references in run state/events while avoiding unnecessary payload duplication.
  • Add cleanup, expiration, garbage collection, and export behavior.

Acceptance criteria

  • Large artifacts do not exhaust runtime memory or event-store limits.
  • Artifact access is tenant- and run-authorized.
  • Expired/unreferenced artifacts are cleaned up safely.
  • Failure and partial-upload behavior is resumable or explicitly terminal.

Priority

P1 — high-value operations enhancement.

See the PetalFlow 1.0.0 Readiness Report for the audit context.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions