Skip to content

fix: monolith promotion to empty target - #8376

Merged
n1ru4l merged 5 commits into
mainfrom
fix-monolith-schema-promotion-to-other-target
Aug 17, 2026
Merged

fix: monolith promotion to empty target#8376
n1ru4l merged 5 commits into
mainfrom
fix-monolith-schema-promotion-to-other-target

Conversation

@n1ru4l

@n1ru4l n1ru4l commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

Fixes a monolith schema promotion to an empty target (no prior published schema) raise an internal server error.

The logic had flaws for handling the monolith schema correctly. Instead of bending the implementation to cover both composite and monolith, we now shortcut in the monolith scenario as most of the additional information we store is not needed anyways.

@n1ru4l
n1ru4l force-pushed the fix-monolith-schema-promotion-to-other-target branch from 9573fac to ce9ba76 Compare August 17, 2026 09:42
@theguild-bot

theguild-bot commented Aug 17, 2026

Copy link
Copy Markdown
Collaborator

🚀 Snapshot Release (alpha)

The latest changes of this PR are available as alpha on npm (based on the declared changesets):

Package Version Info
hive 11.12.0-alpha-20260817111040-6677b3fb0cf1658d49db900315ef6d4a06ecf417 npm ↗︎ unpkg ↗︎

@github-actions

github-actions Bot commented Aug 17, 2026

Copy link
Copy Markdown
Contributor

🐋 This PR was built and pushed to the following Docker images:

Targets: build

Platforms: linux/amd64

Image Tags: 11.12.0-alpha-6677b3f, 6677b3f, 6677b3fb0cf1658d49db900315ef6d4a06ecf417

@n1ru4l
n1ru4l force-pushed the fix-monolith-schema-promotion-to-other-target branch from ce9ba76 to 08bba87 Compare August 17, 2026 10:13
n1ru4l added 2 commits August 17, 2026 12:28
…fs to avoid invariant assertions intended for monolithic schemas
@n1ru4l
n1ru4l force-pushed the fix-monolith-schema-promotion-to-other-target branch from 6bd5a80 to 2d7ad66 Compare August 17, 2026 10:45
@n1ru4l
n1ru4l marked this pull request as ready for review August 17, 2026 10:57
@n1ru4l
n1ru4l merged commit b08a92c into main Aug 17, 2026
48 of 49 checks passed
@n1ru4l
n1ru4l deleted the fix-monolith-schema-promotion-to-other-target branch August 17, 2026 12:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

3 participants