003 upgrade pack refs#6
Merged
Merged
Conversation
- Added `upgrade` subcommands for rules and template packs to the CLI. - Introduced a canonical selector format for targeting pack references. - Implemented full cache refresh behavior when no tag is specified. - Added explicit tag support for targeted upgrades. - Ensured pinning of upgraded versions to a tuple of (tag, commitSha). - Established fail-closed rollback behavior in case of fetch failures. - Created comprehensive documentation and quickstart guide for new commands. - Developed a specification quality checklist and contracts for CLI commands. - Added tests for selector validation, upgrade behavior, and rollback scenarios.
- Introduced performance tests for rules and template pack upgrades to ensure they complete within 60 seconds for large payloads. - Implemented rollback tests to verify behavior during fetch and restore failures, ensuring proper diagnostics and cache restoration. - Added tests for rules and template pack upgrade commands, covering scenarios like explicit tag upgrades, ambiguous selectors, and validation errors. - Created property tests to ensure upgrade determinism and config invariants during failed upgrades. - Developed unit tests for pack selector resolution and rules pack registration, ensuring correct pin updates and handling of missing selectors. - Added tests for external pack upgrade service rollback functionality, verifying that the cache snapshot is restored and the config remains unchanged after a failed upgrade.
…idation configuration
…t for template-pack add help command
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.
support for rules and template packs