WIP: Execute the complete native artifact graph #531

Draft
erikinkinen wants to merge 10 commits from feature/native-artifact-graph-execution into feature/retained-native-runtime-links
Owner

Route every selected native action through retained source, compiler, dependency replay and final-link owners. Reuse the graph’s actual Cstd source and expose phase profiling without granting authority.

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

Depends on #530.

Route every selected native action through retained source, compiler, dependency replay and final-link owners. Reuse the graph’s actual Cstd source and expose phase profiling without granting authority. - [x] Implement the retained producer and its ownership checks. - [ ] Complete matching-source native and current-head CI acceptance. Depends on [#530](https://git.erikinkinen.fi/erix/integration/pulls/530).
erikinkinen added this to the Alpha 1 milestone 2026-11-07 18:58:29 +01:00
Build native actions under their original source, compiler, runtime and final-link owners. Borrow Cstd supplier inputs from the actual registered library producer without occupying the role twice or reconstructing source custody from archive reports. Keep explicit target runtime selection and an optional unextended caller deadline.
Measure each real source, compiler, replay, link and artifact phase through the shared elapsed profiler, including failed phases. Keep diagnostic output separate from ownership and preserve the original error if output also fails. Remove the redundant CLI body closure check and duplicate roadmap paragraph.
Use the central companion profile and record the actual shared helper and source snapshot per run. Retain the existing Cargo commands and native acceptance inputs. Give Markdown its own workflow concurrency group so both workflows remain below the source size limit.
perf: Read registered metadata during pure graph planning
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 / host_zero (pull_request) Has been skipped
CI / rust (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
3d55fa771e
Use the actual preparing producer's immutable metadata for target selection and compiler remaps. Keep complete original/generated byte verification at the Cargo invocation and native postcheck, without rerunning those checks while only assembling ordinary options. Reject foreign preparations and remove a duplicate native-retirement guard.
fix: Retire graph owners when consumer entry fails
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
e0551598c7
Context managers do not call exit when entry raises. Close the same graph on a fresh entry-check failure and preserve the original refusal if retirement also fails, so partially held duties cannot escape through that path.
fix: Preserve graph failures through retirement
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
566fe1f966
Retire the original graph on construction, entry and consumer failures through one path. Keep the first cause when disposal independently fails, while still reporting cleanup errors after a successful consumer.
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
Markdown / markdown (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
Coreutils provider graph / coreutils (push) Has been cancelled
Markdown / markdown (push) Has been cancelled
67a891c64d
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
d251fb3ffd
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 (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
5c07490034
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
CI / rust (push) Failing after 57s
Markdown / markdown (push) Successful in 25s
Coreutils provider graph / coreutils (push) Successful in 4m28s
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
f14d2d4068
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
CI / rust (push) Failing after 57s
Markdown / markdown (push) Successful in 25s
Coreutils provider graph / coreutils (push) Successful in 4m28s
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 has changes conflicting with the target branch.
  • scripts/native_boot_graph_build.py
  • tests/native_boot_graph_build_test.py
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-artifact-graph-execution:feature/native-artifact-graph-execution'
git switch 'feature/native-artifact-graph-execution'

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-native-runtime-links'
git merge --no-ff 'feature/native-artifact-graph-execution'
git switch 'feature/native-artifact-graph-execution'
git rebase 'feature/retained-native-runtime-links'
git switch 'feature/retained-native-runtime-links'
git merge --ff-only 'feature/native-artifact-graph-execution'
git switch 'feature/native-artifact-graph-execution'
git rebase 'feature/retained-native-runtime-links'
git switch 'feature/retained-native-runtime-links'
git merge --no-ff 'feature/native-artifact-graph-execution'
git switch 'feature/retained-native-runtime-links'
git merge --squash 'feature/native-artifact-graph-execution'
git switch 'feature/retained-native-runtime-links'
git merge --ff-only 'feature/native-artifact-graph-execution'
git switch 'feature/retained-native-runtime-links'
git merge 'feature/native-artifact-graph-execution'
git push origin 'feature/retained-native-runtime-links'
Sign in to join this conversation.
No description provided.