Skip to content

console(marketplace): on an offline boot (OS_CLOUD_URL=off) Installed Apps → Details renders "App Marketplace is turned off" ahead of the install-local reseed / purge menu, so neither is reachable #11627

Description

@objectstack-fleet

QA-source: objectstack-ai/objectstack#21782 · platform-core.marketplace-console-honesty · acceptance[2]

Clause A3 of platform-core.marketplace-console-honesty fails in the ObjectStack 17.7 pre-release checklist run objectstack-ai/objectstack#21782 (framework subject 316be321e, console pin 2e818d0b51ec). An independent verifier (VF4, RUNNER rule 7; code at the pin) confirmed it: P3. It predates the 17.6.0 console pin 31971ff1e; no open duplicate was found. Owner: objectui.

Reproduction

  1. Boot a scratch copy of the showcase with OS_CLOUD_URL=off. Install-local caches under {cwd}/.objectstack, so do not use a shared tree.
  2. os package install examples/app-crm/dist/objectstack.json -r http://localhost:{port}.
  3. Server truth: /runtime/config reports marketplace:false, and Installed Apps lists com.example.crm v4.0.0.
  4. Browser, as admin: Setup → Installed Apps. The row offers Refresh / Details / Uninstall only. Click Details, which opens /system/marketplace/com.example.crm.
  5. Expected: reseed / purge affordances that issue POST /api/v1/marketplace/install-local/com.example.crm/{reseed,purge}-sample-data.
  6. Actual: "App Marketplace is turned off", with 0 install-local wire calls. Seen twice.

Note: the purge endpoint itself fails separately (objectstack-ai/objectstack#21728). This card is only about the console reaching it.

Mechanism

  • InstalledListWidget.tsx:155 links Details to /system/marketplace/:packageId.
  • MarketplacePackagePage.tsx:568 returns the MarketplaceDisabled card when !marketplaceEnabled, before the local reseed/purge menu (:752).
  • Offline (features.marketplace=false, offlineInstallLocal on), the two affordances therefore cannot be reached from the UI.
  • The code is identical at 31971ff1e.

Done when

The local-package page (or Installed Apps) offers reseed / purge on a marketplace-disabled boot that permits install-local.


Generated by Claude Code

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area:devpathThe road — create, dev, verify, publish/install, connect an agent, iteratebugSomething isn't workingdomain:uiobjectui ui stream: fix lands on the published library or apps — objectui execution seatpriority:p3

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions