WIP: Exercise owned streams and directories in a matching native image #542

Draft
erikinkinen wants to merge 17 commits from feature/owned-stream-directory-image into feature/native-allocation-error-contract
Owner

Combine the original process-heap and ordinary-service producers for a fresh native image exercising owned stream I/O and directory traversal. Both workloads retain their existing authority boundaries and guest limits; the directory case requires authenticated completion status rather than accepting the older filesystem marker alone.

Prerequisites: #532, #533 and #540; directory status gate: erix/exsh#135. These changes are composed on a feature branch; the prerequisite PRs have not been merged.

  • Compose both original producer contracts while preserving the process-heap compiler profile.
  • Include the real Rust SHA2 vectors and authenticated directory completion oracle.
  • Acquire a fresh complete source forest from an explicit coherent catalog.
  • Produce the matching bootable image through original build owners.
  • Exercise both workloads and their failure/teardown cases in the guest.

Standalone native producers have built the Rust hash artifact and directory C/Rust workload. Those builds do not establish image or guest acceptance.

Combine the original process-heap and ordinary-service producers for a fresh native image exercising owned stream I/O and directory traversal. Both workloads retain their existing authority boundaries and guest limits; the directory case requires authenticated completion status rather than accepting the older filesystem marker alone. Prerequisites: #532, #533 and #540; directory status gate: erix/exsh#135. These changes are composed on a feature branch; the prerequisite PRs have not been merged. - [x] Compose both original producer contracts while preserving the process-heap compiler profile. - [x] Include the real Rust SHA2 vectors and authenticated directory completion oracle. - [ ] Acquire a fresh complete source forest from an explicit coherent catalog. - [ ] Produce the matching bootable image through original build owners. - [ ] Exercise both workloads and their failure/teardown cases in the guest. Standalone native producers have built the Rust hash artifact and directory C/Rust workload. Those builds do not establish image or guest acceptance.
feat(directory): enroll original C and Rust stream workload
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
93b648e30d
feat(directory): require explicit filesystem workload selection
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
afc223e139
Retain the original root package version through each manual Rust compiler invocation. Select only CARGO_PKG_VERSION from the same completed Cargo metadata and package binding, recheck it around native execution, and include it in the artifact identity without inheriting host environment values.
Describe the retained package environment by its declared package and manifest, leaving operation-specific Cargo package IDs in their original owner bindings.
Select only the actual v0 no-allocation-shim marker function and encode its empty compiler-defined C ABI. Keep allocation, error handling and unrelated undefined symbols outside this contract.
feat(directory): retain original process shared-library production
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
1160e1b44a
Link the selected compiler target allocation archive alongside core and compiler builtins. Keep original directory and file ownership, reject missing or ambiguous archive roles, and preserve final undefined-symbol checks.
fix(directory): derive process records from original declarations
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
0cdf8e492f
fix(directory): retain the already completed native C source
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
245d12f572
perf(directory): avoid repeated whole-graph registration walks
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
b95c7569c9
fix(directory): return original checked heap resolutions
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
300e4ddd50
Keep both original producer ownership contracts for a fresh combined image. Preserve the distinct process-heap compiler profile and retain its inherited caller input records.
Run the existing Rust hash command against exact empty, binary and multibuffer file and inherited-stream inputs. Require malformed stdin selection to fail before a subsequent read of the same file, then restore the shared coreutils input.
feat: Require the authenticated directory workload result
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
Markdown / markdown (push) Failing after 16s
Coreutils provider graph / coreutils (push) Successful in 4m32s
CI / rust (push) Successful in 7m34s
CI / host_zero (push) Failing after 15m37s
CI / host_one (push) Failing after 19m41s
CI / host_two (push) Failing after 22m41s
CI / host_three (push) Failing after 23m30s
CI / integration (push) Has been skipped
f80c4c02ae
test: Require authenticated directory completion in the image cohort
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
Markdown / markdown (push) Failing after 13s
Coreutils provider graph / coreutils (push) Successful in 4m39s
CI / rust (push) Failing after 7m17s
CI / host_zero (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_three (push) Has been skipped
CI / integration (push) Has been skipped
9ce13044b1
Include the directory completion status gate while preserving the prior combined helper tree. Keep both original producer contracts and the owned-stream workload available to a fresh matching image.
erikinkinen added this to the Alpha 1 milestone 2026-11-07 21:44:32 +01:00
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
Markdown / markdown (push) Failing after 13s
Coreutils provider graph / coreutils (push) Successful in 4m39s
CI / rust (push) Failing after 7m17s
CI / host_zero (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_one (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/owned-stream-directory-image:feature/owned-stream-directory-image'
git switch 'feature/owned-stream-directory-image'

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