Skip to content

fix(cloud-connection): install-local accepts compiled stack bundles#1799

Merged
xuyushun441-sys merged 1 commit into
mainfrom
fix/install-local-bundle-shape
Jun 13, 2026
Merged

fix(cloud-connection): install-local accepts compiled stack bundles#1799
xuyushun441-sys merged 1 commit into
mainfrom
fix/install-local-bundle-shape

Conversation

@xuyushun441-sys

Copy link
Copy Markdown
Contributor

Found running the original-goal E2E (publish a private package to the control plane → install it on a bound self-hosted runtime): install-local rejected every published compiled bundle with Invalid manifest payload, because the version payload (dist/objectstack.json) nests its meta under .manifest ({manifest:{id,…}, objects, views, …}) while ObjectQL's registerApp expects the flat app shape (top-level id + sections). Only hand-written flat manifests could ever install.

Flatten the bundle shape on detection — both the cloud-fetch and inline/file-import paths.

+2 tests (compiled-bundle flattening; flat manifest untouched); 44/44 green.

🤖 Generated with Claude Code

A published version payload (dist/objectstack.json) nests its meta
under .manifest ({manifest:{id,…}, objects, views, …}) while ObjectQL's
registerApp expects the flat app shape — so every install of a
published compiled bundle died with 'Invalid manifest payload'. Found
running the org-private install loop E2E (publish hotcrm → bearer
catalog → install-local). Flatten on detection, both fetch and inline
paths.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vercel

vercel Bot commented Jun 13, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
spec Ready Ready Preview, Comment Jun 13, 2026 12:47am

Request Review

@github-actions github-actions Bot added documentation Improvements or additions to documentation tests tooling size/m labels Jun 13, 2026
@xuyushun441-sys
xuyushun441-sys merged commit 3786f15 into main Jun 13, 2026
12 checks passed
@xuyushun441-sys
xuyushun441-sys deleted the fix/install-local-bundle-shape branch June 13, 2026 00:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation size/m tests tooling

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants