Skip to content

chore: Downgrade Next to 15.3.0#21746

Merged
hbjORbj merged 2 commits into
mainfrom
downgrade-next-to-15.3.0
Jun 9, 2025
Merged

chore: Downgrade Next to 15.3.0#21746
hbjORbj merged 2 commits into
mainfrom
downgrade-next-to-15.3.0

Conversation

@joeauyeung
Copy link
Copy Markdown
Contributor

@joeauyeung joeauyeung commented Jun 9, 2025

What does this PR do?

Fixes local performance issues found in 15.3.2

  • Fixes #XXXX (GitHub issue number)
  • Fixes CAL-XXXX (Linear issue number - should be visible at the bottom of the GitHub issue description)

Visual Demo (For contributors especially)

A visual demonstration is strongly recommended, for both the original and new change (video / image - any one).

Video Demo (if applicable):

  • Show screen recordings of the issue or feature.
  • Demonstrate how to reproduce the issue, the behavior before and after the change.

Image Demo (if applicable):

  • Add side-by-side screenshots of the original and updated change.
  • Highlight any significant change(s).

Mandatory Tasks (DO NOT REMOVE)

  • I have self-reviewed the code (A decent size PR without self-review might be rejected).
  • I have updated the developer docs in /docs if this PR makes changes that would require a documentation change. If N/A, write N/A here and check the checkbox.
  • I confirm automated tests are in place that prove my fix is effective or that my feature works.

How should this be tested?

  • Are there environment variables that should be set?
  • What are the minimal test data to have?
  • What is expected (happy path) to have (input and output)?
  • Any other important info that could help to test that PR

Checklist

  • I haven't read the contributing guide
  • My code doesn't follow the style guidelines of this project
  • I haven't commented my code, particularly in hard-to-understand areas
  • I haven't checked if my changes generate no new warnings

Summary by cubic

Downgraded Next.js from version 15.3.2 to 15.3.0 to fix local performance issues.

  • Dependencies
    • Updated package.json to use Next.js 15.3.0.

@joeauyeung joeauyeung requested a review from a team as a code owner June 9, 2025 15:33
@graphite-app graphite-app Bot requested a review from a team June 9, 2025 15:33
@keithwillcode keithwillcode added core area: core, team members only enterprise area: enterprise, audit log, organisation, SAML, SSO labels Jun 9, 2025
@dosubot dosubot Bot added the performance area: performance, page load, slow, slow endpoints, loading screen, unresponsive label Jun 9, 2025
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

cubic found 1 issue across 1 file. Review it in cubic.dev

React with 👍 or 👎 to teach cubic. Tag @cubic-dev-ai to give specific feedback.

Comment thread apps/web/package.json
"micro": "^10.0.1",
"mime-types": "^2.1.35",
"next": "^15.3.2",
"next": "^15.3.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Using a caret (^) version range still allows npm to install newer patch versions like 15.3.2, so the intended downgrade to exactly 15.3.0 is not guaranteed.

Suggested change
"next": "^15.3.0",
"next": "15.3.0",

@graphite-app
Copy link
Copy Markdown

graphite-app Bot commented Jun 9, 2025

Graphite Automations

"Add consumer team as reviewer" took an action on this PR • (06/09/25)

1 reviewer was added to this PR based on Keith Williams's automation.

@hbjORbj hbjORbj marked this pull request as draft June 9, 2025 15:37
@hbjORbj
Copy link
Copy Markdown
Contributor

hbjORbj commented Jun 9, 2025

Turned it draft because we aren't sure if this is the issue yet

@hbjORbj
Copy link
Copy Markdown
Contributor

hbjORbj commented Jun 9, 2025

While other team members are okay, for some reason, Sean's experiencing a local dev slowness after the next.js version upgrade from 15.3.0 to 15.3.3. The version upgrade isn't really worth blocking Sean's work, so this is a valid merge, IMO, at least for now

@hbjORbj hbjORbj marked this pull request as ready for review June 9, 2025 16:04
@hbjORbj hbjORbj enabled auto-merge (squash) June 9, 2025 16:04
@dosubot dosubot Bot added the ⬆️ dependencies Pull requests that update a dependency file label Jun 9, 2025
Copy link
Copy Markdown
Contributor

@cubic-dev-ai cubic-dev-ai Bot left a comment

Choose a reason for hiding this comment

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

cubic found 1 issue across 1 file. Review it in cubic.dev

React with 👍 or 👎 to teach cubic. Tag @cubic-dev-ai to give specific feedback.

Comment thread apps/web/package.json
"micro": "^10.0.1",
"mime-types": "^2.1.35",
"next": "^15.3.2",
"next": "^15.3.0",
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Using a caret (^) keeps the version range open, so npm may still install 15.3.2 or any later 15.x patch release, which defeats the intention of downgrading to 15.3.0 to avoid the reported performance issues.

@vercel
Copy link
Copy Markdown

vercel Bot commented Jun 9, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
cal-eu ❌ Failed (Inspect) Jun 9, 2025 4:08pm
1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
cal ⬜️ Ignored (Inspect) Visit Preview Jun 9, 2025 4:08pm

@socket-security
Copy link
Copy Markdown

Caution

Review the following alerts detected in dependencies.

According to your organization's Security Policy, you must resolve all "Block" alerts before proceeding. Learn more about Socket for GitHub.

Action Severity Alert (click for details)
Block Critical
http@0.0.1-security is Known malware.

Note: Package has been removed from the npm registry due to security concerns.

This is a placeholder package published by the npm security team to prevent malicious usage of the package name.
The original package likely contained harmful code.

From: apps/api/package.jsonnpm/http@0.0.1-security

ℹ Read more on: This package | This alert | What is known malware?

Next steps: Take a moment to review the security alert above. Review the linked package source code to understand the potential risk. Ensure the package is not malicious before proceeding. If you're unsure how to proceed, reach out to your security team or ask the Socket team for help at support@socket.dev.

Suggestion: It is strongly recommended that malware is removed from your codebase.

Mark the package as acceptable risk. To ignore this alert only in this pull request, reply with the comment @SocketSecurity ignore npm/http@0.0.1-security. You can also ignore all packages with @SocketSecurity ignore-all. To ignore an alert for all future pull requests, use Socket's Dashboard to change the triage state of this alert.

View full report

@github-actions
Copy link
Copy Markdown
Contributor

github-actions Bot commented Jun 9, 2025

E2E results are ready!

@hbjORbj hbjORbj merged commit 4e085e4 into main Jun 9, 2025
60 of 64 checks passed
@hbjORbj hbjORbj deleted the downgrade-next-to-15.3.0 branch June 9, 2025 17:21
BKM14 pushed a commit to BKM14/cal.com that referenced this pull request Jun 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

core area: core, team members only ⬆️ dependencies Pull requests that update a dependency file enterprise area: enterprise, audit log, organisation, SAML, SSO performance area: performance, page load, slow, slow endpoints, loading screen, unresponsive ready-for-e2e

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants