Keep retained image library variants distinct #578

Open
erikinkinen wants to merge 6 commits from feature/retained-image-library-variants into feature/retained-vm-python-selection
Owner

Retained image producers can build different feature or native-runtime variants of one library package. Give each exact input combination a full digest name before linking, and use that name consistently in ELF SONAMEs, anchors and dependencies. Cargo crate and compiler-metadata aliases keep their original spelling.

The digest includes actual held source, feature, compiler/helper, native runtime, dependency and admitted tool identities, including argv0 semantics. The same registered original graph supplies the edge projection; records do not grant source or compiler ownership. Image intake still refuses different bytes or identity fields under one name.

Depends on #573.

  • Produce distinct library names before native ELF linking.
  • Preserve original source, native, material and clock checks.
  • Pass focused input controls and complete syntax/source-cleanliness checks.
  • Finish genuine current-source ordinary, Kernel and process producer checks plus exact-byte coexistence and closure negatives.

Complete-image and guest acceptance remain separate gates in #551 and #559. No CI or guest pass is claimed.

Fresh native checks pass for Rootd, Kernel, Coreutils, Exsh and the Directory process under their original limits. Joint intake of their actual outputs accepts 35 distinct DSOs, including both stdio feature variants and three capabi native-runtime variants. Removing a needed object or changing its dependency edge is refused. Rootd remains within its original 32 GiB material allowance.

The final image closure check now inspects canonical variant names against actual embedded ELF package/version/compiler identities, metadata and artifact hashes, SONAMEs and dependency edges before accepting same-version variants. Duplicate actual identities, legacy package duplicates and explicit cross-version conflict requirements remain enforced. Retained reads use the same pending working owner and original material budget. Seventeen focused controls pass, and the selected data assembly verifies all 40 executable and 49 object closures. Whole-image and guest acceptance remain separate.

Retained image producers can build different feature or native-runtime variants of one library package. Give each exact input combination a full digest name before linking, and use that name consistently in ELF SONAMEs, anchors and dependencies. Cargo crate and compiler-metadata aliases keep their original spelling. The digest includes actual held source, feature, compiler/helper, native runtime, dependency and admitted tool identities, including argv0 semantics. The same registered original graph supplies the edge projection; records do not grant source or compiler ownership. Image intake still refuses different bytes or identity fields under one name. Depends on #573. - [x] Produce distinct library names before native ELF linking. - [x] Preserve original source, native, material and clock checks. - [x] Pass focused input controls and complete syntax/source-cleanliness checks. - [x] Finish genuine current-source ordinary, Kernel and process producer checks plus exact-byte coexistence and closure negatives. Complete-image and guest acceptance remain separate gates in #551 and #559. No CI or guest pass is claimed. Fresh native checks pass for Rootd, Kernel, Coreutils, Exsh and the Directory process under their original limits. Joint intake of their actual outputs accepts 35 distinct DSOs, including both stdio feature variants and three capabi native-runtime variants. Removing a needed object or changing its dependency edge is refused. Rootd remains within its original 32 GiB material allowance. The final image closure check now inspects canonical variant names against actual embedded ELF package/version/compiler identities, metadata and artifact hashes, SONAMEs and dependency edges before accepting same-version variants. Duplicate actual identities, legacy package duplicates and explicit cross-version conflict requirements remain enforced. Retained reads use the same pending working owner and original material budget. Seventeen focused controls pass, and the selected data assembly verifies all 40 executable and 49 object closures. Whole-image and guest acceptance remain separate.
erikinkinen added this to the Alpha 1 milestone 2026-11-08 04:55:33 +01:00
Keep feature and runtime variants distinct through genuine compilation and ELF linking. Project only the same registered original graph edges into complete input-qualified names while preserving Cargo crate aliases and strict actual image-byte compatibility.
Retain exact actual scope and graph registration plus the original work deadline for pure name projection. Avoid adding duplicate full graph reads; every original source, compiler, native effect, link and publication check remains in place.
fix: Bind every admitted native tool role in library input names
Some checks failed
CI / native_sources (pull_request) Has been skipped
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 / native_sources (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
7ef34ad4ad
Include actual original tool body identities and argv0 basename semantics in the input digest, including linker and symbol inspection roles. Reuse held validated observations without new reads, temporary coordinates or output hash cycles.
erikinkinen changed title from WIP: Keep retained image library variants distinct to Keep retained image library variants distinct 2026-11-08 05:25:11 +01:00
Keep legacy package and object uniqueness checks while admitting same-version variants only after inspecting their actual ELF, canonical full input name, embedded identity and dynamic edges. Retained closure reads stay under the actual pending working owner and original material bounds; records confer no compiler or source custody.
test: Inspect immutable ELF fixture snapshots
Some checks failed
CI / rust (pull_request) Has been skipped
CI / native_sources (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
Markdown / markdown (push) Failing after 13s
CI / rust (push) Failing after 3m6s
Coreutils provider graph / coreutils (push) Successful in 4m16s
CI / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
809230bfc9
Keep the existing immutable-byte parser boundary in synthetic closure controls. Snapshot each mutable fixture encoder buffer before inspection; product parsing and acceptance remain unchanged.
docs: Wrap feature documentation consistently
Some checks failed
Coreutils provider graph / coreutils (push) Has been cancelled
Markdown / markdown (push) Has been cancelled
CI / rust (push) Failing after 1m35s
CI / rust (pull_request) Has been skipped
CI / native_sources (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 / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
faa4f04406
Keep the existing feature documentation within the shared Markdown layout rules without changing its content.
Some checks failed
Coreutils provider graph / coreutils (push) Has been cancelled
Markdown / markdown (push) Has been cancelled
CI / rust (push) Failing after 1m35s
CI / rust (pull_request) Has been skipped
CI / native_sources (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 / native_sources (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
This pull request can be merged automatically.
This branch is out-of-date with the base branch
You are not authorized to merge this pull request.
View command line instructions

Checkout

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

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/retained-vm-python-selection'
git merge --no-ff 'feature/retained-image-library-variants'
git switch 'feature/retained-image-library-variants'
git rebase 'feature/retained-vm-python-selection'
git switch 'feature/retained-vm-python-selection'
git merge --ff-only 'feature/retained-image-library-variants'
git switch 'feature/retained-image-library-variants'
git rebase 'feature/retained-vm-python-selection'
git switch 'feature/retained-vm-python-selection'
git merge --no-ff 'feature/retained-image-library-variants'
git switch 'feature/retained-vm-python-selection'
git merge --squash 'feature/retained-image-library-variants'
git switch 'feature/retained-vm-python-selection'
git merge --ff-only 'feature/retained-image-library-variants'
git switch 'feature/retained-vm-python-selection'
git merge 'feature/retained-image-library-variants'
git push origin 'feature/retained-vm-python-selection'
Sign in to join this conversation.
No description provided.