WIP: build: prepare explicit Cargo workspace features #472

Draft
erikinkinen wants to merge 5 commits from feature/workspace-feature-preparation into feature/clock-ci-tool-components
Owner

Resolve explicit feature choices for each original Cargo workspace, including nested projects without a root manifest. The registered completion retains those choices, and consuming source commands must use the same configuration.

Defaults remain enabled. Changed or unsupported selections are refused; restoring a changed completed selection does not make it usable again. Existing preparations without an explicit workspace selection retain their behavior.

  • Prepare and retain actual per-workspace feature resolutions.
  • Check consuming commands against the prepared configuration.
  • Integrate the complete native build plan and final artifact producers.
Resolve explicit feature choices for each original Cargo workspace, including nested projects without a root manifest. The registered completion retains those choices, and consuming source commands must use the same configuration. Defaults remain enabled. Changed or unsupported selections are refused; restoring a changed completed selection does not make it usable again. Existing preparations without an explicit workspace selection retain their behavior. - [x] Prepare and retain actual per-workspace feature resolutions. - [x] Check consuming commands against the prepared configuration. - [ ] Integrate the complete native build plan and final artifact producers.
erikinkinen added this to the Alpha 1 milestone 2026-11-06 22:14:47 +01:00
Resolve explicit features for each actual nested workspace and bind the immutable choices to the original metadata completion. Reject changed consumer configurations and retain uncertainty after a completed selection changes.
merge: Include clock tool installation for workspace preparation
Some checks failed
CI / markdown (push) Successful in 10s
CI / host_two (push) Failing after 18m31s
CI / host_zero (push) Failing after 20m18s
CI / integration (push) Has been skipped
Coreutils provider graph / coreutils (push) Successful in 3m46s
CI / rust (push) Successful in 5m37s
CI / host_one (push) Failing after 9m57s
CI / host_three (push) Failing after 11m28s
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
def616964a
Keep feature-aware original Cargo preparation on the integration recipe that installs its actual formatting and lint tools before source checks.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / host_two (push) Has been cancelled
CI / host_three (push) Has been cancelled
CI / integration (push) Has been cancelled
CI / markdown (push) Has been cancelled
Coreutils provider graph / coreutils (push) Has been cancelled
d38c86d5e2
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Separate Markdown checks from the build workflow
Some checks failed
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / host_zero (push) Has been cancelled
CI / host_one (push) Has been cancelled
CI / host_two (push) Has been cancelled
CI / host_three (push) Has been cancelled
CI / integration (push) Has been cancelled
Coreutils provider graph / coreutils (push) Has been cancelled
Markdown / markdown (push) Has been cancelled
8425322e4d
Keep each workflow below the repository size limit by giving Markdown its own file. Preserve event filters, job conditions and command bodies, with independent concurrency for the Markdown workflow.
ci: Use shared development dependency profiles
Some checks failed
Markdown / markdown (push) Successful in 14s
Coreutils provider graph / coreutils (push) Successful in 4m28s
CI / rust (push) Successful in 6m36s
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / host_zero (push) Failing after 4m46s
CI / host_one (push) Failing after 10m5s
CI / host_three (push) Failing after 12m7s
CI / host_two (push) Failing after 19m28s
CI / integration (push) Has been skipped
6c810a3f83
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
Some checks failed
Markdown / markdown (push) Successful in 14s
Coreutils provider graph / coreutils (push) Successful in 4m28s
CI / rust (push) Successful in 6m36s
CI / rust (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (pull_request) Has been skipped
CI / host_two (pull_request) Has been skipped
CI / host_three (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
Markdown / markdown (pull_request) Has been skipped
CI / host_zero (push) Failing after 4m46s
CI / host_one (push) Failing after 10m5s
CI / host_three (push) Failing after 12m7s
CI / host_two (push) Failing after 19m28s
CI / integration (push) Has been skipped
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/workspace-feature-preparation:feature/workspace-feature-preparation'
git switch 'feature/workspace-feature-preparation'

Merge

Merge the changes and update on Forgejo.

Warning: The "Autodetect manual merge" setting is not enabled for this repository, you will have to mark this pull request as manually merged afterwards.

git switch 'feature/clock-ci-tool-components'
git merge --no-ff 'feature/workspace-feature-preparation'
git switch 'feature/workspace-feature-preparation'
git rebase 'feature/clock-ci-tool-components'
git switch 'feature/clock-ci-tool-components'
git merge --ff-only 'feature/workspace-feature-preparation'
git switch 'feature/workspace-feature-preparation'
git rebase 'feature/clock-ci-tool-components'
git switch 'feature/clock-ci-tool-components'
git merge --no-ff 'feature/workspace-feature-preparation'
git switch 'feature/clock-ci-tool-components'
git merge --squash 'feature/workspace-feature-preparation'
git switch 'feature/clock-ci-tool-components'
git merge --ff-only 'feature/workspace-feature-preparation'
git switch 'feature/clock-ci-tool-components'
git merge 'feature/workspace-feature-preparation'
git push origin 'feature/clock-ci-tool-components'
Sign in to join this conversation.
No description provided.