-
Notifications
You must be signed in to change notification settings - Fork 51
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
agent: touch publications and dependency_hash
Updates the agent to support `is_touch` in publications and the `dependency_hash` in publications and controllers. For specs published with `is_touch=true`, the agent will _not_ add new `publication_specs`, update the `last_pub_id`, or update the `spec` (the drafted spec must be identical). The dependency hash column is added, and persisted as part of committing a publication. Controllers compute the current hash value whenever they run, and compare it to the persisted value in order to determine whether any dependencies have changed. When controllers detect a change in dependencies, their behavior generally depends on whether any dependencies have been deleted or not. As long as no dependencies were deleted, then controllers will publish their spec using `is_touch = true`. If any dependencies have been deleted, then task controllers will use a normal publication and update the model to remove the deleted dependencies, which matches the previous behavior. Controllers will attempt to collapse multiple subsequent touch publications into their publication histories in an attempt to limit the noise of many publications in response to dependency changes.
- Loading branch information
Showing
27 changed files
with
764 additions
and
341 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.