WIP: Retain runtime dependencies for direct Rust probes #104

Draft
erikinkinen wants to merge 0 commits from fix/retained-runtime-probe-dependencies into feature/offline-workspace-source-catalog
Owner

Summary and rationale

Route the seven remaining Rust caller probes through the workspace's retained RuntimeDependency, so the Cstd rlib's thread-ABI metadata remains available through compiler settlement.

Tracking and scope

Depends on #98 (feature/offline-workspace-source-catalog). Updates seven call sites in six checker files, the freestanding error-call witness and architecture, roadmap and runtime-owner documentation.

Architecture, authority and failure behavior

Reuse the existing original workspace/output checks, explicit ABI compiler inputs, native owner and independent postchecks. Original dependency outputs remain held until evidence retirement. The error witness matches its intrinsic slice length directly to avoid an out-of-line libcore dependency in debug builds, preserving every assertion and capacity. Compiler targets, modes and resource policies remain unchanged; no public ABI or persistent format changes.

Validation evidence

Source: fc2f4828dae9d4d5aec94596dd7395f8fcc92506 (probe routes at f25be509886d930bc9324d274e17592e425de9ca).

  • Complete maintained checker: timed out at release-default-build after 232 commands and 294.371 seconds. Earlier metadata, debug builds/tests, strict Clippy and documentation checks passed; the seven changed probes were not reached. Caller and descendant cleanup confirmed.
  • Separate focused runs on f25be509 passed debug/release compilation, linking and execution for span, length, substring, end-copy and tokenizer groups. A separate C++ header run completed 16 host executions and 12 negative links. Earlier fixture-setup failures remain recorded; these were not complete-checker passes.
  • The error group first failed its debug link on an out-of-line slice is_empty call. After the sole Rust-witness correction, the fresh fc2f4828 error control passed in 73.581370 seconds: debug/release public and hidden cases compiled, linked and executed, with caller and descendant cleanup confirmed.
  • Signed commit verified; all 46 Markdown files passed.

Complete checker and CI acceptance remain open. No new VM or public Rust API is introduced.

Review checklist

  • Existing dependency ownership and failure behavior retained
  • Signed commit, focused documentation and source-size policy checked
  • Focused results recorded against their actual source revisions
  • Complete maintained checker and current CI acceptance
## Summary and rationale Route the seven remaining Rust caller probes through the workspace's retained `RuntimeDependency`, so the Cstd rlib's thread-ABI metadata remains available through compiler settlement. ## Tracking and scope Depends on #98 (`feature/offline-workspace-source-catalog`). Updates seven call sites in six checker files, the freestanding error-call witness and architecture, roadmap and runtime-owner documentation. ## Architecture, authority and failure behavior Reuse the existing original workspace/output checks, explicit ABI compiler inputs, native owner and independent postchecks. Original dependency outputs remain held until evidence retirement. The error witness matches its intrinsic slice length directly to avoid an out-of-line libcore dependency in debug builds, preserving every assertion and capacity. Compiler targets, modes and resource policies remain unchanged; no public ABI or persistent format changes. ## Validation evidence Source: `fc2f4828dae9d4d5aec94596dd7395f8fcc92506` (probe routes at `f25be509886d930bc9324d274e17592e425de9ca`). - Complete maintained checker: timed out at `release-default-build` after 232 commands and 294.371 seconds. Earlier metadata, debug builds/tests, strict Clippy and documentation checks passed; the seven changed probes were not reached. Caller and descendant cleanup confirmed. - Separate focused runs on `f25be509` passed debug/release compilation, linking and execution for span, length, substring, end-copy and tokenizer groups. A separate C++ header run completed 16 host executions and 12 negative links. Earlier fixture-setup failures remain recorded; these were not complete-checker passes. - The error group first failed its debug link on an out-of-line slice `is_empty` call. After the sole Rust-witness correction, the fresh `fc2f4828` error control passed in 73.581370 seconds: debug/release public and hidden cases compiled, linked and executed, with caller and descendant cleanup confirmed. - Signed commit verified; all 46 Markdown files passed. Complete checker and CI acceptance remain open. No new VM or public Rust API is introduced. ## Review checklist - [x] Existing dependency ownership and failure behavior retained - [x] Signed commit, focused documentation and source-size policy checked - [x] Focused results recorded against their actual source revisions - [ ] Complete maintained checker and current CI acceptance
erikinkinen added this to the Alpha 1 milestone 2026-11-10 06:35:51 +01:00
fix: Retain transitive runtime metadata for every caller probe
Some checks failed
CI / markdown (push) Successful in 8s
CI / thread (push) Successful in 1m36s
CI / memory (push) Failing after 11m41s
f25be50988
Compile the remaining full-crate Rust callers through the original workspace runtime dependency. Preserve the thread ABI outputs and their producer lifetime instead of relying on a previously emitted Cstd library pathname alone.
fix: Keep the freestanding error witness independent of libcore
Some checks failed
CI / markdown (push) Successful in 21s
CI / thread (push) Successful in 1m56s
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / memory (push) Failing after 5m51s
fc2f4828da
Match the intrinsic expected length directly when selecting the short-copy capacity. The debug callback must preserve its unchanged known and unknown error assertions without acquiring an out-of-line core slice-method dependency.
Some checks failed
CI / markdown (push) Successful in 21s
CI / thread (push) Successful in 1m56s
CI / memory (pull_request) Has been skipped
CI / thread (pull_request) Has been skipped
CI / markdown (pull_request) Has been skipped
CI / memory (push) Failing after 5m51s
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 'fix/retained-runtime-probe-dependencies:fix/retained-runtime-probe-dependencies'
git switch 'fix/retained-runtime-probe-dependencies'

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/offline-workspace-source-catalog'
git merge --no-ff 'fix/retained-runtime-probe-dependencies'
git switch 'fix/retained-runtime-probe-dependencies'
git rebase 'feature/offline-workspace-source-catalog'
git switch 'feature/offline-workspace-source-catalog'
git merge --ff-only 'fix/retained-runtime-probe-dependencies'
git switch 'fix/retained-runtime-probe-dependencies'
git rebase 'feature/offline-workspace-source-catalog'
git switch 'feature/offline-workspace-source-catalog'
git merge --no-ff 'fix/retained-runtime-probe-dependencies'
git switch 'feature/offline-workspace-source-catalog'
git merge --squash 'fix/retained-runtime-probe-dependencies'
git switch 'feature/offline-workspace-source-catalog'
git merge --ff-only 'fix/retained-runtime-probe-dependencies'
git switch 'feature/offline-workspace-source-catalog'
git merge 'fix/retained-runtime-probe-dependencies'
git push origin 'feature/offline-workspace-source-catalog'
Sign in to join this conversation.
No description provided.