Repository navigation
test(viewer): the memory cap of the office read is set from the open's and the read's measured peaks - #1540
Merged
Conversation
DrunkOnJava
marked this pull request as ready for review
November 8, 2026 23:47
DrunkOnJava
force-pushed
the
ci/viewer-memory-cap-from-measurement
branch
from
November 8, 2026 23:47
ce3c883 to
210d0c6
Compare
…s and the read's measured peaks
DrunkOnJava
force-pushed
the
ci/viewer-memory-cap-from-measurement
branch
from
November 9, 2026 00:50
210d0c6 to
26627e6
Compare
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.
Summary
parameters-row.spec.ts's office read under a capped browser hard-coded a 927 MiB cap to sit between two measured figures, the open's peak (910 MiB) and a read's (943 MiB). Any change that adds a little to the open's peak then fails the job with "Ran out of memory", which says nothing about that change being wrong: #1500's full CI failed that way. The test now measures both peaks in an uncapped browser first and sets the cap halfway between them. If there is less than 8 MiB between them it reports NOT MEASURED instead of failing. A capped open that runs out now stops at once instead of waiting 15 minutes.Testing
Full CI run 42536857781 at 210d0c6c, leg 1/3: the open's peak was 910 MiB and a read's 929 MiB, so the test chose a cap of 919 MiB. Under that cap the file opened, the read failed with the viewer's named out-of-memory message, and the test passed.