Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Next.js] [Multisite] Skip site info fetch on XM Cloud rendering/editing host builds #1649

Merged

Conversation

ambrauer
Copy link
Contributor

Description / Motivation

When building on XM Cloud, the CM instance is not necessarily provisioned and available. The site info fetch fails in this case (but build continues). This change prevents site fetch from even being attempted. Note we're already disabling CM usage during static generation (via DISABLE_SSG_FETCH).

Testing Details

  • Unit Test Added
  • Manual Test/Other (Please elaborate)

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)

@ambrauer ambrauer requested a review from a team October 31, 2023 21:53
Copy link
Contributor

@illiakovalenko illiakovalenko left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@illiakovalenko illiakovalenko merged commit 9e5ca52 into dev Nov 2, 2023
1 check passed
@illiakovalenko illiakovalenko deleted the feature/JSS-1079-skip-site-info-fetch-in-xmcloud branch November 2, 2023 08:11
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.

2 participants