Skip to content

003 upgrade pack refs#6

Merged
aabs merged 7 commits into
mainfrom
003-upgrade-pack-refs
May 24, 2026
Merged

003 upgrade pack refs#6
aabs merged 7 commits into
mainfrom
003-upgrade-pack-refs

Conversation

@aabs
Copy link
Copy Markdown
Owner

@aabs aabs commented May 24, 2026

support for rules and template packs

aabs added 7 commits May 23, 2026 13:34
- 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.
Copilot AI review requested due to automatic review settings May 24, 2026 05:13
@aabs aabs merged commit eccd6d9 into main May 24, 2026
6 of 7 checks passed
@aabs aabs review requested due to automatic review settings May 24, 2026 05:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant