Uh oh!
There was an error while loading. Please reload this page.
Conversation
…hancements and improvements in deployment configurations.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Cursor Bugbot has reviewed your changes and found 2 potential issues.
Bugbot Autofix is OFF. To automatically fix reported issues with cloud agents, enable autofix in the Cursor dashboard.
| if git rev-parse "$TAG" &>/dev/null; then | ||
| echo "Error: Tag ${TAG} already exists." >&2 | ||
| exit 1 | ||
| fi |
There was a problem hiding this comment.
Tag existence check resolves any ref, not just tags
Medium Severity
git rev-parse "$TAG" resolves any git ref — branches, tags, and even commit-like strings — not just tags. If a branch happens to share the same name (e.g., v2.0.1), the script will incorrectly refuse to create the tag, reporting it already exists. The check needs to be scoped to tags specifically, e.g. via git rev-parse "refs/tags/$TAG" or git show-ref --verify "refs/tags/$TAG".
| exit 0 | ||
| ;; | ||
| esac | ||
| done |
There was a problem hiding this comment.
Unknown arguments silently ignored risking unintended tag push
Medium Severity
The case statement has no * default branch, so unrecognized flags are silently ignored. A misspelled --dry-run (e.g., --dryrun, --dry_run, --dry-Run) would be silently skipped and the script would proceed to actually create and push a git tag — the opposite of what the user intended. For a script with irreversible side effects, unknown arguments warrant an error exit.


reflecting minor enhancements and improvements in deployment configurations.
Note
Low Risk
Low risk: only a chart version bump plus a new opt-in release script that tags/pushes Git tags; no runtime application logic changes.
Overview
Updates the
traceblocHelm chartversionfrom2.0.0to2.0.1.Adds
scripts/tag-from-chart.shto derive a Git tag fromtracebloc/Chart.yamland create/push it, with options for--tracebloc-prefixand--dry-run, and a guard against tagging an existing version.Written by Cursor Bugbot for commit f007c90. This will update automatically on new commits. Configure here.