WIP: Replay native graph dependencies #525

Draft
erikinkinen wants to merge 15 commits from feature/native-boot-runtime-link into feature/selected-native-runtime-inputs
Owner

Compile selected dependency units in order using their original metadata and retained runtime inputs.

  • Implement the retained producer and its ownership checks.
  • Complete matching-source native and current-head CI acceptance.

Depends on #524.

Compile selected dependency units in order using their original metadata and retained runtime inputs. - [x] Implement the retained producer and its ownership checks. - [ ] Complete matching-source native and current-head CI acceptance. Depends on [#524](https://git.erikinkinen.fi/erix/integration/pulls/524).
erikinkinen added this to the Alpha 1 milestone 2026-11-07 18:57:13 +01:00
Retain the complete actual parent and child namespace proof for aggregate retained-space admission while preserving the existing graph compiler and source owners. Replay source work is preserved separately and will extend the same defining proof before admission.
Construct actual native compiler phases over the same original source and compilation owners. Recompile affected libraries and roots against retained selected archive and metadata outputs, preserving actual Cargo codegen and closed ABI choices. Keep full caller/native retirement, source and manual-file pre/post checks, complete transitive CGU access and the original finite allowances. Final runtime and Kernel links remain separate acceptance obligations.
Expose direct aliases to actual retained producing owners for every original, cached and recompiled unit under the same source/file borrow as complete CGU geometry. Verify unrecompiled dependency metadata and recompiled owner relationships against the original registered unit graph; no source key or record adapter constructs another owner.
Join coherent compiler replay with explicitly selected Rust runtime inputs. Keep every defining native phase in one closed registration, lifetime, counter and containment table, preserving lexical no-effect borrows and original graph limits.
Initialize the existing profile reservation field explicitly in the real-filesystem census model and cover the closed compiler DAG target and both capture layers. Production limits and source/native ownership rules are unchanged.
Join actual explicitly granted sysroot archive owners and the closed typed native phase registry. Preserve replay source/file borrows and all source, compiler, query, retirement and containment relationships without adding an alternate native engine.
Retain the actual direct dependency owners alongside complete transitive native object inputs. Keep the original compiler, source and file checks in one defining borrow interval for the linker consumer.
Preserve requested per-consumer semantics by comparing every captured compiler environment value and recording honest capture completeness. Unknown or descriptor-bearing environments remain local to their actual producing unit instead of claiming equivalence. Retain real original source/compiler/file owners, expose environment-bound comparison identities for DSO consumers, and update the complete checked helper intake coherently.
Carry the producing compiler-unit identity through shared descriptions, registry serialization and closure checks. Use a distinct identity payload when present, reject field tampering and stale identities, and preserve the existing field-absent encoding. Identity data does not replace original source or compiler ownership.
Preserve per-consumer compiler environments and producer-local selection when observations are incomplete. Carry the resulting actual unit identity through shared artifact comparisons while retaining the original producing resources.
ci: Use shared development inputs for retained graph features
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
c4d53b00d6
Keep Cargo declarations on main and select the shared coordinated provider profile. Record the actual fetched helper and immutable source choices, preserving the existing Cargo gates and frozen native acceptance catalogs. Separate Markdown workflow concurrency to keep each workflow below the source size limit.
fix: Check actual unresolved Kernel symbols against dynamic exports
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
a95e2796c9
Inspect decoded nm output from the original Kernel link operation against
that operation's selected DSO exports. Reject binary observations and role
labels as symbol sets, and retain ELF visibility so hidden, internal and
local definitions cannot satisfy another object's unresolved references.
test: Initialize the non-profiled heap reservation fixture
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
553581709b
Match Scope initialization before checking destination filesystem space.
The fixture selects no telemetry sink, so its initial reservation is zero;
the actual checkpoint still accounts for pending writes and destination space.
fix: Preserve the Kernel's actual allocation failure policy
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
39788a3bf1
Bind Abort to the retained successful root compiler invocations and forward
observed allocation wrappers to the original custom handler or the uniquely
observed default in the selected held liballoc archive. Refuse unsupported
or ambiguous contracts instead of synthesizing a privileged halt handler.
fix: Refuse legacy custom Kernel allocation handlers
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) Successful in 19s
Coreutils provider graph / coreutils (push) Successful in 4m43s
CI / rust (push) Successful in 6m50s
CI / host_zero (push) Failing after 22m45s
CI / host_one (push) Failing after 22m18s
CI / host_two (push) Failing after 22m40s
CI / host_three (push) Failing after 23m32s
CI / integration (push) Has been skipped
e858a10af8
Keep observed legacy and unsupported custom handler names in the refusal set.
An unrecognized custom allocation policy must not disappear during symbol
selection and silently select the liballoc default instead.
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) Successful in 19s
Coreutils provider graph / coreutils (push) Successful in 4m43s
CI / rust (push) Successful in 6m50s
CI / host_zero (push) Failing after 22m45s
CI / host_one (push) Failing after 22m18s
CI / host_two (push) Failing after 22m40s
CI / host_three (push) Failing after 23m32s
CI / integration (push) Has been skipped
This pull request has changes conflicting with the target branch.
  • scripts/check-python-host-syntax.sh
  • tests/fixtures/python-host-syntax-commands.json
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/native-boot-runtime-link:feature/native-boot-runtime-link'
git switch 'feature/native-boot-runtime-link'

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/selected-native-runtime-inputs'
git merge --no-ff 'feature/native-boot-runtime-link'
git switch 'feature/native-boot-runtime-link'
git rebase 'feature/selected-native-runtime-inputs'
git switch 'feature/selected-native-runtime-inputs'
git merge --ff-only 'feature/native-boot-runtime-link'
git switch 'feature/native-boot-runtime-link'
git rebase 'feature/selected-native-runtime-inputs'
git switch 'feature/selected-native-runtime-inputs'
git merge --no-ff 'feature/native-boot-runtime-link'
git switch 'feature/selected-native-runtime-inputs'
git merge --squash 'feature/native-boot-runtime-link'
git switch 'feature/selected-native-runtime-inputs'
git merge --ff-only 'feature/native-boot-runtime-link'
git switch 'feature/selected-native-runtime-inputs'
git merge 'feature/native-boot-runtime-link'
git push origin 'feature/selected-native-runtime-inputs'
Sign in to join this conversation.
No description provided.