WIP: feat: Preserve graph failure diagnostics during retirement #548

Draft
erikinkinen wants to merge 3 commits from feature/native-graph-retirement-diagnostics into feature/native-graph-kernel-allocation-contract
Owner

Keep the first graph failure and interrupted build phases in the already reserved retirement record before a live custody stop. Raw exceptions stay with their original owners; bounded literal summaries acquire no files, clocks or cleanup authority.

Builds on #545.

  • Literal primary and cleanup failures, with explicit truncation.
  • Original phase observations and producer retirement state.
  • Original source and terminal-FD controls, including expired ends and hostile hooks.
  • Exact-head CI and complete graph acceptance.
Keep the first graph failure and interrupted build phases in the already reserved retirement record before a live custody stop. Raw exceptions stay with their original owners; bounded literal summaries acquire no files, clocks or cleanup authority. Builds on [#545](https://git.erikinkinen.fi/erix/integration/pulls/545). - [x] Literal primary and cleanup failures, with explicit truncation. - [x] Original phase observations and producer retirement state. - [x] Original source and terminal-FD controls, including expired ends and hostile hooks. - [ ] Exact-head CI and complete graph acceptance.
erikinkinen added this to the Alpha 1 milestone 2026-11-07 23:03:52 +01:00
feat: Retain bounded graph failures before retirement stops
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
3c69efee19
Keep literal primary and cleanup failure observations with interrupted build
phases in the original reserved terminal record. Preserve raw exceptions and
original owners, byte limits and publication ends; never format unknown
exceptions or obtain another sink to make diagnostics available.
fix: Preserve retirement when native diagnostics are unavailable
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
4e094a14a0
Skip additive publication for healthy expired native phases while closing their
original terminal descriptors independently. Retain diagnostic and profiler
errors without suppressing the graph's original disposal. Load diagnostic code
before bootstrap binds the selected helper bodies.
fix: Consume the original terminal write authority once
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 12s
Coreutils provider graph / coreutils (push) Successful in 4m35s
CI / rust (push) Successful in 7m28s
CI / host_three (push) Failing after 15m48s
CI / host_zero (push) Failing after 18m30s
CI / host_one (push) Failing after 17m27s
CI / host_two (push) Failing after 23m12s
CI / integration (push) Has been skipped
4378e9dc4a
Authenticate the live descriptor record, original empty inode and held named
edge before writing. Keep a failed or unreturned publication sticky so it
cannot append through a retry, revive a retired descriptor or switch sinks.
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 12s
Coreutils provider graph / coreutils (push) Successful in 4m35s
CI / rust (push) Successful in 7m28s
CI / host_three (push) Failing after 15m48s
CI / host_zero (push) Failing after 18m30s
CI / host_one (push) Failing after 17m27s
CI / host_two (push) Failing after 23m12s
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 'feature/native-graph-retirement-diagnostics:feature/native-graph-retirement-diagnostics'
git switch 'feature/native-graph-retirement-diagnostics'

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/native-graph-kernel-allocation-contract'
git merge --no-ff 'feature/native-graph-retirement-diagnostics'
git switch 'feature/native-graph-retirement-diagnostics'
git rebase 'feature/native-graph-kernel-allocation-contract'
git switch 'feature/native-graph-kernel-allocation-contract'
git merge --ff-only 'feature/native-graph-retirement-diagnostics'
git switch 'feature/native-graph-retirement-diagnostics'
git rebase 'feature/native-graph-kernel-allocation-contract'
git switch 'feature/native-graph-kernel-allocation-contract'
git merge --no-ff 'feature/native-graph-retirement-diagnostics'
git switch 'feature/native-graph-kernel-allocation-contract'
git merge --squash 'feature/native-graph-retirement-diagnostics'
git switch 'feature/native-graph-kernel-allocation-contract'
git merge --ff-only 'feature/native-graph-retirement-diagnostics'
git switch 'feature/native-graph-kernel-allocation-contract'
git merge 'feature/native-graph-retirement-diagnostics'
git push origin 'feature/native-graph-kernel-allocation-contract'
Sign in to join this conversation.
No description provided.