Skip to content

Reuse metadata prefixes after dependency hashes change - #389

Open
charliermarsh wants to merge 1 commit into
charlie/ohm-29-scope-unreachable-lint-inputsfrom
charlie/ohm-29-reuse-metadata-after-dependency-edits
Open

charliermarsh wants to merge 1 commit into
charlie/ohm-29-scope-unreachable-lint-inputsfrom
charlie/ohm-29-reuse-metadata-after-dependency-edits

Conversation

@charliermarsh

@charliermarsh charliermarsh commented Nov 9, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

Refreshing the saved metadata prefix saved 2.09% across the 14 rustc processes in the first workspace check after a seven-file uv edit. Six pairs compared stage-1 builds of the −29 source. The warm metadata of all five affected downstream libraries matched their cold outputs. Rustc validates the current dependency roster and rewrites fixed-width hashes only when the remaining fields agree. uv edit

The combined compiler uses incremental format 61341. It includes both the loop-control owner information and the full representation bitset fingerprint, so caches from the released compiler and either individual format go through a fresh build.

The signed −29 and combined −30 compilers each rejected the other’s incremental files with matching compiler-version strings. The combined compiler also rejected fixtures carrying headers 61339 and 61340. Each rebuilt program printed 42. All five downstream uv metadata files were byte-identical in native incremental and clean builds of the same edit, with the same Git version fields from uv’s build script.

@charliermarsh
charliermarsh force-pushed the charlie/ohm-29-reuse-metadata-after-dependency-edits branch from ba5130a to 803f000 Compare November 9, 2026 17:31
@charliermarsh
charliermarsh changed the base branch from charlie/pin-custom-llvm-1.99.0 to charlie/ohm-29-scope-unreachable-lint-inputs November 9, 2026 17:32
@charliermarsh
charliermarsh marked this pull request as ready for review November 9, 2026 17:38
@charliermarsh
charliermarsh added this pull request to stack #395 November 9, 2026 17:38
@charliermarsh
charliermarsh removed this pull request from stack #395 November 12, 2026 17:29
@charliermarsh
charliermarsh added this pull request to stack #413 November 12, 2026 17:29
@charliermarsh
charliermarsh force-pushed the charlie/ohm-29-reuse-metadata-after-dependency-edits branch from 803f000 to 6773c41 Compare November 17, 2026 07:31
@charliermarsh
charliermarsh removed this pull request from stack #413 November 17, 2026 07:33
@charliermarsh
charliermarsh added this pull request to stack #426 November 17, 2026 07:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant