Skip to content

Conversation

Proximyst
Copy link
Member

@Proximyst Proximyst commented Sep 18, 2025

We keep having flaky tests, showing that general server CPUs (which have lower single- & few-core performance than the CPU I use to develop) generally do not perform well enough with Chromium. This manifests for us in flaky tests, and would in practice also result in poor results for customers' reports.

In order to battle this, we'll stop waiting for each stabilisation step in order, to requiring them all to be true at once. This also adds more steps: we will now wait for queries, network requests, AND the HTML DOM to stabilise.

This does not solve the problem fully -- it is not possible to properly, fully solve. We have to strike a balance in finding "the right time" to do a print; this is the entire problem, and we've been too eager to print up until this change.

@Proximyst Proximyst self-assigned this Sep 18, 2025
Copy link

🐳 Docker image built and pushed to GitHub Container Registry.

You can pull it using:

# For the Node.js server:
docker pull ghcr.io/grafana/grafana-image-renderer:dev-pull-787-8261106e16423646e275e33dd55c4a376a549c58
# For the Go server:
docker pull ghcr.io/grafana/grafana-image-renderer:dev-pull-787-8261106e16423646e275e33dd55c4a376a549c58-golang

Warning

This is a development image and should not be used in production.
It will be automatically removed after 2 weeks.

@Proximyst Proximyst marked this pull request as ready for review September 18, 2025 09:29
@Proximyst Proximyst requested a review from a team as a code owner September 18, 2025 09:29
@Proximyst Proximyst merged commit f227614 into master Sep 18, 2025
38 of 46 checks passed
@Proximyst Proximyst deleted the mariell/improve-stability branch September 18, 2025 10:51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants