WIP: Inspect native artifacts through retained input bytes #507

Draft
erikinkinen wants to merge 5 commits from feature/retained-native-byte-inspection into feature/explicit-shared-library-variants
Owner

Let ELF inspection consume the immutable bytes already read by the retained build owner. Service and registry checks now use those same bytes instead of reopening the diagnostic path. Decode undefined object references, including weak references, without starting nm for each codegen unit.

Depends on #506. Supports final linking in #505.

  • Preserve existing ELF reports and validation in the byte-based interface.
  • Migrate service and registry consumers to their retained input bytes.
  • Decode external definitions and references, including empty objects.
  • Complete integration CI.

Decoded data does not establish source, compiler or file ownership.

Let ELF inspection consume the immutable bytes already read by the retained build owner. Service and registry checks now use those same bytes instead of reopening the diagnostic path. Decode undefined object references, including weak references, without starting nm for each codegen unit. Depends on [#506](https://git.erikinkinen.fi/erix/integration/pulls/506). Supports final linking in [#505](https://git.erikinkinen.fi/erix/integration/issues/505). - [x] Preserve existing ELF reports and validation in the byte-based interface. - [x] Migrate service and registry consumers to their retained input bytes. - [x] Decode external definitions and references, including empty objects. - [ ] Complete integration CI. Decoded data does not establish source, compiler or file ownership.
erikinkinen added this to the Alpha 1 milestone 2026-11-07 07:35:42 +01:00
refactor: inspect native artifacts through retained bytes
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 / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (pull_request) Has been skipped
CI / markdown (push) Successful in 12s
Coreutils provider graph / coreutils (push) Successful in 3m30s
CI / rust (push) Successful in 5m14s
CI / host_two (push) Successful in 11m42s
CI / host_three (push) Successful in 14m36s
CI / host_zero (push) Successful in 16m41s
CI / host_one (push) Successful in 17m18s
CI / integration (push) Failing after 2m26s
707c7e7dab
Use the same caller-read bytes for ELF metadata, symbols and relocation checks instead of reopening diagnostic paths. Decode undefined object references alongside definitions, including weak references and empty objects, without a native query per codegen unit.
fix: Include object helpers in dynamic cache inputs
Some checks failed
Coreutils provider graph / coreutils (pull_request) Has been skipped
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 / markdown (push) Successful in 27s
Coreutils provider graph / coreutils (push) Successful in 4m36s
CI / rust (push) Successful in 7m13s
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
ae4703b5af
Hash object naming and ELF symbol decoding with executable builder inputs.
Retain valid helper imports when independently exercising cache invalidation.
ci: Use shared development dependency profiles
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 / markdown (pull_request) Has been skipped
CI / integration (pull_request) Has been skipped
Coreutils provider graph / coreutils (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
CI / markdown (push) Has been cancelled
Coreutils provider graph / coreutils (push) Has been cancelled
94633934de
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
ci: Separate Markdown checks from the build workflow
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
953d3152da
Keep each workflow below the repository size limit by giving Markdown its own file. Preserve event filters, job conditions and command bodies, with independent concurrency for the Markdown workflow.
ci: Use shared development dependency profiles
Some checks failed
Markdown / markdown (push) Successful in 14s
Coreutils provider graph / coreutils (push) Successful in 4m28s
CI / rust (push) Successful in 7m8s
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 / host_two (push) Successful in 15m5s
CI / host_zero (push) Successful in 21m28s
CI / host_three (push) Successful in 20m8s
CI / host_one (push) Failing after 23m28s
CI / integration (push) Has been skipped
cdd62e8220
Keep authored manifests on main and select coordinated providers through Integration. Resolve branches once per run, retain the frozen snapshot and helper identity as artifacts, and use shared source checks instead of copied tests and guides.
Some checks failed
Markdown / markdown (push) Successful in 14s
Coreutils provider graph / coreutils (push) Successful in 4m28s
CI / rust (push) Successful in 7m8s
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 / host_two (push) Successful in 15m5s
CI / host_zero (push) Successful in 21m28s
CI / host_three (push) Successful in 20m8s
CI / host_one (push) Failing after 23m28s
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/retained-native-byte-inspection:feature/retained-native-byte-inspection'
git switch 'feature/retained-native-byte-inspection'

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/explicit-shared-library-variants'
git merge --no-ff 'feature/retained-native-byte-inspection'
git switch 'feature/retained-native-byte-inspection'
git rebase 'feature/explicit-shared-library-variants'
git switch 'feature/explicit-shared-library-variants'
git merge --ff-only 'feature/retained-native-byte-inspection'
git switch 'feature/retained-native-byte-inspection'
git rebase 'feature/explicit-shared-library-variants'
git switch 'feature/explicit-shared-library-variants'
git merge --no-ff 'feature/retained-native-byte-inspection'
git switch 'feature/explicit-shared-library-variants'
git merge --squash 'feature/retained-native-byte-inspection'
git switch 'feature/explicit-shared-library-variants'
git merge --ff-only 'feature/retained-native-byte-inspection'
git switch 'feature/explicit-shared-library-variants'
git merge 'feature/retained-native-byte-inspection'
git push origin 'feature/explicit-shared-library-variants'
Sign in to join this conversation.
No description provided.