Skip to content

fix: remove unused find_latest_stable_tag in release.rs#1551

Merged
houko merged 1 commit intomainfrom
fix/remove-dead-code-xtask
Mar 23, 2026
Merged

fix: remove unused find_latest_stable_tag in release.rs#1551
houko merged 1 commit intomainfrom
fix/remove-dead-code-xtask

Conversation

@houko
Copy link
Copy Markdown
Contributor

@houko houko commented Mar 23, 2026

Summary

  • Security audit CI failed: find_latest_stable_tag in xtask/src/release.rs became dead code after fix: release tool compares against latest tag including prereleases #1547 refactored tag lookup to use find_latest_tag with an include_prerelease parameter, causing -D warnings to reject the build
  • Removed the unused function (changelog.rs has its own independent copy still in use)

Test plan

  • cargo clippy -p xtask --all-targets -- -D warnings passes with zero warnings

🤖 Generated with Claude Code

The function became dead code after #1547 refactored tag lookup to
use find_latest_tag with an include_prerelease parameter.
changelog.rs has its own copy that is still in use.
@chatgpt-codex-connector
Copy link
Copy Markdown

You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard.

@houko houko merged commit b00d885 into main Mar 23, 2026
10 checks passed
@houko houko deleted the fix/remove-dead-code-xtask branch March 23, 2026 15:31
@houko houko mentioned this pull request Mar 23, 2026
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