-
Notifications
You must be signed in to change notification settings - Fork 8.4k
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
Stop DoSing users with renderer errors #13995
Conversation
Good fix, love it |
Hmm your renderer change for error reporting and timeouts seem to have caused the unit tests to take 30 minutes to run I hope that they don't rely on render errors to do .. something. 😆 |
Hello @lhecker! Because this pull request has the p.s. you can customize the way I help with merging this pull request, such as holding this pull request until a specific person approves. Simply @mention me (
|
I don't understand why this change requires us to propagate a render thread to the tests. Why is that? |
I'm dumb. |
If a rendering engine constantly throws error we'll effectively denial-of-service our users by drowning them in warning popups. This commit fixes the issue by limiting the retries in all cases. Issue found in: #13985 ## Validation Steps Performed * Add a `THROW_HR(E_INVALIDARG);` in `AtlasEngine::StartPaint()` * Launch Windows Terminal * Only one warning popup shows up ✅ * Rendering is disabled until one clicks "resume" ✅ (cherry picked from commit 81e2bc9) Service-Card-Id: 85653502 Service-Version: 1.16
If a rendering engine constantly throws error we'll effectively denial-of-service our users by drowning them in warning popups. This commit fixes the issue by limiting the retries in all cases. Issue found in: #13985 ## Validation Steps Performed * Add a `THROW_HR(E_INVALIDARG);` in `AtlasEngine::StartPaint()` * Launch Windows Terminal * Only one warning popup shows up ✅ * Rendering is disabled until one clicks "resume" ✅ (cherry picked from commit 81e2bc9) Service-Card-Id: 85653502 Service-Version: 1.16 (cherry picked from commit 8f013d7)
🎉 Handy links: |
If a rendering engine constantly throws error we'll effectively
denial-of-service our users by drowning them in warning popups.
This commit fixes the issue by limiting the retries in all cases.
Issue found in: #13985
Validation Steps Performed
THROW_HR(E_INVALIDARG);
inAtlasEngine::StartPaint()