Repository navigation
ci: releases stop publishing to crates.io - #186
Conversation
meta_core and loop_lib depend on meta_plugin, which is publish = false, so `cargo publish -p meta_core` cannot succeed and the publish job fails every non-prerelease release. Remove the job and the meta_core version pin that existed only for it; meta_plugin_protocol, which it also published, left the workspace in #164.
|
No actionable comments were generated in the recent review. WalkthroughThe release workflow no longer runs the crates.io publish job. The workspace dependency on ChangesRelease publishing
Estimated code review effort: 2 (Simple) | ~10 minutes Change: Other Possibly related PRs
Suggested reviewers: Merge Risk:
|
What changes
A release no longer runs
cargo publish. Thepublishjob inrelease.ymlis removed. It publishedmeta_core,meta_plugin_protocolandloop_libon every non-prerelease tag, butmeta_coreandloop_libnow depend onmeta_plugin, which ispublish = false(meta_plugin/Cargo.toml:8-9). Socargo publish -p meta_corecould not succeed, and the job would have failed the 0.3.0 release.Removed along with it:
meta_coreversion requirement before publishing, and theCARGO_REGISTRY_TOKENuse (the secret is no longer referenced anywhere);Cargo.tomlrequirementversion = "<1"onmeta_core. It existed only so the pin step could rewrite it;meta_coreis now a plain path dependency likeloop_libandmeta_plugin.Cargo.lockis unchanged (cargo metadata --lockedpasses).No other job used
needs: publish.update-homebrewandnotify-discorddepend onreleaseonly and are unchanged (one comment innotify-discordstopped mentioning crates.io).crates.io
0.2.22 of
meta_core,meta_plugin_protocolandloop_lib(May) stays on crates.io. Nothing newer will be published until someone decides to publish again. Installs come from the release archives (install scripts, Homebrew) or from building main.Notes
meta_plugin_protocolis no longer in the workspace: its directory was removed in refactor: meta_plugin, the plugin SDK: runtime, process owner and test kit move out of meta_core; single-source ratchet #164, so there is nothing to delete here.docs/faq_troubleshooting.mdsays "For cargo install", which meansmake install(that runscargo install --path). The old planning note.context/tasks/cicd-distribution-gaps.mdstill listscargo install metaas a goal; it is a plan, not install instructions, so it is left as it is.Verified
actionlint 1.7.12onrelease.yml: no findings.Open in [code]smith · Need help on this PR? Tag
@codesmith-botwith what you need.Summary by CodeRabbit
meta_core,meta_plugin_protocol, orloop_libto crates.io.