WIP: Stage consistent compiler metadata for dynamic builds #794

Draft
erikinkinen wants to merge 1 commit from feature/consistent-dynlink-compiler-metadata into fix/configured-image-cargo-routing
Owner

Reconcile the compiler metadata staging change from #111 (56e035d4) with #791. Both dynamic build paths reject conflicting metadata. The staging helper participates in the build cache keys.

The stacked heads passed 23 metadata tests and two cache tests. The image build with equivalent changes reached Loaderd compilation and stopped before guest startup. Hosted regression results are pending. Runtime permissions and persistent formats are unchanged.

Reconcile the compiler metadata staging change from #111 (56e035d4) with #791. Both dynamic build paths reject conflicting metadata. The staging helper participates in the build cache keys. The stacked heads passed 23 metadata tests and two cache tests. The image build with equivalent changes reached Loaderd compilation and stopped before guest startup. Hosted regression results are pending. Runtime permissions and persistent formats are unchanged.
erikinkinen added this to the Alpha 1 milestone 2026-11-21 03:18:01 +01:00
fix: Reject conflicting compiler metadata inputs
Some checks failed
Markdown / markdown (push) Failing after 5s
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
Coreutils provider graph / coreutils (push) Successful in 1m45s
CI / rust (push) Successful in 2m42s
CI / native_sources (push) Successful in 9s
CI / host_zero (push) Successful in 10m24s
CI / host_three (push) Successful in 10m41s
CI / host_two (push) Successful in 11m3s
CI / host_one (push) Successful in 14m10s
CI / integration (push) Failing after 29m33s
deec113e7c
Use one staging helper for executable and shared-library metadata. Preserve an existing file when its bytes match and refuse conflicting providers before linking. Include the helper in both build cache keys.
Some checks failed
Markdown / markdown (push) Failing after 5s
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
Coreutils provider graph / coreutils (push) Successful in 1m45s
CI / rust (push) Successful in 2m42s
CI / native_sources (push) Successful in 9s
CI / host_zero (push) Successful in 10m24s
CI / host_three (push) Successful in 10m41s
CI / host_two (push) Successful in 11m3s
CI / host_one (push) Successful in 14m10s
CI / integration (push) Failing after 29m33s
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/consistent-dynlink-compiler-metadata:feature/consistent-dynlink-compiler-metadata'
git switch 'feature/consistent-dynlink-compiler-metadata'

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 'fix/configured-image-cargo-routing'
git merge --no-ff 'feature/consistent-dynlink-compiler-metadata'
git switch 'feature/consistent-dynlink-compiler-metadata'
git rebase 'fix/configured-image-cargo-routing'
git switch 'fix/configured-image-cargo-routing'
git merge --ff-only 'feature/consistent-dynlink-compiler-metadata'
git switch 'feature/consistent-dynlink-compiler-metadata'
git rebase 'fix/configured-image-cargo-routing'
git switch 'fix/configured-image-cargo-routing'
git merge --no-ff 'feature/consistent-dynlink-compiler-metadata'
git switch 'fix/configured-image-cargo-routing'
git merge --squash 'feature/consistent-dynlink-compiler-metadata'
git switch 'fix/configured-image-cargo-routing'
git merge --ff-only 'feature/consistent-dynlink-compiler-metadata'
git switch 'fix/configured-image-cargo-routing'
git merge 'feature/consistent-dynlink-compiler-metadata'
git push origin 'fix/configured-image-cargo-routing'
Sign in to join this conversation.
No description provided.