WIP: feat: Publish original selected Cargo target artifacts #647

Draft
erikinkinen wants to merge 0 commits from feature/production-cargo-publications into feature/owned-native-build-pipeline
Owner

Summary and rationale

Bind declared Cargo targets to their original selected units and retained artifacts, then publish exclusive checked copies through the original output receiver. Support library, binary, integration-test, example and benchmark selectors with explicit installed-host clang/LLD runtime inputs.

Tracking and scope

Implements part of #8; depends on #628. Complete production-contract, EriX toolchain and guest acceptance remain open.

Architecture, authority and failure behavior

Register original publication receivers before compiler effects. Retain original source, unit, artifact and FileDuty bindings through exclusive copy, fsync and guarded readback. Every product copy and later read retains complete independent proofs; partial output duties and raw first/secondary failures remain held until retirement. Paths and contract rows cannot supply owners. Hosted loader and installed Rust sysroot are qualified host premises, not confinement or EriX sysroot acceptance.

Validation evidence

All five genuine target kinds compile, publish and pass guarded reads without executing their bodies. Library, binary and example keep the 512-MiB profile. Separate test/benchmark profiles use about 600.3 MB under a finite 1-GiB caller quota; the original smaller harness quota refusal remains an actual negative. Native clocks, descriptor and output bounds are unchanged.

  • Actual ownership, mutation, reinitialization and cleanup controls.
  • 96 pure contract/selector controls and four exact-runner refusal controls.
  • Complete helper checks, recursive syntax and Markdown.
  • Explicit host CI tools and finite per-case callers enrolled.
  • Exact-head host CI and complete production inventory acceptance.

Rust formatting/Clippy are inapplicable to these Python changes. No guest execution claim.

Review checklist

  • Signed commits and original implementations with source provenance.
  • Inline documentation and cohesive code below 1,000 lines.
  • Publication documentation and maintained CI/syntax coverage.
  • Complete selected-source production/export and dependent gates.
## Summary and rationale Bind declared Cargo targets to their original selected units and retained artifacts, then publish exclusive checked copies through the original output receiver. Support library, binary, integration-test, example and benchmark selectors with explicit installed-host clang/LLD runtime inputs. ## Tracking and scope Implements part of #8; depends on #628. Complete production-contract, EriX toolchain and guest acceptance remain open. ## Architecture, authority and failure behavior Register original publication receivers before compiler effects. Retain original source, unit, artifact and FileDuty bindings through exclusive copy, fsync and guarded readback. Every product copy and later read retains complete independent proofs; partial output duties and raw first/secondary failures remain held until retirement. Paths and contract rows cannot supply owners. Hosted loader and installed Rust sysroot are qualified host premises, not confinement or EriX sysroot acceptance. ## Validation evidence All five genuine target kinds compile, publish and pass guarded reads without executing their bodies. Library, binary and example keep the 512-MiB profile. Separate test/benchmark profiles use about 600.3 MB under a finite 1-GiB caller quota; the original smaller harness quota refusal remains an actual negative. Native clocks, descriptor and output bounds are unchanged. - [x] Actual ownership, mutation, reinitialization and cleanup controls. - [x] 96 pure contract/selector controls and four exact-runner refusal controls. - [x] Complete helper checks, recursive syntax and Markdown. - [x] Explicit host CI tools and finite per-case callers enrolled. - [ ] Exact-head host CI and complete production inventory acceptance. Rust formatting/Clippy are inapplicable to these Python changes. No guest execution claim. ## Review checklist - [x] Signed commits and original implementations with source provenance. - [x] Inline documentation and cohesive code below 1,000 lines. - [x] Publication documentation and maintained CI/syntax coverage. - [ ] Complete selected-source production/export and dependent gates.
erikinkinen added this to the Alpha 1 milestone 2026-11-10 03:34:11 +01:00
Match an explicit package and target configuration to its actual root compiler unit and retained artifact. Publish bounded exclusive copies through the producing observer output manager with fsync and guarded readback, while preserving unsupported production obligations and source lease duties. Native publication acceptance remains pending.
Derive all reachable input producer module bodies and modes from immutable source 61083eac. Preserve original native helpers and select the new defining publication implementation without copying an unrelated cohort.
Authenticate the complete immutable declaration before importing the selected producer code. Native helper bodies and bootstrap selection remain unchanged.
Construct fresh original Git and Cargo actors for retained library publication and named binary, integration-test, example and benchmark builds. Include original manager substitution and copied receiver refusals. These native controls are enrolled for syntax but have not yet been executed; preserve that acceptance distinction.
Reject repeated initialization before resetting original receiver fields or enrollment. Keep the actual original source and output duties usable after an inert reinitialization refusal.
Derive the complete 351-module inventory from immutable c097b563 after the once-only receiver guard. Every source body and mode is selected directly; native helper bodies remain unchanged.
Bind all runner selection fields to the complete immutable declaration before producer code imports. Keep bootstrap and original native owner interfaces unchanged.
The real library artifact record includes an internal metadata sidecar as well as its public rlib. Require the exact original compiler output directory, crate name, emission selection and suffix, plus its already retained FileDuty. Preserve refusal of unknown, duplicate and missing outputs; leave rlib decoding unchanged.
Regenerate all input producer source rows from immutable abb83cec after the exact internal metadata-sidecar correction.
Bind the original runner to the full immutable declaration before loading code; preserve bootstrap and native owner bodies.
Check the actual original operation source failure before registering a new publication or checking duplicates. Publication failure retention adopts the original operation primary instead of replacing it with a later receiver refusal.
Derive the complete original code inventory from immutable 23a40df1 after the original-primary admission correction.
Authenticate the complete immutable declaration without changing original native bodies, clocks or limits.
Capture selected clang and LLD tools plus original runtime files, stage a minimal private sysroot under the original output manager, and issue sealed descriptor-backed frontend scripts in a fixed role order. Preserve the restricted PATH, original native clocks and raw schema-2 records, with explicit semantic linker projection. Host loader and installed Rust runtime remain qualified premises.
Derive the full354-module input inventory from immutable dec1ca89, including fixed host tool, runtime capture and flag modules without changing original native helpers.
Bind original input runner to the complete frozen declaration before execution, preserving bootstrap and native owner bodies.
Clang22 validates the explicitly selected GCC installation by checking crtbegin.o even when the actual PIE link uses crtbeginS.o. Include that original file in the classified captured/staged runtime roster, with no ambient search or bounds change.
Return the fresh query alongside semantic records from the existing complete original observation proof. Preserve legacy checks and remove only the new immediate duplicate profile check in publication matching, without cached approval or guard-skip modes.
Derive all354 original input module rows from immutable13b5c658 after the fixed query return refactor.
Authenticate the complete immutable input declaration while retaining original native bodies and bootstrap.
Stage compiler runtime inputs beside Cargo products under original custody and retain their complete explicit namespace census. Hash-only checks use a fresh registered bounded buffer with full byte, EOF, edge, OFD and ancestry proofs; original copying charges remain. Hold source withdrawal until actual buffer release and preserve physical-read accounting under postproof failure.
Derive all355 original input modules from immutable838edf9b after private runtime sibling and streaming verification changes.
Authenticate the complete immutable producer declaration without altering native helper bodies, original source ends or material bounds.
Bind each original runtime spec to its registered staged FileDuty and immutable body identity before delegating staged byte checks to the same complete observer proof. Preserve all source namespace, SHA, EOF and native pre/post checks while removing only the immediate duplicate staged read in publication matching.
Regenerate the complete355-module original input source inventory from immutable816ac8c4 after integrating the same-boundary source proof.
Bind the original runner to the complete immutable declaration without altering native helpers, bootstrap, byte caps or clocks.
Preregister actual pending receivers before compiler effects and consume the original final full observer proof directly in a fixed matching and copy continuation. Preserve complete independent postproof after every copy and ordinary constructor/observer behavior. Later reads return only fresh physical bytes from the same complete precheck and retain the full postcheck; add actual proof and output-read count controls.
Derive all356 original input modules from immutable1c8b0682 including the fixed publication continuation and same-check physical result path.
Bind every original runner selection field to the complete immutable source declaration while preserving original native helper bodies and limits.
Retain the original factory bind independently on the observer and operation, reject origin replacement by identity before equality or callbacks, and refuse rebinding or observer reinitialization without source effects. Add genuine foreign equality, copy, replay and native-boundary controls while preserving the proven publication proof intervals and limits.
Derive every original input module row from immutableda063f60 after the once-only original request-binding guard.
Bind the complete immutable producer declaration while retaining original native helper bodies and all tested clocks and caps.
Host-linked test and benchmark harnesses include larger genuine Cargo outputs and complete independent publication proofs. Select an explicit finite 1-GiB caller profile and retain the original 512-MiB cases and their failure evidence, with actual charge and requirement ledgers.
Keep the original smaller workload as an explicit negative control while documenting the separately selected expanded harness profile. Neither profile changes production proof boundaries or native authority.
Derive every selected module body and mode from the immutable source checkpoint after the explicit workload-profile controls and documentation.
Authenticate the independently committed whole module declaration and immutable source revision before original helper execution.
Keep the maintained publication contract within the repository Markdown line-width policy.
Refuse operation reinitialization before effects and retain the original production binding in the constructor birth. Exercise actual fixed publication profiles under finite host callers in the declared Fedora toolchain job.
Preserve the existing one-command-per-row layout while enrolling the fixed publication runner.
Derive every selected module from the immutable constructor-guard implementation before native controls.
Authenticate the independently committed complete code declaration and source anchor through the original input runner.
Reject foreign operation receivers before attribute access. Load the exact selected publication method and require one real successful test with no skips or expected failures, under the same original finite caller limits.
Select all actual immutable module bytes after the defining receiver guard correction.
build: Bind the exact receiver cohort for original execution
Some checks failed
Markdown / markdown (push) Successful in 26s
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (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 / cargo_publications (push) Failing after 1m6s
Coreutils provider graph / coreutils (push) Successful in 5m33s
CI / rust (push) Successful in 9m36s
CI / native_sources (push) Failing after 37s
CI / host_three (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / integration (push) Has been skipped
12b3daf941
Authenticate the source and separately committed complete declaration before native fixture execution.
fix: Stop publication controls at the first unexpected caller error
Some checks failed
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (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 20s
CI / cargo_publications (push) Failing after 1m5s
CI / rust (push) Failing after 4m17s
CI / native_sources (push) Has been skipped
CI / host_three (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_one (push) Has been skipped
CI / host_two (push) Has been skipped
CI / integration (push) Has been skipped
Coreutils provider graph / coreutils (push) Successful in 5m41s
e9f8a21efb
Do not create another native caller after uncertain retirement or another unexpected case failure. Expected negative controls remain ordinary successful tests; a controlled failing caller proves that later cases are never constructed.
ci: Initialize the packaged Rust toolchain installer
Some checks failed
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (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 / cargo_publications (push) Failing after 2s
Markdown / markdown (push) Successful in 24s
CI / rust (push) Failing after 2m31s
CI / native_sources (push) Has been skipped
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
Coreutils provider graph / coreutils (push) Successful in 6m11s
45805ea7fa
Fedora provides rustup-init before the rustup command exists. Bootstrap the selected fixture compiler into explicit job-local Cargo and Rustup directories, then resolve both compiler executables through that installed manager.
ci: Select publication tool directories within the runner step
Some checks failed
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (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 23s
CI / rust (push) Failing after 2m35s
CI / native_sources (push) Has been skipped
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
CI / cargo_publications (push) Successful in 6m12s
Coreutils provider graph / coreutils (push) Successful in 6m13s
ae4aa4a199
Create a fresh tool root from the running job environment and export the installed compiler locations through its environment file. This avoids a runner context expression that Forgejo rejects before starting the job.
Some checks failed
CI / cargo_publications (pull_request) Has been skipped
CI / rust (pull_request) Has been skipped
CI / native_sources (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 23s
CI / rust (push) Failing after 2m35s
CI / native_sources (push) Has been skipped
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
CI / cargo_publications (push) Successful in 6m12s
Coreutils provider graph / coreutils (push) Successful in 6m13s
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/production-cargo-publications:feature/production-cargo-publications'
git switch 'feature/production-cargo-publications'

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-native-build-pipeline'
git merge --no-ff 'feature/production-cargo-publications'
git switch 'feature/production-cargo-publications'
git rebase 'feature/owned-native-build-pipeline'
git switch 'feature/owned-native-build-pipeline'
git merge --ff-only 'feature/production-cargo-publications'
git switch 'feature/production-cargo-publications'
git rebase 'feature/owned-native-build-pipeline'
git switch 'feature/owned-native-build-pipeline'
git merge --no-ff 'feature/production-cargo-publications'
git switch 'feature/owned-native-build-pipeline'
git merge --squash 'feature/production-cargo-publications'
git switch 'feature/owned-native-build-pipeline'
git merge --ff-only 'feature/production-cargo-publications'
git switch 'feature/owned-native-build-pipeline'
git merge 'feature/production-cargo-publications'
git push origin 'feature/owned-native-build-pipeline'
Sign in to join this conversation.
No description provided.