Repository navigation
fix: reject foreign result shards and tracked validation output - #307
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.
Validation shards can carry absolute paths from another machine. The collectors now exclude such shards with a warning naming the shard and path. The analyze job rejects them before aggregation, so excluding evidence cannot manufacture a successful run. A reusable smoke-gate lint rejects tracked result files using the git index.
Scripts Changed
heart/result_provenance.py, the validate/test_run/script_timing consumers, and reusable smoke/validation workflows; focused provenance and real-git lint tests.Validation
239 focused tests initially passed. Full suite with GITHUB_WORKSPACE set: 1,265 passed and one historical-local fixture failed; updated that fixture to declare its local runner root, then all 55 affected monitoring/timing/provenance tests passed. Tenant firewall passed. Tests cover prefix siblings, traversal, symlink escape, foreign counts, fail-closed aggregation and tracked versus untracked reports.
Local legacy reports retain their existing behavior when neither PYAUTO_RESULT_ROOT nor GITHUB_WORKSPACE is declared. Full weekly cloud execution remains to be observed.
Heart / authorization
Published Heart state at 2026-10-17 09:00 UTC: STALE — release validation stale: source moved since rehearsal (PyAutoFit, PyAutoGalaxy, PyAutoLens). Development PR only; no release-readiness claim. User requested four linked Mind tasks; one task per PR, stop at human /prm.
Closes #303