Skip to content

feat!: add id to image object - #5480

Merged
AustinAbro321 merged 18 commits into
mainfrom
add-id-to-image-object
Oct 26, 2026
Merged

AustinAbro321 merged 18 commits into
mainfrom
add-id-to-image-object

Conversation

@AustinAbro321

@AustinAbro321 AustinAbro321 commented Oct 16, 2026 •

Copy link
Copy Markdown
Member

Description

Implements zarf-dev/proposals#75

This changes image archives images to an object instead of a list of strings

Related Issue

Relates to #3433

Checklist before merging

@netlify

netlify Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for zarf-docs canceled.

Name Link
🔨 Latest commit 162503e
🔍 Latest deploy log https://app.netlify.com/projects/zarf-docs/deploys/6adf8d6bbd85b62c7f75272e

@codecov

codecov Bot commented Oct 16, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.48936% with 16 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pkg/packager/find_images.go 84.61% 4 Missing and 2 partials ⚠️
src/cmd/dev.go 0.00% 4 Missing ⚠️
src/pkg/packager/assemble/assemble.go 20.00% 4 Missing ⚠️
src/pkg/images/unpack.go 66.66% 1 Missing ⚠️
src/pkg/packager/update.go 96.66% 1 Missing ⚠️
Files with missing lines Coverage Δ
src/api/api.go 63.70% <100.00%> (+0.29%) ⬆️
src/api/package.go 87.09% <ø> (ø)
src/api/v1beta1/component.go 100.00% <100.00%> (ø)
src/internal/api/v1alpha1/convert.go 99.87% <100.00%> (ø)
src/internal/api/v1beta1/convert.go 100.00% <100.00%> (ø)
src/internal/api/v1beta1/validate.go 95.06% <100.00%> (+0.56%) ⬆️
src/pkg/component/publish.go 56.93% <100.00%> (+0.63%) ⬆️
src/pkg/lint/rules_v1beta1.go 91.02% <100.00%> (ø)
src/pkg/packager/load/component.go 82.35% <100.00%> (+11.76%) ⬆️
src/pkg/packager/load/import_v1beta1.go 81.11% <100.00%> (+1.36%) ⬆️
... and 6 more

... and 1 file with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@AustinAbro321
AustinAbro321 added this pull request to stack #5484 October 16, 2026 19:18
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>

@brandtkeller brandtkeller left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Appreciative of what this solves for pre-existing limitations. Minor questions and changes.

Comment thread src/api/v1beta1/component.go Resolved
@github-project-automation github-project-automation Bot moved this to In progress in Zarf Oct 23, 2026
AustinAbro321 and others added 5 commits October 23, 2026 13:03
Co-authored-by: Brandt Keller <43887158+brandtkeller@users.noreply.github.com>
Signed-off-by: Austin Abro <37223396+AustinAbro321@users.noreply.github.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
brandtkeller
brandtkeller previously approved these changes Oct 23, 2026

@brandtkeller brandtkeller left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Comment thread src/api/v1beta1/component.go Resolved
@brandtkeller

Copy link
Copy Markdown
Member

May require the breaking change descriptor in the title given the shape of ImageArchives in the schema now.

Signed-off-by: Austin Abro <austinabro321@gmail.com>
@AustinAbro321 AustinAbro321 changed the title feat: add id to image object feat!: add id to image object Oct 26, 2026
Signed-off-by: Austin Abro <austinabro321@gmail.com>
@AustinAbro321

Copy link
Copy Markdown
Member Author

Updated to fix the error message and one edge cases with image archive --updates, requires re-approval

brandtkeller
brandtkeller previously approved these changes Oct 26, 2026
@AustinAbro321
AustinAbro321 added this pull request to the merge queue Oct 26, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to a conflict with the base branch Oct 26, 2026
@AustinAbro321

Copy link
Copy Markdown
Member Author

@brandtkeller Had to resolve a conflict, requires re-approval

@github-project-automation github-project-automation Bot moved this from In progress to Done in Zarf Oct 26, 2026
@AustinAbro321 AustinAbro321 reopened this Oct 26, 2026
Signed-off-by: Austin Abro <austinabro321@gmail.com>
@AustinAbro321
AustinAbro321 enabled stacked auto-merge October 26, 2026 17:43
@AustinAbro321
AustinAbro321 added this pull request to the merge queue Oct 26, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 26, 2026
@AustinAbro321
AustinAbro321 added this pull request to the merge queue Oct 26, 2026
@github-merge-queue
github-merge-queue Bot removed this pull request from the merge queue due to failed status checks Oct 26, 2026
@AustinAbro321
AustinAbro321 added this pull request to the merge queue Oct 26, 2026
Merged via the queue into main with commit 4fa3135 Oct 26, 2026
31 checks passed
@AustinAbro321
AustinAbro321 deleted the add-id-to-image-object branch October 26, 2026 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants