Repository navigation
Description
Phase: 4 | Priority: P1
Expose the local app manager through an administrative Marketplace interface in platform.
Scope
-
Combine remote available versions with authoritative local inventory, state, compatibility and grants.
-
Provide install/update/activate/deactivate/remove and explicit compatible recovery controls through journaled operations.
-
Show new permissions, required engine/platform changes, data migration/recovery consequences and dependency blocks before changes.
-
Keep installed-app management available offline without any central Marketplace account.
-
Browse the independent public catalog directly and persist its last-verified metadata/display assets. Provide a bundled bootstrap snapshot so the local Marketplace interface remains informative before a first successful refresh.
-
Install/update exact approved digests directly from the controlled public GitHub Release distribution with no Marketplace account, account-service request, website proxy or shared GitHub token.
-
Keep optional ratings/statistics/account linking in the separately scoped RentnerProxy/platform#464; optional service failures cannot delay this interface or change trusted version selection.
Dependencies
These are implementation prerequisites; app-to-app delivery gates do not create runtime dependencies.
Acceptance criteria
- An administrator can discover/install/update/remove the reference app and inspect accurate progress/failure/recovery state.
- Unsupported versions, extra grants and blocked dependencies are explained before side effects; ordinary viewers cannot manage apps.
- Concurrent actions/repeated clicks are idempotent and stale resource revisions are rejected.
- Remote catalog failure preserves local inventory, recovery actions and already installed apps.
- Package/backend/UI generations stay consistent and app-domain data is preserved by default on removal.
- Public website accounts and the local platform session remain separate authentication domains.
- With the Marketplace website, database and account APIs stopped, a clean administrator can list available apps and install/update from valid independent catalog/package sources without a central account.
- Catalog, package-source and full-network outages are distinguished. Cached catalog/local inventory stays visible, required display assets remain available, and an uncached package is honestly shown as requiring its source.
- No rating, statistics, reporting response or central login is awaited to render local management or commit an installation/update.
Planning baseline: Beta 4.
This issue schedules future work; backlog creation does not implement or deploy it.
Use focused project checks and short integration/recovery tests. Endurance runs belong to release preparation. Normal PRs need no additional documentation files or screenshot commits unless requested.
Activity
test(apps): compare offline listings apart from their local cache state
feat(apps): explain blocked updates and dependency refusals (#585)
feat(apps): tell catalog, package-source and network outages apart (#589
test(apps): prove UI updates, coalesced retries and removal of the pu…
RentnerKev commentedon Nov 26, 2026
The acceptance criteria are covered by merged changes and tests. Deviations and limits are listed below the table.
Where the tests run: ARR is the App Runtime Reference workflow, jobs "Native app runtime reference (amd64)" and "(arm64)". Rust is the CI job "Rust". Web Tests is the CI job "Web Tests".
privileged_published_greeting_lifecycle(#543, #544; ARR, Rust) lists the catalog and installs Greeting 1.0.0. Interrupted and corrupt update downloads reportoperationFailedand leave the app unchanged. The test then updates the app, rolls it back offline and restarts it. #584 adds uninstall with the data kept, a reinstall of 1.0.0 with the same UID and the saved greeting, and an offline purge.privileged_signed_lifecycle(#541) covers the recovery actions. UI tests (#534, #541; Web Tests): "installs the signed selection and opens it after authorized app discovery", "updates to the offered signed version and reflects the confirmed generation", "recovers a completed lifecycle action when its POST response is lost" and "manages a local app while the catalog is unavailable and confirms retained-data uninstall". Managing apps requires the Owner role.privileged_published_greeting_distribution_gates, ARR). Alsoaccepts_only_listed_packages_and_coalesces_identical_requests(Rust). Explanations (#585): an installed app names the newest release it cannot offer and the reason ("explains newer releases that the appliance cannot offer for an installed app"). Dependency refusals get their owndependencyBlockedcode ("reports a dependency that blocks an uninstall apart from a conflict",dependency_refusals_are_reported_apart_from_conflicts).accepts_only_listed_packages_and_coalesces_identical_requests,offline_management_coalesces_retries_and_serializes_with_catalog_installandlifecycle_admission_checks_generation_release_state_and_rollback_identity(Rust). Inprivileged_signed_lifecycle, a wrong digest or a stale generation gets 409 through the socket. Calls to a replaced generation get 412 (gates step 7). After a click the UI disables the button and sends one POST (Web Tests). #584 adds a check on the published Greeting (ARR). Two identical update posts while the update is pending get the same operation. Adeactivateand an install get 409, and the release host serves one archive.failed_refresh_keeps_the_last_verified_listing_and_allows_recoveryandoffline_management_coalesces_retries_and_serializes_with_catalog_install(Rust).privileged_signed_lifecyclerunsrecoverafter the catalog server stopped.privileged_published_greeting_lifecyclerolls back and restarts offline with the cached listing. Gates step 8 restarts without any network (ARR). #584 uninstalls and purges offline. UI: "manages a local app while the catalog is unavailable and confirms retained-data uninstall" andinstall-progress.test.ts(Web Tests).privileged_web_socket_serves_generation_scoped_ui(Rust) runs natively on both architectures since #583. In #584, the native presentation metadata switches with the generation. Uninstall keeps the data, and purge is a separate, confirmed action (privileged_signed_lifecycle; #584 on Greeting; the UI test in row 4).ready, installs 1.0.0 and updates to 1.0.1. Meanwhilemarket.rentner.devandapi.github.compoint at a stand-in that records zero connections. This is proven at the manager level; the web layer makes no outbound calls.catalogUnavailable,packageSourceUnavailableandnetworkUnavailable. Tests:outages_name_the_source_that_did_not_answer,catalog_outages_keep_their_source_and_are_told_apart_from_network_outages,source_outages_are_reported_by_the_source_that_did_not_answer(Rust), and gates steps 2, 4 and 5 (ARR). Entries carrycached, and the page marks uncached packages ("shows uncached packages as requiring their source after a package source outage", "names the unreachable sources of a failed update and the verified app name", Web Tests). Installed rows carry the name from the verified manifest (installations_carry_the_display_name_of_their_verified_manifest). Row 4 covers the cached listing and inventory.Deviations and limits
cachedis computed when the listing refreshes, so it can lag by up to 60 s. A disabled or removed app whose release is no longer listed shows its app ID after a manager restart.Closing as completed.