Conversation
Index local include references and enqueue dependants when an included artifact revision or digest changes. Ignore metadata-only updates and skip suspended, deleting and cyclic dependants. Add envtest coverage for nested includes without changing the parent Git revision. Assisted-by: Hermes Agent (gpt-6-astra / openai-codex) Signed-off-by: Michael Basov <124149774+banlor@users.noreply.github.com>
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.
Related to #522. This is the source-controller part; downstream Kustomizations also need to react to source digest changes.
Index spec.include references and watch the included GitRepositories for artifact revision or digest changes. A nested source can then update its dependants without changing their Git revisions. Suspended or deleting dependants and cycle edges are skipped; no-op and timestamp-only updates do not enqueue them.
Envtest covers leaf-to-middle-to-parent propagation, unchanged Git revisions and settling without repeated rebuilds. The full make test passed with the race detector on Go 1.26.8 and Kubernetes 1.37.0.
Assisted by Hermes Agent with gpt-6-astra.