Fix release workflow and circular dependencies #68
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!68
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
command: release-prwhich prevented automatic publishing when PRs are mergedeventcorefailed because it has dev-dependencies oneventcore-memoryandeventcore-postgreswhich aren't on crates.io yeteventcore-benchmarkswas being published even though it should be internal-onlyThe Solution
command: release-prso it handles both PR creation and publishingpublish = falseto eventcore-benchmarks Cargo.tomlHow It Works Now
The release-plz workflow will:
New Publishing Order
This establishes the correct publishing order without circular dependencies:
Verification
cargo publish -p eventcore --dry-runnow succeeds, confirming the circular dependency is resolved.Changes Summary
publish = falseto benchmarks crateDefinition of Done Checklist
Please ensure all items in this checklist are completed before merging:
Pull Request Overview
This PR streamlines the release workflow and eliminates circular dev-dependencies to enable publishing to crates.io.
release-publish.ymlbenchmarks,integration-tests) aspublish = falseand moves adapter tests into a new integration crateeventcoreso it can be published independentlyReviewed Changes
Copilot reviewed 7 out of 38 changed files in this pull request and generated no comments.
Show a summary per file
eventcore-memoryandeventcore-postgresdev-deps to break circular referencespublish = falseand dependenciespublish = falseto prevent publishing internal benchmarks crateeventcore-integration-teststo the workspace membersComments suppressed due to low confidence (1)
eventcore-integration-tests/src/lib.rs:7
#![cfg(test)]attribute excludes all code from normal compilations, which may prevent the integration-test crate from being built or documented outside of test runs. Consider removing this attribute and applying#[cfg(test)]to specific test modules instead.