Repository navigation
chore(workspace): freeze the crate set and mark every crate unpublished (reld#152) - #157
Merged
Merged
Conversation
…ed (reld#152) The seven crates are all mandatory to build reld, none is optional functionality for an outside consumer, and nothing has ever been published: all six `reld-*` names are still unclaimed on crates.io. Publishing is a product decision for the owner, so the manifests now say so instead of leaving `publish` unset, where a stray `cargo publish` would have been accepted. The criteria for adding a crate go in AGENTS.md, and `ci/tests/test_crate_layout.py` pins the member list and the publish flag so a new crate needs a reviewed change that states which criteria it meets. Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
11 of 20 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #152.
What this settles
All seven workspace crates are mandatory to build reld. None is optional functionality an outside consumer would depend on, and nothing has ever been published — all six
reld-*names are still unclaimed on crates.io. Withpublishleft unset, a straycargo publishwould have been accepted, so the manifests now saypublish = falseexplicitly.AGENTS.mdgains a Crate layout section: add a module, not a crate; a new workspace member needs explicit developer approval in the motivating issue before the work starts, and must meet all five criteria (more than one consumer; it removes a wrong dependency edge; narrow stable surface; no cycle or lockstep diamond; not single-use test scaffolding). A long file, a feeling that something is its own concern, an unmeasured hope of faster incremental builds, and mirroring another project's layout are called out as insufficient.ci/tests/test_crate_layout.pypins both the member list and the publish flag, so a new crate cannot arrive without a reviewed change to that file. It runs in the existing Python job — no new workflow.Left to the owner
These are deliberately not decided here:
0.0.0crates for the six unclaimedreld-*names would reserve them. That is a product decision, not a cleanup.reld-tracevsreld-layout-schema. They are adjacent and could merge; both currently justify themselves under criterion 2, so nothing is forced.Verification
cargo fmt --all -- --check,cargo clippy --workspace --all-targets -- -D warnings,cargo metadata— cleanuv run --no-sync python -m pytest ci/tests -q— 260 passed (2 new)python3 ci/check_dependencies.py— clean🤖 Generated with Claude Code