Skip to content

fix(appstore): reload with --local for unreleased packages - #2311

Merged
zhaojing1987 merged 1 commit into
mainfrom
feat/appstore-reload-local
Nov 17, 2026
Merged

zhaojing1987 merged 1 commit into
mainfrom
feat/appstore-reload-local

Conversation

@zhaojing1987

Copy link
Copy Markdown
Collaborator

What Changed

  • libs appstore-sync now runs docker exec <container> websoft9 appstore reload --local --json instead of the strict reload --json.
  • cli/README.md and docs/ai-sdlc/03-update-pipeline.md describe the local overlay behavior.

Why Changed

The current Websoft9 runtime validates the official asset snapshot before rebuilding catalogs. appstore-sync stages an unreleased package into /websoft9/library, so the strict reload fails with snapshot library content does not match saved state, then marks the instance assets unavailable and every later reload fails with Official Appstore assets are not ready; synchronize before refreshing. --local is the documented entry point for verifying an unreleased application: it rebuilds from the library as it is on disk and records a localOverlay marker so the next official sync restores published assets.

This is what blocked PR E2E for #2295 (dify 1.19.0) and left the WeCom notification with only a provisioning-failure message.

Automated Validation

  • pytest cli/tests: 627 passed (worktree at main + this change).

Risk

--local still validates the library root and rebuilds the manifests; it only skips the published-dataset comparison. Production publishing keeps using the strict path.

The current Websoft9 runtime validates the official asset snapshot before
rebuilding catalogs, so staging a PR package into /websoft9/library made the
strict reload fail and marked the instance assets unavailable. --local rebuilds
from the library on disk and records a localOverlay marker that the next
official sync replaces.
@zhaojing1987
zhaojing1987 merged commit 72d15ed into main Nov 17, 2026
7 checks passed
@zhaojing1987
zhaojing1987 deleted the feat/appstore-reload-local branch November 17, 2026 03:20
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