Skip to content

feat: implement zarf dev generate-schema for v1beta1 packages and component configs - #5442

Merged
AustinAbro321 merged 2 commits into
mainfrom
v1beta/schema-generation
Oct 8, 2026
Merged

AustinAbro321 merged 2 commits into
mainfrom
v1beta/schema-generation

Conversation

@AustinAbro321

@AustinAbro321 AustinAbro321 commented Oct 6, 2026 •

Copy link
Copy Markdown
Member

Description

implement zarf dev generate-schema for v1beta1 packages and component configs

Also now templates the templatedValuesFiles as they may be used to determine values through sourcePath .

Related Issue

Relates to #5165

Checklist before merging

@netlify

netlify Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for zarf-docs canceled.

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

@codecov

codecov Bot commented Oct 6, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 40.28436% with 126 lines in your changes missing coverage. Please review.

Files with missing lines Patch % Lines
src/pkg/packager/generate_schema.go 39.44% 81 Missing and 28 partials ⚠️
src/pkg/packager/update.go 42.85% 9 Missing and 3 partials ⚠️
src/cmd/dev.go 0.00% 5 Missing ⚠️
Files with missing lines Coverage Δ
src/pkg/packager/load/component.go 70.58% <100.00%> (ø)
src/pkg/packager/packager.go 77.90% <100.00%> (+0.52%) ⬆️
src/cmd/dev.go 39.86% <0.00%> (+5.89%) ⬆️
src/pkg/packager/update.go 60.99% <42.85%> (+2.96%) ⬆️
src/pkg/packager/generate_schema.go 39.44% <39.44%> (ø)
🚀 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 force-pushed the v1beta/schema-generation branch from c3beb1e to 5fcc412 Compare October 7, 2026 13:55
@AustinAbro321
AustinAbro321 force-pushed the v1beta/schema-generation branch from 5fcc412 to 549c3b3 Compare October 7, 2026 14:11
@AustinAbro321
AustinAbro321 force-pushed the v1beta/schema-generation branch 3 times, most recently from 85fd90a to d1f9bd1 Compare October 7, 2026 14:22
@AustinAbro321
AustinAbro321 marked this pull request as ready for review October 7, 2026 14:24
@AustinAbro321
AustinAbro321 requested review from a team as code owners October 7, 2026 14:24
@AustinAbro321
AustinAbro321 force-pushed the v1beta/schema-generation branch 2 times, most recently from fba4dfb to 7aaf2ff Compare October 7, 2026 20:28
Base automatically changed from v1beta1/inspect-all to main October 8, 2026 17:11
@AustinAbro321
AustinAbro321 force-pushed the v1beta/schema-generation branch from 7aaf2ff to d0f23ae Compare October 8, 2026 17:11

@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 - I like the approach (and tests) for YAML AST as a mechanism for preserving the file for UX.

AustinAbro321 and others added 2 commits October 8, 2026 13:27
…#5438)

Signed-off-by: Austin Abro <austinabro321@gmail.com>
Signed-off-by: Austin Abro <austinabro321@gmail.com>
@AustinAbro321
AustinAbro321 force-pushed the v1beta/schema-generation branch from d0f23ae to eb60d10 Compare October 8, 2026 17:27
@AustinAbro321
AustinAbro321 added this pull request to the merge queue Oct 8, 2026
Merged via the queue into main with commit 562f5c0 Oct 8, 2026
32 of 33 checks passed
@AustinAbro321
AustinAbro321 deleted the v1beta/schema-generation branch October 8, 2026 18:30
AustinAbro321 added a commit that referenced this pull request Oct 8, 2026
…ponent configs (#5442)

Signed-off-by: Austin Abro <austinabro321@gmail.com>
AustinAbro321 added a commit that referenced this pull request Oct 9, 2026
…ponent configs (#5442)

Signed-off-by: Austin Abro <austinabro321@gmail.com>
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