Skip to content

fix(ci): skip cargo package verify in release-plz#405

Merged
avihut merged 1 commit intomasterfrom
fix/replease-plz
Apr 25, 2026
Merged

fix(ci): skip cargo package verify in release-plz#405
avihut merged 1 commit intomasterfrom
fix/replease-plz

Conversation

@avihut
Copy link
Copy Markdown
Owner

@avihut avihut commented Apr 25, 2026

Summary

  • Release-plz's release-pr job has been failing on every push since 1e9dc5be ("commit Cargo.lock and bump gix to 0.82").
  • Root cause: release-plz runs cargo package --verify in a temp worktree that doesn't honor our committed Cargo.lock. The fresh re-resolution lands on gix-object 0.58.0 plus the conflicting winnow 0.7 / winnow 1.0 combo our committed lockfile avoids, and the verify compile fails with E0308: mismatched types in gix-object/src/parse.rs.
  • Fix: set publish_no_verify = true in release-plz.toml. We already have publish = false and git_only = true, so the verify compile is wasted work and the only thing the failure blocks is the release PR itself.

Fixes the failures on runs 24902568140, 24904539960, 24935294546, and 24935994208.

Test plan

  • Merge to master and confirm the next Release-plz workflow run goes green
  • Verify the auto-created release PR still gets the release label and triggers the man-page regeneration step

release-plz's release-pr step runs cargo package --verify in a temp
worktree that does not honor the committed Cargo.lock. Re-resolution
from scratch lands on gix-object 0.58.0 + conflicting winnow 0.7/1.0,
the same combo that the gix 0.82 bump already worked around for our
lockfile. The verify compile then fails with E0308.

Set publish_no_verify so release-plz passes --no-verify. We already
have publish = false / git_only = true, so verifying the package
compiles in isolation gives us nothing.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@avihut avihut added this to the Public Launch milestone Apr 25, 2026
@avihut avihut added the fix Bug fix label Apr 25, 2026
@avihut avihut self-assigned this Apr 25, 2026
@avihut avihut added the fix Bug fix label Apr 25, 2026
@avihut avihut merged commit e9c423d into master Apr 25, 2026
8 checks passed
@avihut avihut deleted the fix/replease-plz branch April 25, 2026 17:39
avihut added a commit that referenced this pull request Apr 25, 2026
Reverts the change from #405. publish_no_verify only affects the
cargo publish call; release-plz still runs cargo package --verify in
the release-pr diff path, so this option does not gate the failure we
were trying to fix.

The real failure is that release-pr packages the previous released
tag (v1.7.2), whose Cargo.toml pins gix = "0.81" and which has no
committed Cargo.lock. Fresh resolution from gix 0.81 lands on the
broken winnow / gix-object combo. The fix is to cut a v1.8.0 release
so the diff baseline becomes a tag that has gix 0.82 plus a committed
lockfile; that PR is sent separately.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
avihut added a commit that referenced this pull request Apr 25, 2026
Reverts the change from #405. publish_no_verify only affects the
cargo publish call; release-plz still runs cargo package --verify in
the release-pr diff path, so this option does not gate the failure we
were trying to fix.

The real failure is that release-pr packages the previous released
tag (v1.7.2), whose Cargo.toml pins gix = "0.81" and which has no
committed Cargo.lock. Fresh resolution from gix 0.81 lands on the
broken winnow / gix-object combo. The fix is to cut a v1.8.0 release
so the diff baseline becomes a tag that has gix 0.82 plus a committed
lockfile; that PR is sent separately.

Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@avihut avihut mentioned this pull request Apr 25, 2026
4 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix Bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant