Problem/Motivation

While working on a headless Drupal / Gatsby setup (new), I noticed that if the node title changes or if the path alias is manually changed, Gatsby Cloud is not triggered to update the FE and show the new path for the page for the Gatsby site. Another save or two does seem to trigger Gatsby Cloud to update the page path on the FE.

  • Drupal 9 with Gatsby Integration 2.x RC4
  • Gatsby 4.24.4

Steps to reproduce

  1. Update the Drupal node to a different path alias
  2. Save the node
  3. Gatsby Cloud doesn't build with the new change
  4. Subsequent node updates do eventually update Gatsby correctly

I wonder if anyone else has seen this type of behavior. What additional info would be helpful?

Some next steps, which I think will help:

  • Update current site setup details in this issue, including settings for the Gatsby Integration module
  • Post additional details from the fastbuilds logs to id when webhook are fired

Comments

shrop created an issue. See original summary.

shrop’s picture

Issue summary: View changes
shrop’s picture

Issue summary: View changes
shrop’s picture

Issue summary: View changes
apmsooner’s picture

Status: Active » Closed (outdated)

The patch here: https://www.drupal.org/project/gatsby/issues/3347297 and latest gatsby-source-drupal plugin will resolve the issue when the build_published setting is disabled. Will open another feature tickets that expands settings to bypass only publishing nodes and include other entities like redirects and path aliases along with it. The build_published setting as it stands is limiting and too restrictive for common updates that "should" occur along with node updates.