Repository navigation
ci(core): sync downstream lockfile during Rust releases - #2484
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Run ID: ⛔ Files ignored due to path filters (1)
📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
WalkthroughUpdated ChangesRust release version synchronization
Estimated code review effort: 1 (Trivial) | ~5 minutes Possibly related PRs
Suggested labels: Suggested reviewers: Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
|
Mechanics look correct — I checked the details and they hold up:
One gap before merge: a second committed lockfile is left stale. There are two lockfiles that pin all three crates:
"core/wren-core-base/manifest-macro": {
"extra-files": [
{ "path": "/core/wren-core-py/Cargo.lock", "type": "toml", "jsonpath": "$.package[?(@.name.value=='wren-manifest-macro')].version" },
{ "path": "/core/wren-core-wasm/Cargo.lock", "type": "toml", "jsonpath": "$.package[?(@.name.value=='wren-manifest-macro')].version" }
]
},
"core/wren-core-base": {
"extra-files": [
{ "path": "Cargo.toml", "type": "toml", "jsonpath": "$.dependencies.wren-manifest-macro.version" },
{ "path": "/core/wren-core-py/Cargo.lock", "type": "toml", "jsonpath": "$.package[?(@.name.value=='wren-core-base')].version" },
{ "path": "/core/wren-core-wasm/Cargo.lock", "type": "toml", "jsonpath": "$.package[?(@.name.value=='wren-core-base')].version" }
]
},
"core/wren-core": {
"extra-files": [
{ "path": "Cargo.toml", "type": "toml", "jsonpath": "$.workspace.package.version" },
{ "path": "Cargo.toml", "type": "toml", "jsonpath": "$.workspace.dependencies.wren-core-base.version" },
{ "path": "/core/wren-core-py/Cargo.lock", "type": "toml", "jsonpath": "$.package[?(@.name.value=='wren-semantic-core')].version" },
{ "path": "/core/wren-core-wasm/Cargo.lock", "type": "toml", "jsonpath": "$.package[?(@.name.value=='wren-semantic-core')].version" }
]
}(One thing I couldn't confirm from the workflows: whether the wasm build runs with |
70b7fcd to
f98b5e2
Compare
f98b5e2 to
cd45e61
Compare
|
Thanks, you're right. I confirmed that the WASM workflows currently use plain I've mirrored the three Release Please entries to I kept enforcing Sorry for the commit history churn—the follow-up commit was accidentally squashed into the original commit during rebase, so these changes now appear together in a single rewritten commit. |
Summary
Keep
core/wren-core-py/Cargo.locksynchronized when the linked Rust core crates are released.Release Please now updates the three corresponding lockfile entries in the release PR, preventing locked downstream builds from failing after a version bump.
Verification
release-please-action@v4cargo metadata --lockedSummary by CodeRabbit