WIP: Retain native boot artifact producers #520

Draft
erikinkinen wants to merge 39 commits from feature/native-boot-artifact-graph into feature/retained-host-tool-artifacts
Owner

Keep each declared artifact attached to the same source, native operation and output descriptors through graph consumption.

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

Depends on #493.

Keep each declared artifact attached to the same source, native operation and output descriptors through graph consumption. - [x] Implement the retained producer and its ownership checks. - [ ] Complete matching-source native and current-head CI acceptance. Depends on [#493](https://git.erikinkinen.fi/erix/integration/pulls/493).
erikinkinen added this to the Alpha 1 milestone 2026-11-07 18:56:28 +01:00
perf: Retain original blob request layout
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 / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / markdown (push) Successful in 6s
CI / rust (push) Successful in 2m44s
CI / host_one (push) Failing after 12m48s
CI / host_zero (push) Failing after 12m58s
CI / integration (push) Has been skipped
c174e04925
Reuse only the literal request layout after checking every current field, exact type and order. Preserve the original validator fallback and complete descriptor, framing and source-byte checks under the actual compilation consumer registration.
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.
The public Kernel binary requires kernel-bin in its real resolved package features. Select it explicitly in the complete plan and reject missing required target features before compilation rather than assuming a Cargo target description enables them.
Charge both actual defining counters before material effects and preserve either original refusal without refunds, callback accounting or deadline extension. Keep exact-type input admission and update the complete helper cohort and outer intake for the changed defining body.
Separate original native capture and alarm retirement from final source and Cargo evidence disposal. Register defining producers before effects and retain the same source/completion and publication descriptors under the original graph, with real parent work accounting and no native phase reopening.
Acquire EFI input in owned storage, retain the original Cargo preparation through final linking, and use its actual target selection and native lifetime. Bound recursive source and Cargo products by explicit aggregate acceptance, inspect real PE application geometry, and retain graph-wide source and namespace custody.
Preserve genuine parent work accounting and original Cargo profile owners together. Bind all fifty actual helper bodies and the outer intake coherently without changing the six defining native lifetime bodies.
Permit only the exact generated Git route after its defining verifier checks the original interpreter and tool. Keep all unrelated linked source/generated entries refused, and count link bytes without treating their target as source authority.
Registered metadata retains target kinds as immutable tuples. Compare that actual view without requiring a mutable JSON list, and reject compiler warning/error records on stdout before accepting any final Cargo artifact.
Build actual original workspace library inputs and host companions through the same catalog/native ownership machinery. Preserve distinct artifact classes and graph action slots, and admit only the defining empty Cargo cache lock under its held original home/file resource.
Produce source bundles from original Git acquisitions without a fabricated Cargo package or unused compiler authority. Preserve the defining capture observation keys and sticky original warning failures through the shared owner extraction.
Register each actual partially constructed product before its defining producer effects and require every declared action to retain that same completed product for final source-backed reads. Source metadata and native retirement alone cannot satisfy a final artifact obligation. Runtime shared-unit and image closure remain separate required checks.
Keep the actual freshly produced DSO, rmeta and metadata-closure file descriptors with the same graph-born source/native producer before native retirement. Recheck original namespace edges and complete closure inventories, and refuse conflicting source, feature, runtime support or binary views under the same SONAME rather than silently merging independent registries. This is source integration; complete image and native multi-role acceptance remain open.
Normally compose public profile target selection while retaining the actual parent-budget helper implementation. Rebind the combined fifty defining helper bodies and outer intake together; native engine bodies and prior frozen evidence remain unchanged.
Retain the original source or file-read failure even if a caller restores observed bytes later, and include retained runtime resources in final product use. Keep incompatible runtime views sticky as well. Document that image closure still needs actual multi-role execution and final placement checks.
Associate the two actual publication read observations with the born adjacent-file owner across its atomic rename. Graph source rechecks still validate every unrelated external read, including publication-looking names, while final artifact use validates the same retained publication descriptor. Preserve the failed native graph run and add a real retained-source/publication control with mutation-restore refusal.
Add an explicit canonical root mode using the same defining ServiceCatalog acquisition and interpreter as providers, preserving default local-root behavior. Refuse unused local grants before effects, query tools from owned storage and bind file roles only after actual original source admission. Keep original object/work/storage charges and durability checks; this supplies a new source preparation route rather than changing failed native deadlines.
Normally adopt the published standalone EFI implementation and timestamp selection, preserving genuine graph-born source/native retirement and parent-budget custody. Keep library and host defining class admission, and propagate the compiler-argument API rename to the actual host override. Preserve complete additive syntax vectors and existing native failure evidence.
Adopt the published exact USTAR precharge and shared Cargo diagnostic parser while retaining Host admission and graph source/native ownership. Preserve additive syntax inventory vectors, all previous failed native evidence and the distinction between compiler-input archives and runtime DSOs.
Bind optional bounded PreparationProfile telemetry to the actual retained native capture streams before effects. Reserve its full selected extent within the original retained budget and independently retire its FD with the same capture phase; preserve counters, source checks, deadlines and actual forest ownership. Handle pre-FD partial admission without inventing a close duty, and add real source/native binding controls. Profiling data grants no build or source authority.
Adopt the published exact-request layout optimization identified in actual Kernel source profiling. Preserve complete current descriptor/framing/source-byte checks, registered consumer lifetime, default validator and all workspace/profile/parent-budget helper bodies. Rebind all fifty actual helper bodies and outer intake together without changing native engine code or failed original clocks.
Wire every declared graph action through the actual closed producer factory with explicit tool and finite graph/role selections. Retain original producer/source/artifact owners for same-process consumers, require compatible dependency identities and actual executable runtime edges, and reject incomplete obligations. Add all seventy-nine action validator controls without claiming that the full graph or image has executed.
Restore the two unchanged defining source/contract roles accidentally omitted during outer helper conflict resolution. Keep all fifty helper bodies and native engine bytes unchanged; verify the complete four-role outer roster and actual imports rather than checking only the updated helper digest. Preserve the refused native graph attempt as failure evidence.
Restore the entire prior coherent adapter body, changing only the intended checked-helper digest, after the conflict range had also removed its adjacent inert close-failure bootstrap. Audit every non-intake AST definition against the coherent predecessor and exercise actual original_file binding plus hostile first-error retention before further native source use.
Preserve the entire coherent outer native source adapter and replace only its exact intended helper digest. Adopt the published generated-only lock refresh before cache population while retaining all current profile, workspace, blob-layout and parent-budget helper bodies. Verify the full four-role intake and fifty actual code bodies without changing native engine code.
feat: Retain original source-only boot inputs
Some checks failed
CI / host_three (push) Successful in 14m6s
CI / host_one (push) Successful in 16m44s
CI / host_two (push) Successful in 18m36s
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 / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
CI / host_zero (push) Successful in 10m40s
Coreutils provider graph / coreutils (pull_request) Has been skipped
CI / integration (push) Failing after 11m41s
CI / markdown (push) Successful in 10s
Coreutils provider graph / coreutils (push) Successful in 3m17s
CI / rust (push) Successful in 4m53s
d91bcefe90
Package Docs and Meta directly from the same owned native Git blob output while their source descriptors remain live. Charge complete archive encoding before allocation, preserve literal path bytes and acquire no unused compiler tools.
Prepare original source and native target/profile queries before the defining compilation seal, then retain those same graph-registered owners through native retirement. Default standalone source preparation still seals as before. Expose only registered source/unit views, reject copied or foreign views and preserve sticky source withdrawal; this supplies the genuine source-node side of the compiler DAG without importing completed operations or reopening counters.
Adopt the published same-original-blob FD/parent lifetime and complete precharged PAX bundle while preserving graph-born source/native phases and aggregate counters in the shared Scope. Keep all additive documentation and independent syntax vectors; source bundle data never recreates source ownership.
Adopt genuine generated-only lock refresh and the same-pinned-binary retained linker frontend route, preserving graph-born source/native phases and exact actual producer admission. Keep original per-node clocks, complete source validation and independent syntax vectors; no standalone receipt or artifact imports source ownership.
Keep the original selected tool objects and operation-owned host linker route live across graph source use, verifying current bodies and exact route before borrowing source/query resources. Do not infer a tool or compiler owner from a saved hash or path; these checks remain rejection guards on the original born scope.
Use two real original Git/Cargo consumers of one source revision to distinguish native binary feature selections from raw metadata dev-feature unions. Retain both actual source/query owners through native retirement and exercise concrete incompatible views without silently unioning them or treating unit data as compiler authority.
Run the defining SourceOperation acquisition before checking Docs/Meta originals; activation alone owns no source. Preserve same original blob/parent/source retirement behavior. Correct the local feature-view fixture to supply the mandatory explicit null library binary field instead of weakening the strict command-plan parser.
Project actual registered source/profile queries between complete same-owner rechecks, preserving host/platform/mode distinctions and every opaque effective profile field. Report incompatible consumer views without unioning features, guessing absent rustflags or creating compiler custody from report rows. Keep whole-source and whole-compilation acceptance separate.
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
00f3e80f6b
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
af196103d8
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
43495e1283
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
2e86aa5be4
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) Failing after 11s
CI / rust (push) Successful in 7m48s
Coreutils provider graph / coreutils (push) Successful in 4m32s
CI / host_two (push) Failing after 17m30s
CI / host_zero (push) Failing after 19m16s
CI / host_one (push) Successful in 22m46s
CI / host_three (push) Failing after 23m4s
CI / integration (push) Has been skipped
dcabaf0119
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) Failing after 11s
CI / rust (push) Successful in 7m48s
Coreutils provider graph / coreutils (push) Successful in 4m32s
CI / host_two (push) Failing after 17m30s
CI / host_zero (push) Failing after 19m16s
CI / host_one (push) Successful in 22m46s
CI / host_three (push) Failing after 23m4s
CI / integration (push) Has been skipped
This pull request is marked as a work in progress.
This branch is out-of-date with the base branch
View command line instructions

Checkout

From your project repository, check out a new branch and test the changes.
git fetch -u origin 'feature/native-boot-artifact-graph:feature/native-boot-artifact-graph'
git switch 'feature/native-boot-artifact-graph'

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