-
Notifications
You must be signed in to change notification settings - Fork 621
[Dashboard] fix: handle unreachable engine instances #6006
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
[Dashboard] fix: handle unreachable engine instances #6006
Conversation
|
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
How to use the Graphite Merge QueueAdd either label to this PR to merge it via 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. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #6006 +/- ##
=======================================
Coverage 54.79% 54.79%
=======================================
Files 1151 1151
Lines 61257 61257
Branches 5152 5152
=======================================
Hits 33565 33565
Misses 26964 26964
Partials 728 728
*This pull request uses carry forward flags. Click here to find out more. |
aa5223f to
e026c94
Compare
size-limit report 📦
|

PR-Codex overview
This PR focuses on improving error handling for engine instance permissions in the
layout.tsxandgetEngineAccessPermission.tsfiles. It modifies how errors are returned and displayed to enhance user experience when accessing engine instances.Detailed summary
layout.tsx, the condition for displaying the error page for status401is separated from500.500with a custom message.getEngineAccessPermission.ts, atry-catchblock is added around the fetch call to handle potential errors.ok: falseandstatus: 500.