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.
Summary
This refines the app-first operator surface so rollback, status, apps, and history behave consistently across local and remote usage.
What Changed
yoq rollback --appperform a real rollback apply locally instead of only printing the stored snapshot--printfor non-mutating local and remote rollback snapshot inspection--releaseis omittedcurrent_release,previous_successful_release,workloads,training_runtime/release)yoq appsrollout filters:--status,--failed, and--in-progressWhy
The app control plane was already unified underneath, but the operator UX still had one major asymmetry: local app rollback printed config while remote rollback re-applied releases. Status, apps, and history also relied too much on top-level fields and message text. This closes that gap and gives the app-first surfaces one clearer day-2 workflow.
Validation
Ran serially with
YOQ_SKIP_SLOW_TESTS=1:zig build test -Doptimize=ReleaseSafe -Dtest-filter='loadLocalRollbackSnapshot preserves service runtime fields while keeping original snapshot'zig build test -Doptimize=ReleaseSafe -Dtest-filter='formatAppStatusResponse summarizes latest release'zig build test -Doptimize=ReleaseSafe -Dtest-filter='writeHistoryJsonObject round-trips through remote parser'zig build test -Doptimize=ReleaseSafe -Dtest-filter='app rollback defaults to the previous successful release when release id is omitted'zig build test -Doptimize=ReleaseSafe -Dtest-filter='writeAppStatusJsonObject includes nested release and workload views'zig build test -Doptimize=ReleaseSafe -Dtest-filter='app rollback print returns the selected snapshot without creating a new release'zig build test -Doptimize=ReleaseSafe -Dtest-filter='appMatchesFilters applies failed and in-progress filters'zig build test -Doptimize=ReleaseSafe -Dtest-filter='writeHistoryJsonObject includes nested release markers'zig build test -Doptimize=ReleaseSafe -Dtest-filter='writeAppStatusJsonObject round-trips through remote parser'git diff --checkRisk
The main remaining gap is broader end-to-end local rollback integration coverage against a live running app. The rollback path is wired and covered through focused unit and route-flow tests, but I did not run a wider live-session smoke test in this slice.