WIP: build: retain primary service artifact production #483

Draft
erikinkinen wants to merge 10 commits from feature/retained-primary-native-artifacts into feature/native-build-fixture-prerequisites
Owner

Extend the retained native artifact producer to the 40 primary service and command roles. Match each binary, source, entry symbol and feature selection against its prepared Cargo graph, including implicit Vfsd targets and driver entry names. Build dependencies, native C support and the final ELF in the same operation.

Compiler, assembler and linker actions declare their output and temporary limits. Check the held output tree after native retirement and before consuming products; preserve the original error and cleanup duties if retirement is uncertain. These checks provide operational bounds, not filesystem quotas.

  • Wire the primary role contracts and same-operation dependency registry into the maintained build recipe.
  • Separate cumulative material work from per-action file effects.
  • Produce a real Timed ELF through the retained producer.
  • Execute the complete native artifact graph and release-image build.

Stacks on #482. Kernel and EFI use separate producers. The Timed result does not establish execution of every role or a build inside EriX.

Extend the retained native artifact producer to the 40 primary service and command roles. Match each binary, source, entry symbol and feature selection against its prepared Cargo graph, including implicit Vfsd targets and driver entry names. Build dependencies, native C support and the final ELF in the same operation. Compiler, assembler and linker actions declare their output and temporary limits. Check the held output tree after native retirement and before consuming products; preserve the original error and cleanup duties if retirement is uncertain. These checks provide operational bounds, not filesystem quotas. - [x] Wire the primary role contracts and same-operation dependency registry into the maintained build recipe. - [x] Separate cumulative material work from per-action file effects. - [x] Produce a real Timed ELF through the retained producer. - [ ] Execute the complete native artifact graph and release-image build. Stacks on [#482](https://git.erikinkinen.fi/erix/integration/pulls/482). Kernel and EFI use separate producers. The Timed result does not establish execution of every role or a build inside EriX.
erikinkinen added this to the Alpha 1 milestone 2026-11-06 23:56:43 +01:00
Select primary package, binary and entry contracts through original registered Cargo metadata. Derive optional active dependency records inside the same retained source operation and wire explicitly selected native builds through complete registry production instead of cached outputs.
Keep the explicit root as a real local input and acquire every other provider through the existing canonical source owner. Bind materialized source comparisons to the same acquired context and retain native fixture evidence through every failure.
Use the reviewed workspace selection producer and its complete checked source helper graph before further native C and service compilation. Preserve the original retained role checkpoints and all six native engine bodies.

# Conflicts:
#	ARCHITECTURE.md
#	README.md
#	ROADMAP.md
#	scripts/check-python-host-syntax.sh
#	tests/fixtures/python-host-syntax-commands.json
Initialize the actual canonical provider owner and preserve its catalog, interpreter and acquisition relationships. Only the explicit root uses the real local object selector; provider acquisition uses the defining implementation without weakening pipeline admission.
Separate cumulative material work from each compiler operation’s declared products, captures and temporary acceptance. Keep the actual held-root census before admission and immediately after native retirement, enforce output extents before product reads, and preserve the original process owner and overall allowances.
Exercise the complete reviewed primary role inventory and preserve native cleanup duties when process birth fails after actual admission. Document operational file-effect limits separately from filesystem quotas and image acceptance.
merge: Compose native build fixture prerequisites
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 / markdown (push) Successful in 13s
Coreutils provider graph / coreutils (push) Successful in 4m10s
CI / rust (push) Successful in 7m2s
CI / host_two (push) Successful in 10m23s
CI / host_zero (push) Successful in 14m41s
CI / host_three (push) Successful in 13m12s
CI / host_one (push) Successful in 19m47s
CI / integration (push) Failing after 2m23s
77b44dbdf2
Retain the complete provider command plan and independently reviewed validation fixtures while preserving the primary artifact implementation and its existing native evidence.
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
3ac49a2614
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
c152e8e1b1
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 15s
Coreutils provider graph / coreutils (push) Successful in 4m34s
CI / rust (push) Successful in 7m10s
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_two (push) Successful in 12m20s
CI / host_zero (push) Successful in 19m18s
CI / host_three (push) Successful in 17m24s
CI / host_one (push) Failing after 23m37s
CI / integration (push) Has been skipped
6341b2194f
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 15s
Coreutils provider graph / coreutils (push) Successful in 4m34s
CI / rust (push) Successful in 7m10s
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_two (push) Successful in 12m20s
CI / host_zero (push) Successful in 19m18s
CI / host_three (push) Successful in 17m24s
CI / host_one (push) Failing after 23m37s
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/retained-primary-native-artifacts:feature/retained-primary-native-artifacts'
git switch 'feature/retained-primary-native-artifacts'

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/native-build-fixture-prerequisites'
git merge --no-ff 'feature/retained-primary-native-artifacts'
git switch 'feature/retained-primary-native-artifacts'
git rebase 'feature/native-build-fixture-prerequisites'
git switch 'feature/native-build-fixture-prerequisites'
git merge --ff-only 'feature/retained-primary-native-artifacts'
git switch 'feature/retained-primary-native-artifacts'
git rebase 'feature/native-build-fixture-prerequisites'
git switch 'feature/native-build-fixture-prerequisites'
git merge --no-ff 'feature/retained-primary-native-artifacts'
git switch 'feature/native-build-fixture-prerequisites'
git merge --squash 'feature/retained-primary-native-artifacts'
git switch 'feature/native-build-fixture-prerequisites'
git merge --ff-only 'feature/retained-primary-native-artifacts'
git switch 'feature/native-build-fixture-prerequisites'
git merge 'feature/retained-primary-native-artifacts'
git push origin 'feature/native-build-fixture-prerequisites'
Sign in to join this conversation.
No description provided.