Repository navigation
test(e2e): measure the idle 3D globe only after the page rests - #610
Merged
Merged
Conversation
The relief refines for a few frames after it reports loaded. On a slow CI runner each frame takes 300-400 ms, and those frames outlasted the fixed one-second wait, failing main twice (runs 45073984924 and 45080755271: idle 3D long tasks [335, 315, 303] and [396, 404] ms) while the same commits passed on their pull requests. The guard now waits for a full second without a long task before measuring. A globe that re-renders every frame never rests, so the old freeze still fails it, now with "the page never rests" (checked by turning requestRenderMode off). 20 of 20 repeats pass with 2 workers.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Qué cambia
Antes: la guardia e2e de Territorio (T9) fallaba al azar en
main, y conmainen rojo Deploy Workers queda enskipped.Después: la guardia mide el 3D quieto recién cuando la página pasó un segundo entero sin tareas largas.
Por qué
Después de avisar que terminó de cargar, el relieve sigue refinando algunos frames. En el runner de CI cada frame cuesta de 300 a 400 ms, así que esos frames se pasaban de la espera fija de 1 s:
mainfalló dos veces seguidas (corridas 45073984924 y 45080755271, con tareas de [335, 315, 303] y [396, 404] ms), mientras los mismos commits pasaban en sus PR. Regla desipges-e2e-stabilize: medir en reposo esperando un estado, no un tiempo fijo.Cómo se probó
requestRenderMode: false(el congelamiento original de T9) la guardia sigue fallando, ahora con «the page never rests».