Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"dependencies": {
"@astrojs/cloudflare": "8.1.0",
"@sentry/astro": "latest || *",
"astro": "4.16.18"
"astro": "5.15.6"
Copy link

Choose a reason for hiding this comment

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

Bug: Astro v5 removed output: 'hybrid', but astro.config.mjs still uses it, causing build failure.
Severity: CRITICAL | Confidence: 0.95

🔍 Detailed Analysis

The cloudflare-astro test application's astro.config.mjs uses output: 'hybrid', which was removed in Astro v5. When Astro v5.15.6 attempts to parse this configuration, it will throw a validation error, leading to a complete build failure for the application.

💡 Suggested Fix

Update astro.config.mjs to replace output: 'hybrid' with either output: 'static' or output: 'server', depending on the intended deployment requirements for the cloudflare-astro test application.

🤖 Prompt for AI Agent
Review the code at the location below. A potential bug has been identified by an AI
agent.
Verify if this is a real issue. If it is, propose a fix; if not, explain why it's not
valid.

Location: dev-packages/e2e-tests/test-applications/cloudflare-astro/package.json#L22

Potential issue: The `cloudflare-astro` test application's `astro.config.mjs` uses
`output: 'hybrid'`, which was removed in Astro v5. When Astro v5.15.6 attempts to parse
this configuration, it will throw a validation error, leading to a complete build
failure for the application.

Did we get this right? 👍 / 👎 to inform future reviews.

Reference_id: 2670309

},
"devDependencies": {
"@astrojs/internal-helpers": "0.4.1"
Expand Down
Loading