Repository navigation
fix(appstore): reload with --local for unreleased packages - #2311
Merged
Merged
Conversation
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.
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.
What Changed
libs appstore-syncnow runsdocker exec <container> websoft9 appstore reload --local --jsoninstead of the strictreload --json.cli/README.mdanddocs/ai-sdlc/03-update-pipeline.mddescribe the local overlay behavior.Why Changed
The current Websoft9 runtime validates the official asset snapshot before rebuilding catalogs.
appstore-syncstages an unreleased package into/websoft9/library, so the strict reload fails withsnapshot library content does not match saved state, then marks the instanceassets unavailableand every later reload fails withOfficial Appstore assets are not ready; synchronize before refreshing.--localis the documented entry point for verifying an unreleased application: it rebuilds from the library as it is on disk and records alocalOverlaymarker 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 atmain+ this change).Risk
--localstill validates the library root and rebuilds the manifests; it only skips the published-dataset comparison. Production publishing keeps using the strict path.