Hey @wanna!
Welcome to The Community!
Looking through your two logs there’s a couple of things that stand out. For starters, your latter log isn’t catching the Gatsby Cache so it’ll need to build from scratch, which undoubtedly takes more time
6:43:23 PM: ┌────────────────────────────────────────────────────────┐
6:43:23 PM: │ 1. onPreBuild command from netlify-plugin-gatsby-cache │
6:43:23 PM: └────────────────────────────────────────────────────────┘
6:43:23 PM:
6:43:24 PM: No Gatsby cache found. Building fresh.
6:43:24 PM:
6:43:24 PM: (netlify-plugin-gatsby-cache onPreBuild completed in 278ms)
Beyond that, your GraphQL queries in the earlier builds took 14 seconds
3:04:15 PM: success run queries - 14.822s - 4/4 0.27/s
but in the latter build took 1m 15s:
6:45:11 PM: success run queries - 85.683s - 56/56 0.65/s
So that’s a major issue, but could be due to just running more queries (since you had no cache) - could be due to network latencies (how’s your WP server doing? What’s its bandwidth capabilities?) - could be due to just having more data to churn through… did the site add a ton of content recently?
Beyond that, your earlier builds aren’t generating image thumbnails (or maybe they just didn’t need to? if the content was all cached and unchanged? Unclear without seeing more code and/or more builds over time?) but the latter build is trying to generate thumbnails… and that takes a long time
7:02:37 PM: success Generating image thumbnails - 1132.330s - 1626/1626 1.44/s
Over 18 minutes if my math’s correct… is this a new feature you added? That’s a lot of time.
What’s unfortunate is that your build basically finished but it was just after the timeout! Maybe a few more seconds and it should’ve deployed
7:02:42 PM: ┌─────────────────────────────┐
7:02:42 PM: │ Netlify Build Complete │
7:02:42 PM: └─────────────────────────────┘
7:02:42 PM:
7:02:42 PM: (Netlify Build completed in 19m 19.1s)
7:02:42 PM: Execution timed out after 15m0s
7:02:42 PM: Error running command: Command did not finish within the time limit
7:02:42 PM: Failing build: Failed to build site
7:02:42 PM: Failed during stage 'building site': Command did not finish within the time limit
7:02:42 PM: Finished processing build request in 21m3.315654519s