Repository navigation
fix: keep non version release tags out of release checks and the agent installer - #1878
Conversation
|
No actionable comments were generated in the recent review. Walkthrough
Merge Risk:
|
glinr-botA protected condition applies, so a person decides.
No action taken. A person reviews this one. Checks (shadow, nothing is enforced)
Next steps:
|
| 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')) |
There was a problem hiding this 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.
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.
What
v*.scripts/install-agent.shwithout--versionnow picks the first listedv*tag instead of whatever release is listed first. Nested tags such askit/v1.5.20carry no agent binary.Checked
sh scripts/test-install-agent.shpasses, including a new case with non version tags listed first.v1.5.20.Summary by CodeRabbit
v; uploads remain gated on a successful build.Confidence Score: 4/5

The earlier release-check issue still needs fixing before merge.
Findings
Fix with agent prompt
Summary
Keeps component release tags out of server release paths.
vtags.vtag from recent releases.Reviews (2) · Last reviewed commit: "chore: merge main and refresh the change..." · Reviewed by Greptile