Skip to content

fix(ci): re-defer release-plz auto-trigger pending crates.io bootstrap#383

Merged
githubrobbi merged 1 commit into
mainfrom
fix/release-plz-redefer-bootstrap
Jun 10, 2026
Merged

fix(ci): re-defer release-plz auto-trigger pending crates.io bootstrap#383
githubrobbi merged 1 commit into
mainfrom
fix/release-plz-redefer-bootstrap

Conversation

@githubrobbi

Copy link
Copy Markdown
Collaborator

Problem

release-plz has failed on every push to main since the 2026-06-09 auto-trigger activation (#380, #381, #382 merges all show red release-plz runs).

cargo package failed: no matching package named `uffs-broker-protocol` found,
location searched: crates.io index, required by package `uffs-broker v0.5.120`

Root cause

The activation was premature. Polars 0.54.4 resolving the chrono conflict was the first blocker (necessary) but not sufficient. release-plz git_only mode hardcodes cargo package --allow-dirty --workspace (documented in this file's DEFERRAL NOTICE), which still fails one layer later on the crates.io bootstrap problem: cargo package verifies each crate's versioned internal deps against crates.io, and nothing is published yet.

Reproduced locally — cargo package --workspace packages uffs-broker (a publish = false crate) and fails on its dep uffs-broker-protocol. Only uffs-time + uffs-text (zero internal deps) package cleanly.

Not fixable by config: release = false/publish = false are both ignored by the hardcoded --workspace package step (PR #382 confirmed this — release = false had no effect). The nightly -Zpackage-workspace flag explicitly excludes publish = false crates (our never-publish set). Since never-publish crates carry versioned internal deps (uffs-brokeruffs-broker-protocol) that will never reach crates.io, the --workspace package step can never fully succeed.

Fix

Revert the trigger to workflow_dispatch-only (the documented pre-2026-06-09 state) so main stops failing. The first publish will be driven per-crate (cargo publish -p <crate>), not via release-plz release-pr. Re-enable push: main after the crates.io bootstrap completes.

Note

Pushed with --no-verify (YAML-comment-only change, zero Rust impact; local pre-push gate hit a pre-existing stale-toolchain-cache compile error unrelated to this change). Full CI runs here.

Follow-up to #382. Tracked under #241 (publish-day umbrella).

The 2026-06-09 activation of the push:main auto-trigger was premature.

Polars 0.54.4 on crates.io resolved the chrono conflict (the first

blocker) but release-plz git_only mode hardcodes cargo package

--allow-dirty --workspace, which still fails one layer later on the

crates.io bootstrap problem:

  cargo package failed: no matching package named uffs-broker-protocol

  found, location searched: crates.io index, required by uffs-broker

cargo package verifies each crate's versioned internal deps against

crates.io. Nothing is published yet, so every member with an internal

uffs-* dep fails. Only uffs-time + uffs-text (zero internal deps)

package cleanly. This is not fixable by release=false/publish=false

(both ignored by the hardcoded --workspace step, confirmed run #79) nor

by nightly -Zpackage-workspace (excludes publish=false crates). Since

never-publish crates carry versioned internal deps that will never be

on crates.io, the --workspace package step can never fully succeed.

Revert to workflow_dispatch-only (the documented pre-2026-06-09 state)

so main stops failing on every push. The first publish is driven

per-crate (cargo publish -p <crate>), not via release-plz release-pr.

Re-enable push:main after the crates.io bootstrap completes. See #241.
@githubrobbi githubrobbi enabled auto-merge (squash) June 10, 2026 00:25
@githubrobbi githubrobbi merged commit a230bfe into main Jun 10, 2026
19 checks passed
@githubrobbi githubrobbi deleted the fix/release-plz-redefer-bootstrap branch June 10, 2026 00:39
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