Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Hub RSC rewrite #3454

Merged
merged 70 commits into from
Dec 5, 2024
Merged

Hub RSC rewrite #3454

merged 70 commits into from
Dec 5, 2024

Conversation

berekuk
Copy link
Collaborator

@berekuk berekuk commented Nov 26, 2024

I'm experimenting with optimizing Hub loading performance - prefetching, loading states, and maybe some gradual migrations from Relay to RSC.

The experiments were so successful that I did the full rewrite from GraphQL to RSC and server actions :)

So, fixes #3154.

Copy link

changeset-bot bot commented Nov 26, 2024

⚠️ No Changeset found

Latest commit: 215ca10

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link

vercel bot commented Nov 26, 2024

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

Name Status Preview Updated (UTC)
quri-hub ✅ Ready (Inspect) Visit Preview Dec 5, 2024 7:16pm
3 Skipped Deployments
Name Status Preview Updated (UTC)
quri-ui ⬜️ Ignored (Inspect) Visit Preview Dec 5, 2024 7:16pm
squiggle-components ⬜️ Ignored (Inspect) Visit Preview Dec 5, 2024 7:16pm
squiggle-website ⬜️ Ignored (Inspect) Visit Preview Dec 5, 2024 7:16pm

@OAGr
Copy link
Contributor

OAGr commented Dec 3, 2024

I think this is having trouble with Squiggle AI at the moment.

Example error in logs:

Unhandled Rejection: Error [PrismaClientKnownRequestError]:
Invalid prisma.aiWorkflow.update() invocation:

An operation failed because it depends on one or more records that were required but not found. Record to update not found.
at $n.handleRequestError (/var/task/node_modules/.pnpm/@prisma[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:121:7315)
at $n.handleAndLogRequestError (/var/task/node_modules/.pnpm/@prisma[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:121:6623)
at $n.request (/var/task/node_modules/.pnpm/@prisma[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:121:6307)
at async l (/var/task/node_modules/.pnpm/@prisma[email protected][email protected]/node_modules/@prisma/client/runtime/library.js:130:9633)
at async l (/var/task/packages/hub/.next/server/app/ai/api/create/route.js:1:4300) {
code: 'P2025',
clientVersion: '5.22.0',
meta: [Object]
}
Node.js process exited with exit status: 128. The logs above can help with debugging the issue.

@berekuk berekuk merged commit 1ddd150 into main Dec 5, 2024
6 checks passed
@berekuk berekuk deleted the hub-optimizations branch December 5, 2024 19:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Migrate Squiggle Hub to server components
2 participants