Repository navigation
feat(apps): explain blocked updates and dependency refusals - #585
Merged
Merged
Conversation
- Installed apps name the newest listed release that the appliance cannot offer, with the reason: additional grants or an incompatible appliance. Previously such releases were silently missing from the update offer. - A lifecycle refusal caused by a dependency (a proxy host the app manages, a running app operation, or provider dependencies) is reported as `dependencyBlocked` instead of a generic conflict. The conflict message no longer mentions dependencies. Refs #456 Co-Authored-By: Claude Opus 5.5 <[email protected]>
Contributor
|
Warning Review limit reachedYou've used all free OSS reviews for now. Wait for the free limit to reset to keep reviewing this public repository. Next included review available in 59 minutes. View limit details
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. |
5 of 13 tasks
RentnerKev
added a commit
that referenced
this pull request
Nov 26, 2026
Keep both the dependency refusal code and the blocked-release notes from #585 next to the outage kinds, cached flag and verified names of this branch. The installation action fixtures now carry `name` and `cached`. Co-Authored-By: Claude Opus 5.5 <[email protected]>
This was referenced Nov 26, 2026
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
Two gaps from the #456 acceptance audit, criterion 2: unsupported versions, extra grants and blocked dependencies must be explained.
Installed apps say why a newer release is not offered
catalogBlockedReleaseandcompareCatalogVersionsinweb/src/lib/AppCatalog/installationActions.tsuse semantic version precedence, including prereleases.availabilityfor every release.Dependency refusals get their own code
ResourceBusynow maps to a newdependencyBlockedlifecycle failure incore/src/app_manager/catalog.rs, instead ofconflict.ResourceBusycomes from:removable/purge-data(a proxy host the app owns, a running app operation, a live generation);AlreadyExistsstaysconflict.contract.tsaccepts the new code, and all eight locales explain it.conflicttext no longer mentions dependencies.Related issue
Refs #456 (criterion 2)
Type of change
Testing
dependency_refusals_are_reported_apart_from_conflictschecks thatResourceBusybecomesdependencyBlockedandAlreadyExistsstaysconflict, with the installation still running. Ran the focusedapp_manager::{lifecycle,catalog}::tests, pluscargo clippy --all-targets --all-features -D warningsandcargo fmt --checkon Linux (Rust 1.99.1).installation-actions.test.ts: version precedence, plus the blocked-release choice and when it stays silent.catalog-install-ui.test.tsx: grants-required and incompatible notes next to an offered update, and a dependency-blocked uninstall shown apart from a conflict.catalog.test.ts.bun --checktypecheck, andoxlintwith type-aware rules.Checklist
Breaking changes
None. The native lifecycle error set gains
dependencyBlocked. The web contract that reads it ships in the same change.Screenshots
None.
🤖 Generated with Claude Code