Fix compute-control artifact reuse#108
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.
What changed
workloadsandmanaged-identitiesin the grouped-source reuse model map--live-only, and stale-artifact fallbackWhy
Cached
chains compute-controlreruns were failing before grouped output finalization because the strict artifact-reuse path did not know how to validate or synthesize empty outputs forworkloadsandmanaged-identities. Live-only runs still worked, which made this a narrow grouped reuse seam.Impact
chains compute-controlnow reuses matching artifacts cleanlychains compute-control --live-onlystill stays fully liveValidation
PYTHONPATH=src python3 -m pytest -q tests/test_chain_scaffold.py -k "compute_control_sources_support_reuse_and_empty_fallbacks" tests/test_cli_smoke.py -k "compute_control_reuses_matching_source_artifacts_by_default or compute_control_live_only_bypasses_cached_artifacts or compute_control_falls_back_live_on_artifact_mismatch or chains_compute_control_json"python3 -m ruff check src/azurefox/chains/registry.py tests/test_chain_scaffold.py tests/test_cli_smoke.py429 passed, 2 deselected