Skip to content

Rerunning package create with --max-package-size leaves old files aroundΒ #3266

Closed
@Racer159

Description

Environment

Device and OS: Framework 16 - Ubuntu 24.04
App version: v0.43.1
Kubernetes distro being used: K3d
Other:

Steps to reproduce

  1. For a Zarf package with a size >10MB run the following:
zarf package create . --max-package-size=10
zarf package create . --max-package-size=1

Expected result

A split Zarf package is made with only 1MB files

Actual Result

A split Zarf package is made where the first few are 10MB and the next few are 1MB

Visual Proof (screenshots, videos, text, etc)

image

Severity/Priority

Medium (the workaround is to delete all of the Zarf parts before recreate)

Additional Context

None

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions