Skip to content

Validate Helm descriptions before generation - #1260

Merged
danbarr merged 1 commit into
mainfrom
improve-helm-reference-validation
Oct 21, 2026
Merged

danbarr merged 1 commit into
mainfrom
improve-helm-reference-validation

Conversation

@danbarr

@danbarr danbarr commented Oct 21, 2026 •

Copy link
Copy Markdown
Collaborator

Description

The SEP v0.23.0 reference export stopped at the first undocumented Helm value. Add a read-only --check mode that reports every missing description across the configured charts before generation writes pages, and run the generator tests in normal PR checks.

Add the description override for guardrails.adapter.metrics.port so the existing v0.23.0 tag can be regenerated. The source comment is included in the companion SEP change. Merge this PR before the SEP workflow change, which consumes --check from docs-website main.

Type of change

  • Bug fix

Related issues/PRs

Validation

  • node --test scripts/upstream-release/generate-helm-reference.test.mjs: 11 tests passed, including aggregation across charts and a CLI check that writes no pages and invokes no formatter.
  • Focused ESLint, Prettier, and git diff --check passed.
  • npm run build passed.
  • With helm-docs 1.14.2, reproduced the released chart failure without the override; all ten v0.23.0 charts validated with it. All ten generated pages compiled as MDX and matched the original generator's output byte for byte with the same override.

Submitter checklist

Content and formatting

  • I have reviewed the content for technical accuracy
  • I have reviewed the content for spelling, grammar, and style

Reviewer checklist

Content

  • I have reviewed the content for technical accuracy
  • I have reviewed the content for spelling, grammar, and style

Copilot AI balanced review requested due to automatic review settings October 21, 2026 20:32
@vercel

vercel Bot commented Oct 21, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
docs-website Ready Ready Preview Oct 21, 2026 8:33pm UTC

Request Review

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

🔵 Needs a closer look

The private SEP source remains inaccessible, leaving the release-specific description override unverified.

No open issues 🎉

What changed in this PR

Adds read-only Helm description validation to the release documentation generator, reporting missing descriptions across configured charts before writing pages.

Changes:

  • Adds --check mode and aggregated validation.
  • Tests cross-chart reporting and read-only behavior, and runs generator tests in PR checks.
  • Adds the metrics-port description override needed for SEP v0.23.0.
File Description
scripts/​upstream-release/​generate-helm-reference.test.mjs Tests aggregated errors and read-only check mode.
scripts/​upstream-release/​generate-helm-reference.mjs Adds validation and --check support.
.github/​workflows/​_static-checks.yaml Runs generator tests in CI.
.github/​upstream-projects.yaml Supplies the guardrails metrics-port description.

Review effort: Balanced

@danbarr
danbarr enabled auto-merge (squash) October 21, 2026 20:46
@danbarr
danbarr merged commit c27d03c into main Oct 21, 2026
9 checks passed
@danbarr
danbarr deleted the improve-helm-reference-validation branch October 21, 2026 20:53

This branch was successfully deployed

1 active deployment
Preview — 70c92c1b Deployed Oct 21, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants