Repository navigation
Conversation
|
@blueorangutan package |
|
@Damans227 a [SL] Jenkins job has been kicked to build packages. It will be bundled with no SystemVM templates. I'll keep you posted as I make progress. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## 4.20 #14392 +/- ##
============================================
+ Coverage 16.41% 16.46% +0.04%
- Complexity 13657 13712 +55
============================================
Files 5669 5669
Lines 501628 501736 +108
Branches 60942 60961 +19
============================================
+ Hits 82336 82598 +262
+ Misses 410064 409880 -184
- Partials 9228 9258 +30
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
|
Packaging result [SF]: ✔️ el8 ✔️ el9 ✔️ el10 ✔️ debian ✔️ suse15. SL-JID 19531 |
2e2b897 to
c8b5f51
Compare
There was a problem hiding this comment.
@Damans227 let's also add a || sourceToken.isCancel(error) to the if condition of line 1248 of AutogenView.vue (the one with console.log("API request likely got cancelled due to route change" insde it), so that canceled promises do not throw an error in the console.
@Damans227 ping |
|
@JoaoJandre added it, the list view no longer throws in the console when a request is cancelled |
winterhazel
left a comment
There was a problem hiding this comment.
Looks good. I tested it in a local lab.
Fixes #14381
When you switch projects while a list page is still loading, the UI cancels the old request on purpose. The shared error handler saw a failed request with no reply and showed "canceled - Unable to reach the management server or a browser extension may be blocking the Network request." This makes the handler skip requests the UI cancelled itself, so nothing is shown. Real network errors still show the warning..
Test:
Create a project with an instance. Select the project, open Compute > Instances, then switch to Default view while the list is still loading. The lab is fast, so the instance list reply was held back 3 seconds in the browser to switch while it was still loading. The browser console shows the same cancel as the issue:
Before: from #14381:
After: no warning, only the switch message: