Skip to content

fix: keep non version release tags out of release checks and the agent installer - #1878

Merged
thegdsks merged 3 commits into
mainfrom
ci/skip-desktop-release-tags
Dec 5, 2026
Merged

thegdsks merged 3 commits into
mainfrom
ci/skip-desktop-release-tags

Conversation

@thegdsks

@thegdsks thegdsks commented Dec 4, 2026 •

Copy link
Copy Markdown
Member

What

  • Release verification and language pack builds run only for releases tagged v*.
  • scripts/install-agent.sh without --version now picks the first listed v* tag instead of whatever release is listed first. Nested tags such as kit/v1.5.20 carry no agent binary.

Checked

  • sh scripts/test-install-agent.sh passes, including a new case with non version tags listed first.
  • The same lookup against the live release list returns v1.5.20.

Summary by CodeRabbit

  • Bug Fixes
    • The installer now selects the first eligible version tag from recent releases, avoiding tags that don’t match the expected version format.
  • Chores
    • Release verification and add-on pack builds now run only for published tags beginning with v; uploads remain gated on a successful build.
    • Added coverage for selecting a valid version when multiple release tags are available.
  • Documentation
    • Added the 1.5.20 release entry to the changelog and version history.

Confidence Score: 4/5RetriggerView in Greptile

The earlier release-check issue still needs fixing before merge.

Findings

  1. P1 Release checks still pick nonversions ▶
Fix with agent prompt
### Issue 1
.github/workflows/release-verify.yml:21-23
The new guard excludes non-`v` tags only for `release` events. A `Release` run dispatched against `main` still passes, then `Resolve tag` picks the newest release without filtering its tag. If a `kit/` release is newest, the verifier checks it for server assets and opens a false incomplete-release issue instead of checking the server release that finished.

Resolve the dispatched tag from the run title, and apply the tag check before verifying assets.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

Summary

Keeps component release tags out of server release paths.

  • Release checks and language-pack builds run only for v tags.
  • Agent installs pick the first eligible v tag from recent releases.
  • The release pages list 1.5.20 as the latest version.

Reviews (2) · Last reviewed commit: "chore: merge main and refresh the change..." · Reviewed by Greptile

@github-actions github-actions Bot added this to the v1.5.21 milestone Dec 4, 2026
@github-actions github-actions Bot added area/ci .github/, scripts/ size/s 10 to 49 lines changed labels Dec 4, 2026
@coderabbitai

coderabbitai Bot commented Dec 4, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

Release workflows now filter jobs by tag prefix. The installer searches recent GitHub releases for a matching version tag. The version tracker and changelog now include release 1.5.20.

Changes: Release updates

Layer / File(s) Summary
Workflow tag filters
.github/workflows/addons-packs.yml, .github/workflows/release-verify.yml
The addons build and release verification jobs now require release tags that start with v. The verification job retains its dry-run exclusion.
Installer version selection
scripts/install-agent.sh, scripts/test-install-agent.sh
The installer checks up to 30 GitHub releases and selects the first tag matching ^v[0-9][^/]*$. The test checks that mocked release tags produce v1.2.3.
Release 1.5.20 records
VERSIONING.md, docs/changelog.mdx
The version tracker marks 1.5.20 as the latest release. The changelog adds its features, bug fixes, and performance entries.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Bug fix

Possibly related PRs

  • glincker/levelrail#1619: This PR also changes tag handling in release-verify, including dry-run filtering and how release verification obtains its tag.
Merge Risk: Minimal · up to f224e

This change restricts release verification and language-pack builds to v* tags, makes the installer pick the latest version tag, and adds the 1.5.20 release notes. No merge-blocking risk is evident from the supplied evidence.

Pre-merge checks: Passed 4

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title says non-version release tags are kept out of release checks and the agent installer. The changeset does this: the build and upload jobs in addons-packs.yml and the verify job in release-ver…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Title check

Explanation

The title says non-version release tags are kept out of release checks and the agent installer. The changeset does this: the build and upload jobs in addons-packs.yml and the verify job in release-verify.yml now run only for tags starting with v, and resolve_version in install-agent.sh selects the first v<digit> tag without a slash. The title names the main change, and the test script change is also covered by the title's scope. The title is long (80 characters, 14 words) but specific and accurate.

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • 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

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: defaults
  • Review profile: CHILL
  • Plan: Advanced
  • Run ID: 8c619f21-ecb6-4664-b6eb-9c99e10fcc10
Commits

Reviewing files that changed from the base of the PR and between e102f08 and f224e88.

Files selected for processing: 2

  • VERSIONING.md
  • docs/changelog.mdx

Included review availability: This review used your included allowance. Your plan provides up to 2 included reviews per hour; 0 remain after this review.

@glinr-bot

glinr-bot Bot commented Dec 4, 2026 •

Copy link
Copy Markdown
Contributor

glinr-bot

A protected condition applies, so a person decides.

Gate Result Detail
not a draft pass
from this repository, not a fork pass
touches no protected path fail .github/workflows/addons-packs.yml, .github/workflows/release-verify.yml
has no blocking label pass

No action taken. A person reviews this one.

Checks (shadow, nothing is enforced)

Group Check Result
required gitleaks pass
required CI required pending
advisory Lint pending
advisory Plan Go work pending
advisory Greptile Review pending
advisory commit-semver pass
advisory Release web build pending
advisory zizmor (workflow audit) pass
advisory Detect changed areas pass
advisory Dependency review pass
advisory PR hygiene pass
advisory evaluate pending
skipped Web tests (${{ matrix.shard }}/4) skipped
skipped install-cli.ps1 (Windows) skipped
skipped Web (tsc, eslint) skipped
skipped install-cli.sh (macOS) skipped
skipped install.sh (${{ matrix.image }}) skipped
skipped Terraform provider (vet, test) skipped
skipped Kit (vet, lint, test) skipped
skipped regenerate skipped
skipped auto-merge skipped
skipped Release pacing skipped
skipped Mintlify Deployment skipped

Next steps:

  • Wait for required checks: CI required.

Comment on lines +21 to +23
if: >-
(github.event_name != 'workflow_run' || !startsWith(github.event.workflow_run.display_title, 'Dry run')) &&
(github.event_name != 'release' || startsWith(github.event.release.tag_name, 'v'))

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

P1 Release checks still pick nonversions

The new guard excludes non-v tags only for release events. A Release run dispatched against main still passes, then Resolve tag picks the newest release without filtering its tag. If a kit/ release is newest, the verifier checks it for server assets and opens a false incomplete-release issue instead of checking the server release that finished.

Resolve the dispatched tag from the run title, and apply the tag check before verifying assets.

Prompt To Fix With AI
This is a comment left during a code review.
Path: .github/workflows/release-verify.yml
Line: 21-23

Comment:
**Release checks still pick nonversions**

The new guard excludes non-`v` tags only for `release` events. A `Release` run dispatched against `main` still passes, then `Resolve tag` picks the newest release without filtering its tag. If a `kit/` release is newest, the verifier checks it for server assets and opens a false incomplete-release issue instead of checking the server release that finished.

Resolve the dispatched tag from the run title, and apply the tag check before verifying assets.

---

For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.

@github-actions github-actions Bot added size/m 50 to 199 lines changed and removed size/s 10 to 49 lines changed labels Dec 5, 2026
@thegdsks
thegdsks merged commit 66cae51 into main Dec 5, 2026
38 checks passed
@thegdsks
thegdsks deleted the ci/skip-desktop-release-tags branch December 5, 2026 00:16
@glinr-bot glinr-bot Bot mentioned this pull request Dec 5, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/ci .github/, scripts/ size/m 50 to 199 lines changed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant