Repository navigation
chore(deps): bump astro from 5.18.2 to 7.4.7 in /infra/website - #7224
dependabot[bot] wants to merge 1 commit into
Conversation
Bumps [astro](https://github.com/withastro/astro/tree/HEAD/packages/astro) from 5.18.2 to 7.4.7. - [Release notes](https://github.com/withastro/astro/releases) - [Changelog](https://github.com/withastro/astro/blob/main/packages/astro/CHANGELOG.md) - [Commits](https://github.com/withastro/astro/commits/astro@7.4.7/packages/astro) --- updated-dependencies: - dependency-name: astro dependency-version: 7.4.7 dependency-type: direct:production ... Signed-off-by: dependabot[bot] <support@github.com>
There was a problem hiding this comment.
Devin Review found 2 potential issues.
2 flags not posted on this PR by your GitHub settings — view them in Devin Review. (Configure)
| }, | ||
| "engines": { | ||
| "node": "18.20.8 || ^20.3.0 || >=22.0.0", | ||
| "node": ">=22.23.4", |
There was a problem hiding this comment.
🔴 Website builds blocked on Node 20
astro build exits on the Node.js 20 runtime used by the website check and Pages deployment. Neither workflow produces a site artifact.
Learn more
The website check and Pages deployment install dependencies and invoke the build script, which launches Astro. Both workflow build jobs and the deployment build job explicitly select Node.js 20. Astro 7.4.7 enforces its minimum Node.js version in its CLI entrypoint before it loads the build command, so installation warnings do not make the build usable.
Example: A PR changing the website starts its build check on Node.js 20. Astro rejects that runtime and exits without building the site; the deployment workflow has the same failure after merge.
Recommended fix: Update both actions/setup-node steps to a supported release line, such as Node.js 24, and document the same requirement for local website builds. Run npm ci and npm run build under that runtime before merging.
Was this helpful? React with 👍 or 👎 to provide feedback.
| }, | ||
| "dependencies": { | ||
| "astro": "^5.18.2", | ||
| "astro": "^7.4.7", |
There was a problem hiding this comment.
🔴 Removed blog loader blocks website generation
On supported Node.js, blog getStaticPaths calls Astro.glob(), which Astro 7 no longer provides. The homepage and blog index use the same removed API.
Learn more
The site loads its Markdown posts via Astro's former Astro.glob() helper. The article route uses the result to enumerate the URLs to prerender. The homepage and blog index use it to render post listings. Astro removed the helper in version 6, so upgrading Node.js alone still leaves these calls failing during static generation.
Example: With Node.js 24, npm run build can start Astro, but the article route cannot enumerate pages such as /blog/what-is-a-feature-store/ because its post loader calls the missing helper.
Recommended fix: Replace all three calls with Object.values(import.meta.glob(pattern, { eager: true })), using the existing literal pattern at each call site. Keep the existing Markdown module access, and verify that the build emits the homepage, blog index, and individual article pages with their existing slugs.
Was this helpful? React with 👍 or 👎 to provide feedback.
franciscojavierarceo
left a comment
There was a problem hiding this comment.
we need to address the existing Node runtime and removed blog-loader findings together. the new lockfile requires Node >=22.23.4, while both website workflows select Node 20; the current build exits with Node.js v20.20.2 is not supported by Astro. upgrading Node alone leaves Astro.glob() calls in the homepage, blog index, and article getStaticPaths, although Astro removed that API in v6. we should include the runtime and content-loader migrations with this major upgrade, then require a successful website build covering the homepage and generated blog routes.
Bumps astro from 5.18.2 to 7.4.7.
Release notes
Sourced from astro's releases.
Changelog
Sourced from astro's changelog.
... (truncated)
Commits
cd30ae2[ci] release (#18637)7a1255f[ci] release (#18582)78eddf9Update dependency p-queue to v10 (#18619)ff1e2fbUpdate dependency undici to v8 [SECURITY] (#18519)babd96dfix(astro): skip data-store full-reload when no clients are connected (#18608)b64567fUpdate all non-major dependencies (#18615)cfa2d2bfix(routing): consider fallbackRoutes in matchAllRoutes (#18541)f75553bfix(routing): avoid TypeError when calling route generator without arguments ...59543c3Fix i18n fallback for on-demand pages reached through a fallback route (#18474)e71c038ClientRouter no longer flashes the top of the page on full reload when scroll...Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)You can disable automated security fix PRs for this repo from the Security Alerts page.