WIP: Build image Kernel artifacts through original retained owners #543

Draft
erikinkinen wants to merge 15 commits from feature/retained-image-kernel into feature/owned-stream-directory-image
Owner

Build the image Kernel through its dedicated original source and native operation. The same operation compiles the actual Kernel library and binary, builds its dependency DSOs and public C memory companion, and checks the final ELF before publishing it.

The explicit image bridge avoids the legacy imported registry. Package version and OOM policy are bound to the actual root compiler inputs. Allocation forwarding preserves a custom root handler or the selected compiler's genuine held liballoc default; it never substitutes the old privileged halt shim. The final unresolved-symbol guard now checks actual native output against visible DSO exports.

Depends on #542. Shared image-input publication is composed from the separate artifact-input feature; records remain descriptive selectors, and image assembly must independently hold and inspect every actual file.

  • Reuse the defining Kernel operation and exact library/binary source roles.
  • Add explicit image dispatch, original compiler inputs and strict final symbol checks.
  • Publish optional fresh image-input selectors through the same retained file descriptors.
  • Complete the selected image-feature Kernel build and check its published closure.
  • Assemble and execute the matching image with the owned-stream and directory workloads.
Build the image Kernel through its dedicated original source and native operation. The same operation compiles the actual Kernel library and binary, builds its dependency DSOs and public C memory companion, and checks the final ELF before publishing it. The explicit image bridge avoids the legacy imported registry. Package version and OOM policy are bound to the actual root compiler inputs. Allocation forwarding preserves a custom root handler or the selected compiler's genuine held liballoc default; it never substitutes the old privileged halt shim. The final unresolved-symbol guard now checks actual native output against visible DSO exports. Depends on #542. Shared image-input publication is composed from the separate artifact-input feature; records remain descriptive selectors, and image assembly must independently hold and inspect every actual file. - [x] Reuse the defining Kernel operation and exact library/binary source roles. - [x] Add explicit image dispatch, original compiler inputs and strict final symbol checks. - [x] Publish optional fresh image-input selectors through the same retained file descriptors. - [x] Complete the selected image-feature Kernel build and check its published closure. - [ ] Assemble and execute the matching image with the owned-stream and directory workloads.
Compile the original Kernel library and binary against a same-operation native C and DSO registry, preserving complete source and active feature bindings through final ELF checks. Keep EFI and whole-graph execution explicitly separate until their defining producers are implemented.
feat: Preserve the actual Kernel default allocation handler
Some checks failed
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
bcca8c207e
docs: Describe observed Kernel allocation handler inputs
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
23a250633b
erikinkinen added this to the Alpha 1 milestone 2026-11-07 22:12:27 +01:00
fix: Preserve the first image input ownership failure
Some checks failed
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
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
5ba2823045
fix: Check image Kernel record selection before native admission
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
069572691f
feat: Select the Kernel record for retained image assembly
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
8a3454a0c1
fix: Reject unknown custom allocation handlers before default selection
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
365a596b31
Author
Owner

The Kernel now builds with the image scenario's exact six-feature selection, including SMP. The fresh original producer compiled the actual library and binary, produced its eight dependency DSOs and public C memory companion, and passed the final ELF, metadata and unresolved-symbol guards. All original owners retired cleanly.

The checked artifact is 2,282,536 bytes, SHA-256 ba902f0c4b291cd56f46b38787837f4c1148289b7e0a401e73463d219e13878c, produced from helper commit 23a250633b465f01acbfc8280fae8db66fdad03c. Its image-input record was published through the same retained descriptors. Subsequent changes tighten selector preflight and unsupported-handler refusal.

Image assembly must independently acquire those actual files. The matching image and guest workloads remain pending.

The Kernel now builds with the image scenario's exact six-feature selection, including SMP. The fresh original producer compiled the actual library and binary, produced its eight dependency DSOs and public C memory companion, and passed the final ELF, metadata and unresolved-symbol guards. All original owners retired cleanly. The checked artifact is 2,282,536 bytes, SHA-256 `ba902f0c4b291cd56f46b38787837f4c1148289b7e0a401e73463d219e13878c`, produced from helper commit `23a250633b465f01acbfc8280fae8db66fdad03c`. Its image-input record was published through the same retained descriptors. Subsequent changes tighten selector preflight and unsupported-handler refusal. Image assembly must independently acquire those actual files. The matching image and guest workloads remain pending.
refactor: Source the Kernel bridge without ambient tool lookup
Some checks failed
Markdown / markdown (push) Has been cancelled
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
5875c2d0ec
fix: Refuse legacy custom allocation fallback
Some checks failed
Markdown / markdown (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 (push) Failing after 10s
Coreutils provider graph / coreutils (push) Successful in 4m34s
CI / rust (push) Failing after 6m53s
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
813fb56387
Some checks failed
Markdown / markdown (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 (push) Failing after 10s
Coreutils provider graph / coreutils (push) Successful in 4m34s
CI / rust (push) Failing after 6m53s
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 is marked as a work in progress.
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-kernel:feature/retained-image-kernel'
git switch 'feature/retained-image-kernel'

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/owned-stream-directory-image'
git merge --no-ff 'feature/retained-image-kernel'
git switch 'feature/retained-image-kernel'
git rebase 'feature/owned-stream-directory-image'
git switch 'feature/owned-stream-directory-image'
git merge --ff-only 'feature/retained-image-kernel'
git switch 'feature/retained-image-kernel'
git rebase 'feature/owned-stream-directory-image'
git switch 'feature/owned-stream-directory-image'
git merge --no-ff 'feature/retained-image-kernel'
git switch 'feature/owned-stream-directory-image'
git merge --squash 'feature/retained-image-kernel'
git switch 'feature/owned-stream-directory-image'
git merge --ff-only 'feature/retained-image-kernel'
git switch 'feature/owned-stream-directory-image'
git merge 'feature/retained-image-kernel'
git push origin 'feature/owned-stream-directory-image'
Sign in to join this conversation.
No description provided.