Repository navigation
ci: reproduce native fingerprint helper coverage and freshness limits - #1376
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Refs #1286. Extend the existing manual target-cache experiment to evaluate native zccache snapshot-fingerprint helpers before considering production adoption. No workflow, production cache policy or test execution is changed.
Confirmed with soldr 0.9.35, Rust-wrapper bypass and checksum-verified standalone zccache 1.15.5:
.dfilenames, while the recorder constructs the fingerprint-directory basename. Filed zccache#1959; same construction is present in inspected upstream main.The probe adds explicit package-name control, optional standalone helper path and a separate
--verify-native-guardmode. The native verification requires fixture source coverage, rejection of changed source and dependency preservation; it returns 1 for both current cases. It does not convert missing coverage into safety. Existing--verify-guardsemantics remain the known-package control.Validation
--verify-guardwithout native helper: exit 0, unchanged reuse, ordinary edit rejected, guarded preserved-stamp edit rejected and dependency retained.uv run --no-project -m unittest ci.test_tool_guard ci.test_uv_run: 20 passed.git diff --checkand evidence JSON parsing pass. This is measurement/reproduction tooling, not a production behavioral fix requiring an artificial RED/GREEN test.All scratch stays in new ignored build_ci_audit directories in this checkout. No worktree, existing C-test/public-header edit, new workflow or submodule pointer update. Standalone and embedded Rust cache bugs remain separate.
Draft sequencing
Hold merge until #1375's docs-only Qt consumer is measured: this new diagnostic source is conservatively included in Qt publication identity and would create a new generation. Draft CI/review can proceed independently. The probe does not fix the upstream helper or claim safe deeper-test reuse.
Sequencing completed
The docs-only Qt consumer in run 39086280608 / job 117554246917 passed, restored the exact producer key, retained 298/300 compiler hits, and skipped the Qt snapshot save. The draft hold was released after that measurement; this PR merged at 01:34:12 UTC. Its diagnostic source may create a new conservative Qt input generation, which is distinct from the already verified docs-only reuse pair.