Make captured bootstrap artifacts reproducible #64
No reviewers
Labels
No labels
alpha-1
bug
ci
docs
duplicate
enhancement
help wanted
invalid
performance
phase-6
question
refactor
security
wontfix
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
erix/rootd!64
Loading…
Reference in a new issue
No description provided.
Delete branch "feature/reproducible-bootstrap-artifacts"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary and rationale
Captured dependency filenames made unchanged bootstrap builds produce different ELFs. Apply one explicit all-crate path mapping to the owned production and semantic boundaries, then compare two fresh complete artifacts and reject retained private paths. The exact baseline changes to 271,768 bytes after independent mapped artifacts and unchanged semantic inventory establish the intended result.
Tracking and scope
Fixes #63. Based on #20; its source branch remains unchanged. Shared Cargo/image producer normalization remains separate work.
Architecture, authority and failure behavior
The captured Cargo gateway receives the explicit mapping for every crate. Compiler dep-info still identifies real owned inputs; virtual names confer no authority. Artifact comparison retains ordinary original file descriptors, refuses aliases, changed bytes, private namespaces and uncertain cleanup. Existing warning denial, exact gates and process budgets remain mandatory.
Remaining acceptance
No runtime or ABI changes; no new VM scenario is needed for this native build correction.
WIP: Make captured bootstrap artifacts reproducibleto Make captured bootstrap artifacts reproducibleReady for review at
e33a7191. CI 1763 passes the original gates, including 100 Python tests and the actual native artifact regression. The two fresh linked ELFs match the independently reproduced mapped SHA256e9ba9c1c354d5b59f64f4b747b4c6bc1ce16d52ac9b28beeb838ffa163e64413; the retained CI snapshot selects the same ten provider commits. This fixes #63 within the owned Rootd boundaries; shared producer and whole-image normalization remain follow-up work.