Skip to content

chore: speed up slow dev boot times#3027

Merged
jonathanlab merged 3 commits into
mainfrom
posthog-code/speed-up-slow-dev-boot-times
Jul 1, 2026
Merged

chore: speed up slow dev boot times#3027
jonathanlab merged 3 commits into
mainfrom
posthog-code/speed-up-slow-dev-boot-times

Conversation

@jonathanlab

Copy link
Copy Markdown
Contributor

dev boot times were becoming really slow

  • switched the bundler to rolldown
  • prevent redoing work that'd already been done (resigning binaries, redownloading skills, etc.)

this makes booting the dev process wayyy faster

the slowest part is now booting the actual renderer, which i'm sure we can speed up as well (which will bring gains in prod too)


Created with PostHog Code

Generated-By: PostHog Code
@github-actions

github-actions Bot commented Jun 30, 2026

Copy link
Copy Markdown

React Doctor found no issues in the changed files. 🎉

Reviewed by React Doctor for commit 158b74a.

@greptile-apps

greptile-apps Bot commented Jun 30, 2026

Copy link
Copy Markdown
Contributor

Comments Outside Diff (1)

  1. pnpm-lock.yaml, line 330-342 (link)

    P2 Removed security override: node-gyp>undici

    The lockfile shows several overrides were dropped in this change, most notably node-gyp>undici: 8.4.1. That pin was almost certainly added to force a safe version of undici through a vulnerable transitive path in node-gyp. The new lockfile resolves node-gyp's undici dep without the pin, which may pull in an older, potentially vulnerable version depending on what node-gyp currently specifies. node-abi, react-test-renderer, and @posthog/quill>@base-ui/react were also silently dropped. Were all of these removals intentional, and has the resulting undici version been verified as safe?

Reviews (1): Last reviewed commit: "chore: speed up slow dev boot times" | Re-trigger Greptile

@jonathanlab jonathanlab merged commit a289096 into main Jul 1, 2026
23 checks passed
@jonathanlab jonathanlab deleted the posthog-code/speed-up-slow-dev-boot-times branch July 1, 2026 11:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants