Fix release workflow to only create PRs, not publish #67
No reviewers
Labels
No labels
adr
automated
bug
chore
dependencies
documentation
enhancement
epic
github-actions
P1-high
P2-medium
P3-low
release
research
rust
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
jwilger/eventcore!67
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "fix-eventcore-release-inclusion"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Description
This PR fixes the release workflow issues and resolves circular dev-dependencies that were preventing publishing to crates.io.
The Problems
release-prANDreleasecommandseventcorefailed because it has dev-dependencies oneventcore-memorywhich wasn't published yeteventcore-benchmarkswas being published even though it should be internal-onlyThe Solution
command: release-prin the release-plz workflow to only create PRspublish = falseto eventcore-benchmarks Cargo.tomlNew Publishing Order
This establishes the correct publishing order without circular dependencies:
Impact
Note
Some postgres tests are failing due to local database configuration issues, but this doesn't affect the fix. The key verification is that
cargo publish -p eventcore --dry-runnow succeeds.Definition of Done Checklist
Please ensure all items in this checklist are completed before merging:
Pull Request Overview
This PR refines the release process by restricting the initial workflow to only create release PRs and preventing the benchmarks crate from being published.
command: release-prin the release-plz workflow to stop it from publishing packages.publish = falseto theeventcore-benchmarksCargo.toml so that benchmarks remain internal.Reviewed Changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.
publish = false).command: release-prunderwith:to create PRs only.Comments suppressed due to low confidence (2)
eventcore-benchmarks/Cargo.toml:13
publish = falseto explain that the benchmarks crate is internal-only and should not be published, improving clarity for future maintainers..github/workflows/release-plz.yml:48
command: release-prline is correctly indented under thewith:section to ensure the YAML is valid and the action picks up the intended command.