Skip to content

fix(release): drop --all-features from build-release step#75

Merged
ruvnet merged 1 commit into
mainfrom
fix/release-build-no-all-features
May 14, 2026
Merged

fix(release): drop --all-features from build-release step#75
ruvnet merged 1 commit into
mainfrom
fix/release-build-no-all-features

Conversation

@ruvnet
Copy link
Copy Markdown
Owner

@ruvnet ruvnet commented May 14, 2026

Summary

`cargo build --release --target X --all-features` on the midstream root crate enables the off-by-default `lean-agentic` feature, which exposes 27 unresolved-import errors in `src/lean_agentic/`. The v0.2.1 release run failed all 5 Build Release matrix entries here.

Same root cause that `rust-ci.yml`'s clippy/test/docs/coverage jobs already work around (and that `release.yml`'s publish-crates step exempts midstream from in #70). Build Release is what attaches binaries to the GitHub Release; ship default-feature builds and let opt-in features re-enable when the lean_agentic facade is retired per ADR-0005.

Out of band: `CARGO_REGISTRY_TOKEN` not set

The v0.2.1 publish job failed with `please provide a non-empty token`. The repo's `CARGO_REGISTRY_TOKEN` secret is empty/unset. Only a repo admin can fix this (Settings → Secrets and variables → Actions → New repository secret). Until that's set, retagging won't publish anything.

🤖 Generated with claude-flow

`cargo build --release --target X --all-features` on the midstream
root crate enables the off-by-default `lean-agentic` feature, which
exposes 27 unresolved-import errors in `src/lean_agentic/`. The
v0.2.1 release run failed all 5 Build Release matrix entries here.

This is the same problem ADR-0005 + the rust-ci.yml clippy/test/
docs/coverage jobs already work around by excluding midstream from
`--all-features` invocations. The publish-crates job (line 191+)
exempts midstream entirely. The build-release job is what attaches
binaries to the GitHub Release; ship default-feature builds and let
opt-in features re-enable once the lean_agentic retirement (per
ADR-0005) lands.

This unblocks the v0.2.1 binary attachments. Publish-crates is
separately blocked on the `CARGO_REGISTRY_TOKEN` repo secret being
set (out of my reach — repo admin only).

Co-Authored-By: claude-flow <ruv@ruv.net>
@ruvnet ruvnet merged commit bb73ff3 into main May 14, 2026
13 of 36 checks passed
@ruvnet ruvnet deleted the fix/release-build-no-all-features branch May 14, 2026 01:48
ruvnet added a commit that referenced this pull request May 14, 2026
Same root cause as #73 (rust-ci.yml docs job) and #75 (release.yml
build-release): `cargo doc --workspace --all-features` enables the
off-by-default `lean-agentic` feature on the midstream root crate,
which hits 27 unresolved-import errors in src/lean_agentic/.

The v0.2.1 release run's update-docs job failed for this reason
even though publish-crates succeeded — the 6 libs are live on
crates.io, but the doc deploy to gh-pages didn't run.

Add the same `--exclude midstream --exclude hyprstream` posture
here. Future releases will get the doc deploy back.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant