Skip to content
This repository was archived by the owner on Dec 3, 2026. It is now read-only.

ci: releases stop publishing to crates.io - #186

Merged
mateodelnorte merged 1 commit into
mainfrom
meta-release-crates
Nov 9, 2026
Merged

mateodelnorte merged 1 commit into
mainfrom
meta-release-crates

Conversation

@gold-silver-copper

@gold-silver-copper gold-silver-copper commented Nov 9, 2026 •

Copy link
Copy Markdown
Contributor

What changes

A release no longer runs cargo publish. The publish job in release.yml is removed. It published meta_core, meta_plugin_protocol and loop_lib on every non-prerelease tag, but meta_core and loop_lib now depend on meta_plugin, which is publish = false (meta_plugin/Cargo.toml:8-9). So cargo publish -p meta_core could not succeed, and the job would have failed the 0.3.0 release.

Removed along with it:

  • the step that pinned the meta_core version requirement before publishing, and the CARGO_REGISTRY_TOKEN use (the secret is no longer referenced anywhere);
  • the root Cargo.toml requirement version = "<1" on meta_core. It existed only so the pin step could rewrite it; meta_core is now a plain path dependency like loop_lib and meta_plugin. Cargo.lock is unchanged (cargo metadata --locked passes).

No other job used needs: publish. update-homebrew and notify-discord depend on release only and are unchanged (one comment in notify-discord stopped mentioning crates.io).

crates.io

0.2.22 of meta_core, meta_plugin_protocol and loop_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_protocol is 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.
  • No README or doc promised a crates.io install. The README's install paths are building from main and the release archives. docs/faq_troubleshooting.md says "For cargo install", which means make install (that runs cargo install --path). The old planning note .context/tasks/cicd-distribution-gaps.md still lists cargo install meta as a goal; it is a plan, not install instructions, so it is left as it is.

Verified

  • actionlint 1.7.12 on release.yml: no findings.
  • This PR's own Release run (build and package only, releases nothing): see checks.
  • Not run: a real tag release.
cd open-source/meta && git switch meta-release-crates && actionlint .github/workflows/release.yml

Autofix with [code]smith
Open in [code]smith · Need help on this PR? Tag @codesmith-bot with what you need.

Summary by CodeRabbit

  • Chores
    • Automated releases no longer publish meta_core, meta_plugin_protocol, or loop_lib to crates.io.
    • Release notifications no longer describe crates.io publishing as a downstream step that should continue if a notification fails.

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.
@coderabbitai

coderabbitai Bot commented Nov 9, 2026 •

Copy link
Copy Markdown

Explain Change →

No actionable comments were generated in the recent review.

Walkthrough

The release workflow no longer runs the crates.io publish job. The workspace dependency on meta_core retains its local path and no longer specifies a version constraint.

Changes

Release publishing

Layer / File(s) Summary
Remove crates.io publishing
.github/workflows/release.yml, Cargo.toml
The release workflow no longer includes the crates.io publish job. Its comment now names the Homebrew tap update as an example downstream consumer. The workspace dependency on meta_core retains its local path and drops its version constraint.

Estimated code review effort: 2 (Simple) | ~10 minutes

Change: Other

Possibly related PRs

  • gitkb/meta#138: Changes the same release workflow, including the crates.io publish job.
  • gitkb/meta#140: Changes crates.io publishing steps and the meta_core version requirement.
  • gitkb/meta#139: Changes the release publish contract and meta_core version requirements.

Suggested reviewers: mateodelnorte

Merge Risk: Minimal · up to d4bca

The release will no longer publish crates to crates.io as intended. No actionable merge risk is established beyond normal release validation.

Pre-merge checks: Passed 5

Check name Status Explanation
Description Check Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check Passed The title clearly summarizes the main change: releases stop publishing packages to crates.io.
Docstring Coverage Passed No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentat…
Linked Issues check Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check Passed Check skipped because no linked issues were found for this pull request.
Full details: Docstring Coverage

Explanation

No eligible functions found in the changed files. Skipping docstring coverage check. Docstring coverage is scoped to functions touched by this diff with cyclomatic complexity of at least 2. Documentation-only edits and deletions within surviving functions are included; unchanged diff context and fully deleted functions are excluded. Analyzed 0 functions across 0 files. (2 skipped: 2 unsupported.)

Finishing Touches

Generate unit tests (beta)

  • Commit to this branch
  • Create a new PR
  • Autofix · Keep fixing CodeRabbit findings and required CI, and resolving merge conflicts

A rabbit watched the release flow,
The crates.io steps no longer go.
The path remains in Cargo’s view,
The version bound is gone there too.
Homebrew gets a mention now,
The rabbit nods and takes a bow.

Recent review info

Run configuration

  • Source mode: Auto
  • Repository: Unavailable
  • Branch: Unavailable
  • File: No configuration file from this repository applied
  • Commit: Unavailable
  • Layers: Organization UI
  • Review profile: ASSERTIVE
  • Plan: Team
  • Run ID: 90d3cf50-7feb-47a2-9180-2f2493b4bc87
Commits

Reviewing files that changed from the base of the PR and between 79c6701 and d4bcaa0.

Files selected for processing: 2

  • .github/workflows/release.yml
  • Cargo.toml

Included review availability: This review used your included allowance. 0 included reviews remain after this review. Your included PR review attempts over the past 7 days set your current allowance at 1 review per hour.

@coderabbitai
coderabbitai Bot requested a review from mateodelnorte November 9, 2026 19:42
@mateodelnorte
mateodelnorte merged commit 9a5fa0c into main Nov 9, 2026
20 of 21 checks passed
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.

2 participants