Skip to content

ci: publish buffa-descriptor before buffa-types#160

Merged
iainmcgin merged 1 commit into
mainfrom
fix/publish-order-descriptor-before-types
May 29, 2026
Merged

ci: publish buffa-descriptor before buffa-types#160
iainmcgin merged 1 commit into
mainfrom
fix/publish-order-descriptor-before-types

Conversation

@iainmcgin
Copy link
Copy Markdown
Collaborator

Summary

The v0.7.0 publish run (26612133084) failed at the Publish buffa-types step:

failed to select a version for the requirement `buffa-descriptor = "^0.7.0"`
candidate versions found which didn't match: 0.6.0, 0.5.2, 0.5.1, ...

The reflection work in 0.7.0 added an optional buffa-descriptor dependency to buffa-types (behind the reflect feature), but the workflow still publishes buffa-types before buffa-descriptor. cargo publish requires optional dependencies to be resolvable from the index as well, so the step fails.

Change

Swap the buffa-descriptor and buffa-types publish steps and add a comment explaining the constraint. The rest of the order is already consistent with the workspace dependency graph (buffa → buffa-descriptor → buffa-types → buffa-codegen → buffa-build → protoc-gen-buffa → protoc-gen-buffa-packaging).

Recovery for v0.7.0

buffa 0.7.0 is already live on crates.io; the publish steps are idempotent. After this merges, re-dispatching the workflow (workflow_dispatch with dry_run=false) will skip buffa and publish the remaining six crates in the corrected order.

buffa-types gained an optional buffa-descriptor dependency (reflect
feature), so cargo publish for buffa-types now requires
buffa-descriptor to already be in the index. Swap the two steps to
restore dependency order; no other edges changed.
@github-actions
Copy link
Copy Markdown

All contributors have signed the CLA ✍️ ✅
Posted by the CLA Assistant Lite bot.

@iainmcgin iainmcgin marked this pull request as ready for review May 29, 2026 01:21
@iainmcgin iainmcgin enabled auto-merge (squash) May 29, 2026 01:21
@iainmcgin iainmcgin merged commit 8427b2a into main May 29, 2026
7 checks passed
@iainmcgin iainmcgin deleted the fix/publish-order-descriptor-before-types branch May 29, 2026 01:24
@github-actions github-actions Bot locked and limited conversation to collaborators May 29, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant