WIP: Exercise original output capture fault boundaries #722

Draft
erikinkinen wants to merge 6 commits from test/original-output-capture-faults into perf/recipe-capture-completion-continuation
Owner

Add finite controls around actual recipe compiler-output capture using genuine source, runtime, Rustc, CFI, producer, census and descriptor actors. The new cases exercise body and partial-open errors with distinct POST evidence, namespace mutations, closed continuation refusal, and the post-settlement failure ledger. No completed owners or compiler observations are fabricated.

The maintained runner exposes the six destructive cases only through explicit --case selection. Each keeps the original 120-second caller, 15-second retirement, and 90/30-second graph/native limits. All previous default cases remain selected; the new pure foreign-receiver guard runs in CI.

  • Independent source review and complete signed 461-module source/declaration/binding; helper checks twice and native seven/bootstrap unchanged.
  • Pure guard, five syntax controls, and 213 Markdown files pass.
  • Genuine post-settlement ledger case: 33.890 seconds, original raw failure retained across source/global POST, actual cleanup and process forest positive.
  • Body failure plus independent global POST error: actual caller 39.901263 seconds, cleanup/forest positive.
  • Partial descriptor capture plus independent global POST error: actual caller 39.302364 seconds, cleanup/forest positive.
  • Healthy continuation case: refusal/file-read prefix passed, but the final full public Unit check failed with MetadataAlarmExpired; whole case failed (44.515 seconds, actual cleanup/forest positive).
  • Namespace mutation before capture: fresh independent case passed in 38.415 seconds, cleanup/forest positive.
  • Namespace mutation during capture: fresh independent case passed in 39.374 seconds, cleanup/forest positive.

This is fault-control qualification, not acceptance of a complete native artifact graph, production Bootloader, image or guest.

Add finite controls around actual recipe compiler-output capture using genuine source, runtime, Rustc, CFI, producer, census and descriptor actors. The new cases exercise body and partial-open errors with distinct POST evidence, namespace mutations, closed continuation refusal, and the post-settlement failure ledger. No completed owners or compiler observations are fabricated. The maintained runner exposes the six destructive cases only through explicit `--case` selection. Each keeps the original 120-second caller, 15-second retirement, and 90/30-second graph/native limits. All previous default cases remain selected; the new pure foreign-receiver guard runs in CI. - [x] Independent source review and complete signed 461-module source/declaration/binding; helper checks twice and native seven/bootstrap unchanged. - [x] Pure guard, five syntax controls, and 213 Markdown files pass. - [x] Genuine post-settlement ledger case: 33.890 seconds, original raw failure retained across source/global POST, actual cleanup and process forest positive. - [x] Body failure plus independent global POST error: actual caller 39.901263 seconds, cleanup/forest positive. - [x] Partial descriptor capture plus independent global POST error: actual caller 39.302364 seconds, cleanup/forest positive. - [ ] Healthy continuation case: refusal/file-read prefix passed, but the final full public Unit check failed with MetadataAlarmExpired; whole case failed (44.515 seconds, actual cleanup/forest positive). - [x] Namespace mutation before capture: fresh independent case passed in 38.415 seconds, cleanup/forest positive. - [x] Namespace mutation during capture: fresh independent case passed in 39.374 seconds, cleanup/forest positive. This is fault-control qualification, not acceptance of a complete native artifact graph, production Bootloader, image or guest.
erikinkinen added this to the Alpha 1 milestone 2026-11-10 22:06:58 +01:00
Use genuine source, Rustc, producer and descriptor actors to check mutation, body and partial capture failure, independent POST evidence, closed continuation admission and raw first failure retention. These authored cases require the separately reviewed completion continuation before execution; this checkpoint makes no native acceptance claim.
Normally compose the signed defining continuation before enrolling its original fault controls. Genuine compiler qualification remains separate and uses unchanged original resource limits.
Keep destructive real-producer cases explicit and preserve all original default controls. Check independent source and global POST attempts, raw pending-ledger identity, namespace restoration refusal and final actual resource retirement without inventing split retirement flags.
Retain the actual Scope.finish resource contract from the qualified capture fixture without inferring optional split retirement.

# Conflicts:
#	docs/native-recipe-output-capture.md
Regenerate every selected input row from the signed actual source composition before finite qualification; no individual hash overrides are used.
build: Bind original capture fault source declaration
Some checks failed
Markdown / markdown (push) Successful in 21s
Coreutils provider graph / coreutils (push) Failing after 1m55s
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_two (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (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 6m14s
CI / rust (push) Successful in 14m38s
CI / native_sources (push) Failing after 2m0s
CI / host_three (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_one (push) Has been skipped
CI / integration (push) Has been skipped
ea6318458a
Bind the complete source, declaration and defining producer revision through the AST-based runner binding before qualification under the original limits.
Some checks failed
Markdown / markdown (push) Successful in 21s
Coreutils provider graph / coreutils (push) Failing after 1m55s
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_two (pull_request) Has been skipped
CI / host_zero (pull_request) Has been skipped
CI / host_one (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 6m14s
CI / rust (push) Successful in 14m38s
CI / native_sources (push) Failing after 2m0s
CI / host_three (push) Has been skipped
CI / host_zero (push) Has been skipped
CI / host_two (push) Has been skipped
CI / host_one (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 'test/original-output-capture-faults:test/original-output-capture-faults'
git switch 'test/original-output-capture-faults'

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 'perf/recipe-capture-completion-continuation'
git merge --no-ff 'test/original-output-capture-faults'
git switch 'test/original-output-capture-faults'
git rebase 'perf/recipe-capture-completion-continuation'
git switch 'perf/recipe-capture-completion-continuation'
git merge --ff-only 'test/original-output-capture-faults'
git switch 'test/original-output-capture-faults'
git rebase 'perf/recipe-capture-completion-continuation'
git switch 'perf/recipe-capture-completion-continuation'
git merge --no-ff 'test/original-output-capture-faults'
git switch 'perf/recipe-capture-completion-continuation'
git merge --squash 'test/original-output-capture-faults'
git switch 'perf/recipe-capture-completion-continuation'
git merge --ff-only 'test/original-output-capture-faults'
git switch 'perf/recipe-capture-completion-continuation'
git merge 'test/original-output-capture-faults'
git push origin 'perf/recipe-capture-completion-continuation'
Sign in to join this conversation.
No description provided.