-
Notifications
You must be signed in to change notification settings - Fork 129
chore(frontend): cloud hotfix #3222
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
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub.
2 Skipped Deployments
💡 Enable Vercel Agent with $100 free credit for automated AI reviews |
How to use the Graphite Merge QueueAdd the label merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. |
How to use the Graphite Merge QueueAdd the label merge-queue to this PR to add it to the merge queue. You must have a Graphite account in order to use the merge queue. Sign up using this link. An organization admin has enabled the Graphite Merge Queue in this repository. Please do not merge from GitHub as this will restart CI on PRs being processed by the merge queue. This stack of pull requests is managed by Graphite. Learn more about stacking. |
commit: |
Code Review - PR #3222: chore(frontend): cloud hotfixSummaryThis PR refactors the Vercel and Railway onboarding flows in the frontend, streamlining the user experience and improving configuration management. Overall, the changes are well-structured and improve the codebase. Below are my findings across several areas. ✅ Positive Changes1. Improved Query Key SpecificityThe changes to
// frontend/src/app/data-providers/engine-data-provider.tsx:581-586
queryKey: [
{ namespace },
"runners",
"configs",
{ variant: opts?.variant }, // More specific
],Impact: This prevents unnecessary cache invalidation when unrelated properties change, improving performance. 2. Enhanced Connection Health CheckThe debouncing improvement in const [debouncedEndpoint] = useDebounceValue(endpoint, 300);
const [debouncedHeaders] = useDebounceValue(headers, 300);Impact: Prevents excessive API calls when users are typing or modifying headers. 3. New Reusable ComponentThe
4. Improved Default ValuesServerless configuration defaults are more sensible: // connect-manual-serverless-frame.tsx:163-164
slotsPerRunner: 1, // Was 25
maxRunners: 10000, // Was 1000Rationale: Better suited for serverless auto-scaling patterns.
|
Merge activity
|

No description provided.