Skip to content

fix(release): parse only top-level chart metadata in release-agent-relay.yml - #38

Merged
kjgbot merged 1 commit into
mainfrom
fix/release-chart-metadata-parse
Nov 3, 2026
Merged

kjgbot merged 1 commit into
mainfrom
fix/release-chart-metadata-parse

Conversation

@kjgbot

@kjgbot kjgbot commented Nov 3, 2026 •

Copy link
Copy Markdown
Contributor

The first agent-relay-0.3.1 tag run (https://github.com/AgentWorkforce/helm-charts/actions/runs/41709177945) failed at "Validate release tag and commit" with Expected chart name agent-relay, got relaycast. Helm 4's helm show chart lists dependencies: (with indented name: keys) before the top-level name:, and awk '$1 == "name:"' matched the first dependency. This anchors the three lookups and the two packaged-metadata checks to top-level keys (/^name:/, /^version:/, /^type:/).

Verified locally with Helm 4.1.1: agent-relay, 0.3.1, application (the old expression prints relaycast). Nothing was published by the failed run. After merge the release lane re-points agent-relay-0.3.1 at the merge commit; the chart content is identical to 6967fb4.

🤖 Generated with Claude Code


Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

…ublish workflow

Helm 4's `helm show chart` prints the dependencies list before the
top-level keys, so `awk '$1 == "name:"'` picked the first dependency
(relaycast) and the tag check refused agent-relay-0.3.1. Match ^name:,
^version: and ^type: only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@coderabbitai

coderabbitai Bot commented Nov 3, 2026

Copy link
Copy Markdown

Important

  • Trigger review

This repository does not receive automatic reviews because it has fewer than 10 stars.

Run configuration
  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8622101a-466a-4a5d-96d4-69aa480dc526
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

Share

CodeRabbit Verify

  • Run CodeRabbit Verify to test the changes in this pull request.

@cubic-dev-ai cubic-dev-ai Bot 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.

No issues found across 1 file

View guided diff | Turn on auto-fix | Re-trigger cubic

@greptile-apps

greptile-apps Bot commented Nov 3, 2026 •

Copy link
Copy Markdown

RetriggerView in GreptileConfidence Score: 5/5

[Medium impact] This PR appears safe to merge.

Summary

Updates five metadata lookups in .github/workflows/release-agent-relay.yml to match only top-level chart keys.

  • Agent Relay releases read the chart’s own metadata, not dependency fields.

Reviews (1) · Last reviewed commit: "fix(release): read only top-level chart ..." · Reviewed by Greptile

@kjgbot
kjgbot merged commit 1f1a4f7 into main Nov 3, 2026
9 checks passed
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.

1 participant