WIP: Retain original Cargo inputs for CI consumers #237

Draft
erikinkinen wants to merge 7 commits from feature/retained-cargo-ci-consumers into feature/original-acquisition-integrity
Owner

Run shell and Python Cargo consumers from checked original sources and a fresh offline workspace. Keep source declarations unchanged and replace path overrides. Public metadata uses exclusive files and an actual namespace lease; replacing ordinary untracked metadata requires explicit authorization and retains its prior body.

Depends on #234, with #235 joined for source-only verification. Related: #142.

  • Retain original source, tool and lock inputs for actual consumers.
  • Preserve tracked source and unrelated metadata files.
  • Exercise the connected public helper/provider graph.
Run shell and Python Cargo consumers from checked original sources and a fresh offline workspace. Keep source declarations unchanged and replace path overrides. Public metadata uses exclusive files and an actual namespace lease; replacing ordinary untracked metadata requires explicit authorization and retains its prior body. Depends on [#234](https://git.erikinkinen.fi/erix/integration/pulls/234), with [#235](https://git.erikinkinen.fi/erix/integration/pulls/235) joined for source-only verification. Related: [#142](https://git.erikinkinen.fi/erix/integration/issues/142). - [x] Retain original source, tool and lock inputs for actual consumers. - [x] Preserve tracked source and unrelated metadata files. - [ ] Exercise the connected public helper/provider graph.
erikinkinen added this to the Alpha 1 milestone 2026-10-31 01:38:37 +01:00
fix: Keep non-Cargo roots under original-file verification
Some checks failed
CI / rust (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 15s
CI / rust (push) Failing after 2m1s
CI / integration (push) Failing after 30m17s
e1c5b43fd1
Require complete literal original-file checks when a source root has no Cargo manifests. Treat any authored Cargo.lock as immutable source and preserve refusal of changed bytes, substituted links or invented generated-lock bookkeeping.
Join the acquired-source stack with original-file verification for roots
without Cargo manifests. Keep generated lock exemptions tied to actual
manifest ownership when ordinary CI consumers use the shared pipeline.
Prepare fresh offline Cargo workspaces from actual selected sources and bind
shell and Python invocations to retained tools, original blobs and locks.
Replace obsolete path overrides and carry the generated operation through
component and bootloader callers without assigning HOME to task storage.
fix: Preserve original files when publishing CI metadata
Some checks failed
CI / rust (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 3s
CI / rust (push) Failing after 27s
CI / integration (push) Failing after 1m11s
b93fee89fe
Refuse tracked public output paths before creating slots and use exclusive
creation by default. Require an explicit request to replace ordinary
untracked metadata, retain its prior bytes, and keep the original namespace
FD locked through publication.

Carry the replacement choice through component, appliance and bootloader
arguments so an old name or descriptor cannot imply output custody.
ci: Use shared development dependency profiles
Some checks failed
CI / rust (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / integration (push) Has been cancelled
CI / markdown (push) Has been cancelled
62761ceb09
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: Extract the complete host fixture sequence
Some checks failed
CI / rust (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / rust (push) Has been cancelled
CI / integration (push) Has been cancelled
CI / markdown (push) Has been cancelled
a3994f1844
Keep the existing fixture commands together in a component-owned script sourced by their original CI step. Retain the same shell options, environment, working directory and complete acceptance gates.
ci: Declare policy helper and output boundaries
Some checks failed
CI / rust (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 26s
CI / rust (push) Successful in 6m57s
CI / integration (push) Failing after 7m8s
7ce980a819
Select a disjoint operation parent for policy evidence and explicitly identify the helper checkout excluded from original component input. Keep the complete dependency policy and existing acceptance commands.
Some checks failed
CI / rust (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / markdown (push) Successful in 26s
CI / rust (push) Successful in 6m57s
CI / integration (push) Failing after 7m8s
This pull request has changes conflicting with the target branch.
  • scripts/check-integration-host-fixtures.sh
View command line instructions

Manual merge helper

Use this merge commit message when completing the merge manually.

Checkout

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

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/original-acquisition-integrity'
git merge --no-ff 'feature/retained-cargo-ci-consumers'
git switch 'feature/retained-cargo-ci-consumers'
git rebase 'feature/original-acquisition-integrity'
git switch 'feature/original-acquisition-integrity'
git merge --ff-only 'feature/retained-cargo-ci-consumers'
git switch 'feature/retained-cargo-ci-consumers'
git rebase 'feature/original-acquisition-integrity'
git switch 'feature/original-acquisition-integrity'
git merge --no-ff 'feature/retained-cargo-ci-consumers'
git switch 'feature/original-acquisition-integrity'
git merge --squash 'feature/retained-cargo-ci-consumers'
git switch 'feature/original-acquisition-integrity'
git merge --ff-only 'feature/retained-cargo-ci-consumers'
git switch 'feature/original-acquisition-integrity'
git merge 'feature/retained-cargo-ci-consumers'
git push origin 'feature/original-acquisition-integrity'
Sign in to join this conversation.
No description provided.